Summary: | Document how to change the keyboard map / keymap / key layout on wayland / kwayland / plasma-wayland | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Shlomi Fish <shlomif> |
Component: | general | Assignee: | David Edmundson <kde> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | herzenschein, nate, plasma-bugs |
Priority: | NOR | Keywords: | wayland |
Version: | 5.20.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Shlomi Fish
2020-11-13 07:01:31 UTC
What do you want exactly? * Just switching the keyboard layout? * Switching the keyboard layout via terminal? * Creating a custom keyboard layout? If it's just switching the keyboard layout, that can be done by adding one in System Settings > Input devices > Keyboard. Then there should be a new widget on your tray + a keyboard shortcut to switch at will (Ctrl+Alt+K). Hi Thiago! Thanks for the reply. (In reply to Thiago Sueto from comment #1) > What do you want exactly? > * Just switching the keyboard layout? > * Switching the keyboard layout via terminal? Yes, I want to switch the xkbmap / keyboard layout, either from the terminal or programatically (by writing C++ code/etc.) and to the one I desire it to be (= us+il+compose key) *and* on wayland. > * Creating a custom keyboard layout? > > If it's just switching the keyboard layout, that can be done by adding one > in System Settings > Input devices > Keyboard. Then there should be a new > widget on your tray + a keyboard shortcut to switch at will (Ctrl+Alt+K). I'd rather not use a gui for that because it will mean i'll have to perform it time and time again in every new unix user, virtual machine, or new computer. XKB is an upstream project and no KDE code is needed to switch XKB settings; such tools are already built into XKB and its command-line utilities. I would recommend reading the manpage for xkbcli. |