this post was submitted on 28 Jan 2024
475 points (97.4% liked)
Programmer Humor
19623 readers
1 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
As someone using Wayland I can confirm it's indeed not a hot a mess
Okay, but that would have made a shitty joke wouldn't it?
Hmm.. I don't know maybe it's fine as a joke.
Can I use AwesomeWM, XMonad, or StumpWM on Wayland?
Can I run a GUI program over ssh?
Does it support the X selection and clipboard protocols?
(These are not rhetorical questions, I'm really asking.)
No you cannot run any of those WMs, some of those do have ports with varying degrees of completeness but only sway(i3) and hyprland(hypr) are ready for prime time.
Yes, using waypipe
Yes, primary selection does work along with Ctrl+c although as others have mentioned it forgets when the app you copied from gets closed
Can you run macos software on linux?
This is more of a why would you... Although, waypipe
Too lazy to google, but overall clipboard works as expected, both C-c and text selection. I remember experiencing problems with clipboards in vim (like 2 yrs ago) which were fixed by switching to nvim
Wayland only keeps the clipboard until the application exits. This means a clipboard manager is basically a requirement. Iirc desktop environments might solve those issues by default, but on a standalone compositor just add a clipboard manager and enjoy the history.
Correct, yet I personally don't find it too useful and sometimes harmful when dealing with, for example, password managers
I've added a keybind for deleting history, but it'd be great to have a way to specify short lived clipboard entries. But this might also be one of those standards that no one implements.
Seconded. Although that very much depends on the compositor of choice: I've been trying out a few new shiny things (well, pinnacle, strata, buddaraysh), and they aren't exactly usable rn. With the exception of the latter one, probably (since the author claims to use it), but I haven't been able to start it so far... On the other hand, major players like hyprland and sway work perfectly fine on my machine :tm
I'm on KWin Wayland, it also works great. I actually never noticed that I was switched from X11 to Wayland when I reinstalled Debian.
I personally run sway. I was really looking forward to kiwmi but that project looks dead
OK cool. When will it support nVidia?
Wayland compositors run entirely in userspace and do not interact directly with hardware drivers. If Wayland doesn't work on nVidia but X does, it's a Wayland problem.
Compositors do directly interact with the drivers though. The reason Wayland doesn't work on Nvidia is because Wayland uses an API called GBM(generic buffer management) to draw directly to the Linux VT. The Nvidia drivers don't implement that API, the API that both AMD and Intel drivers support. It very much IS an Nvidia problem and not the other way around. Nvidia tried to convince all the Wayland developers to use EGLStreams instead but no other drivers use(or even support) that API, everyone agreed on GBM except Nvidia. That's not Wayland's problem.
Iirc Nvidia also skipped the initial meetings that AMD and Intel attended, where it was decided they would move forward with GBM
Amusing video covering this topic https://www.youtube.com/watch?v=5VGMdLAKQ0c