Questions tagged [setxkbmap]
The setxkbmap tag has no summary.
40 questions
2 votes
1 answer
92 views
modify us keyboard layout to remap some keys
The goal is to have the following remaps working globally : alt+y should send ctrl+c alt+p should send ctrl+v alt+backspace should send ctrl+backspace What I am thinking about is to create a copy of ...
0 votes
1 answer
208 views
Swapping Ctrl, Win, and Alt in MX Linux (Xfce) – Issue with Alt Modifier
I'm using MX Linux with Xfce and trying to swap three keys: Ctrl → Win (Super) Win → Alt Alt → Ctrl Swapping two keys at a time works using setxkbmap, for example: setxkbmap -option ctrl:...
0 votes
1 answer
145 views
How do I create a per user xkb keymap?
It is possible to create your own custom xkb maps by adding files to /usr/share/X11/xkb/symbols. However, this directory is managed my dpkg and requires root access. Is there a way of placing a keymap ...
0 votes
0 answers
64 views
Prevent keyboard layout from being changed
For some reason my keyboard layout occasionally switches to another language. Is there a way to prevent other software from changing my keyboard layout? I can run... setxkbmap de ...to fix it, but it ...
0 votes
1 answer
149 views
Remap Right Alt to Backspace
As the title says how can I remap Right Alt to Backspace? I am on X11 I am aware that something can be done using setxkbmap but I not aware of the command for my particular case.
1 vote
1 answer
287 views
`setxkbmap kr` not doing anything?
I'm trying to add a configuration to my multilingual setup on my ArchLinux desktop, but Korean doesn't seem to do anything, despite it being listed under setxkbmap. How do I set it up similarly to ...
1 vote
1 answer
104 views
XKB spec says 63 levels max per type. For me it's 8. What am I doing wrong?
X.org version: 1.21.1.7 Distribution: Kubuntu 23.04 I duplicated the included EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK type, inserted an additional level as Level1, and shifted all existing levels by +1....
1 vote
0 answers
121 views
xkb: how can `modifier_map` be completely replaced
When defining a custom keyboard layout with xkb, how can I completely override a modifier? E.g. when I have xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types ...
0 votes
1 answer
333 views
How to translate setxkbmap to xinitrc config
I am setting my keyboard layout using this command on every startup: setxkbmap us,cz -variant ,ucw -option grp:caps_switch How can I write this configuration in to xinitrc file so xserver loads it ...
1 vote
1 answer
141 views
setxkbmap and xmodmap often stop working
I have a script to: Set the keyboard layout to include accents Set capslock as mod when held Set capslock as escape when pressed It looks like this: setxkbmap -rules evdev -model evdev -layout us -...
1 vote
1 answer
639 views
Map <C-S-A-hjkl> to Arrow Keys with XKB Map
I'm trying to also have access to my arrow keys from the default Vim hjkl. Since CtrlShiftAlt seems to be a rare key combo, I was thinking about using that. How would I do that using setxkbmap (or ...
1 vote
1 answer
9k views
WARNING: Running setxkbmap against an XWayland server
I'm using Fedora 37, tilix terminal emulator with fish shell. Whenever I open a terminal, I get the warning WARNING: Running setxkbmap against an XWayland server How come? How to avoid it?
0 votes
2 answers
506 views
Map Caps Lock to AltGr and Escape - why does setxkbmap silence xcape daemon?
I'm on a 20.04 Ubuntu machine. I've been trying to use a combination of setxkmap and xcape to map AltGr and escape onto my caps-lock key, where a quick key press acts as escape and a longer key press ...
1 vote
0 answers
586 views
How to set keyboard layout and keep configuration?
I changed from gnome to i3wm and now everytime I log in to my computer the keyboard layout is set to english (my keyboard is spanish). I was able to change it with this command but just for the ...
0 votes
0 answers
226 views
xkb swap backslash and return: how to deal with shift?
I'm trying to swap Enter and Backslash key. I figured out how to swap them when Shift is not involved: key < RTRN > {[ backslash ]}; key < BKSL > {[ Return ]}; However, when shift is down, ...