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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
Not sure exactly what you’re referring to, but you can pretty much change everything about your keyboard layout with kmonad and keyd
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.)
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).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.)
I sincerely hope it works for you! That
--no-config
flag tellslocalectl
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).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