this post was submitted on 05 Feb 2025
70 points (97.3% liked)

Linux

49658 readers
602 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

So a bit under 3 years ago, I made my infamous Wayland rant post that is likely the most read post on this blog by miles. I should really actually write about music again one of these days, but that's a topic for another time. The language was perhaps a bit inflammatory, but I felt the criticisms I made at the time were fair. It was primarily born out some frustrations I had with the entire ecosystem, and it was not like I was the only sole voice. There are other people out there you can find that encountered their own unique Wayland problems and wrote about it.

With that post, I probably cast myself as some anti-Wayland guy which is my own doing, but I promise you that is not the case. You can check my mpv commits, and it's businesses as usual. Lots of Wayland fixes, features, and all that good stuff. Quite some time has passed since then, and it is really overdue look at the situation again with all the new developments in mind. To be frank, my original post is very outdated and it is not fair to leave it up in its current state without acknowledging the work that has been done. So in comparison to 3 years ago, I have a much more positive outlook now.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 12 hours ago (3 children)

As someone who hasn't yet moved to Wayland, how good is support these days for alternate keyboard mappings? Is this something that each individual window manager needs to support, or does Wayland itself manage them?

Not just "international keyboard" support, but truly arbitrary keyboard/symbol mapping support. I muddle in programming with APL, which needs its own key mapping with Unicode symbols.

I recall KDE had its own mapping support which used some system APL layout but I'd rather not have key mappings tied to a specific window manager.

[–] [email protected] 2 points 8 hours ago (1 children)

Not sure exactly what you’re referring to, but you can pretty much change everything about your keyboard layout with kmonad and keyd

[–] [email protected] 1 points 8 hours ago

I'll look into those, thank you!

(I currently set up my APL keymap via .Xmodmap with xmodmap, and setxkbmap for X11 terms, and with 'loadkeys' for console.)

[–] [email protected] 4 points 12 hours ago (1 children)

I'm not sure I fully understood what you said, but I have messed around with changing layouts, as I use Colemak. It's really annoying to have GDM or SDDM default to QWERTY.

The "correct" way to do it is to use localectl [--no-convert] set-x11-keymap us,us "" colemak, grp:win_space_toggle, and that changes the relevant config files. So, Wayland is pulling from X11 configs (I think).

[–] [email protected] 3 points 10 hours ago* (last edited 10 hours ago) (1 children)

Great info! I will try it when I decide to trial-run Wayland again, thank you!

(Some things I had read online suggested that Wayland did not use the x11 configs. If it does, that's good news.)

[–] [email protected] 3 points 9 hours ago

I sincerely hope it works for you! That --no-config flag tells localectl not to change the layout for the TTY consoles, and it might be important to include for systems with encryption (I don't understand why, just something I saw when reading on the Arch wiki).

[–] [email protected] 6 points 12 hours ago

I use Wayland exclusively, but unfortunately I don't think I have an answer for you since I'm not entirely familiar with this idea. Is your concern just for the configuration of a universal set of hotkeys configured within the compositor rather than a desktop environment?

I wasn't aware that x11 facilitated this. I'd have figured keyboard mappings are abstracted from the compositor and left to the DE to handle, aside from core binds that allow dropping back to tty