Questions tagged [setxkbmap]
The setxkbmap tag has no usage guidance.
20
questions
1
vote
0
answers
30
views
How to set Caps Lock as Hyper (and change modifiers) using xkb?
This is currently my .xsessionrc file:
xmodmap -e "remove Mod4 = Hyper_L" -e "add Mod3 = Hyper_L" -e "lock = Hyper_L" -e "keysym Caps_Lock = Hyper_L" &
...
0
votes
0
answers
12
views
How to assign dot symbol for the numpad del key in the KDE (X11) permanently?
I use the KDE Plasma with X11 on my laptop. And I set up two keyboard layouts in the KDE settings: US English and Russian. I'd like to assign the dot symbol for the numpad Del key. I found the ...
0
votes
0
answers
15
views
How to sync the system's keyboard layout with X in Debian?
I installed a Debian machine using the Expert Installer, I've setup my keyboard layout at the installation process. Now I've installed Xorg and I want the very same layout to be applied using ...
1
vote
1
answer
18
views
implicit types in xkb
The keymap source (in .xkb format) of the current XKB configuration can be obtained by running xkbcomp $DISPLAY -. Mapping to keysyms is done in the xkb_symbols section of this file. Some of the ...
0
votes
0
answers
33
views
xkb: Why is the compose key set to NoSymbol after a system update (OpenSuSE 15.2 → 15.3)?
After upgrading my OpenSuSE Leap from 15.2 to 15.3, I found out that the Compose key (keycode: 135) was no longer working. In fact, xev no longer recognised it as Multi_key, but as NoSymbol:
KeyPress ...
0
votes
0
answers
80
views
`setxkbmap` option stops working after plugging an external monitor
I've been having this rather annoying problem that I would like to at least understand.
I have a laptop (Dell XPS 15 from 2017) with a spanish keyboard layout. I then have a usb c hub that connects it ...
0
votes
0
answers
24
views
How to print currently assigned key code table for xkb, such that it can be modified and used with `setxkbmap`?
I have a mobile presenter device, which acts like a small keyboard. It has a little laser pointer and allows you to hold a presentation and flip to the next slide while standing on a stage or podium.
...
0
votes
0
answers
104
views
Set r_ctrl to super using setxkbmap
Need to make my right ctrl act as a windows/super key. This needs to be a one-way change, I do not want to also swap my left windows key to control, I want to have two super keys, one on each side.
I'...
1
vote
1
answer
51
views
Remap Caps Lock generate Left and Right
I'm trying to get Caps Lock to generate Left and Shift+Caps Lock to generate Right. I would like other modifiers (not Shift) to be passed through unchanged.
I have a new laptop with tiny arrow keys ...
0
votes
0
answers
82
views
how to set keyboard layout from custom file, without root permissions?
I know that there is a lot of questions on stack exchange around this subject, but none of the answer solved my use case. This is not a duplicate !
I have created a custom layout file (~/beprog). It ...
2
votes
1
answer
171
views
Setting CAPS_LOCK + arrows to Home, PgUp, PgDown, End in xkb
I'm trying to set some CapsLock + arrows keybindings in xkb
Using ArchLinux, KDE, Xorg
What I'm trying to achieve (wishful thinking)
Ultimately, the perfect solution would be
No modifier
CapsLock as ...
0
votes
1
answer
71
views
Custom XKB layout before login
I have made a custom keyboard layout with XKB, but when I type my password on the login screen, the system still uses a QWERTY layout, only after the login my customized layout is applied. Is it ...
2
votes
3
answers
233
views
XKB not recognizing my custom layout
I created a custom keyboard layout (the file is called “brc”) based on Colemak for my Lubuntu 18.04, and copied it to /usr/share/X11/xkb/symbols:
default partial
xkb_symbols "basic" {
...
5
votes
2
answers
248
views
Wrong keyboard layout even though everything in the OS seem to report correct/wanted layout - e.g. åäö becomes [';
I installed Manjaro 21.x (don't remember exact version) a few months back and I chose the Gnome flavor. As per usual I set up my OS to have two keyboard layouts (US and SE) and life was great. Then ...
0
votes
1
answer
57
views
Reassigning Right_Control from control modifier key to mod3 without using xmodmap
I am doing a task that is taking me longer than expected as xmodmap cannot be combined with other commands such as setxkbmap and so on.
My goal is to change Right_Control key from been assigned on ...
4
votes
0
answers
180
views
How to map a sequence of keys to <dead_greek>?
I have mapped Insert to Multi_key (also known as Compose) so I can input ä or µ. I've used xmodmap -e 'keycode 118 = Multi_key' in my wm init script.
Now, checking /usr/share/X11/locale/en_US.UTF-8/...
0
votes
1
answer
817
views
How to map compose key to insert via setxkbmap?
I'm using US (non-international) layout. One way of typing üäöß is setting a compose key via:
setxkbmap -layout us -option compose:ralt
Unfortunately, this removes the normal "alt" ...
1
vote
0
answers
76
views
Keyboard conf at `/etc/profile` does not work
This is a script that I can source or run to setup my keyboard layout:
#!/bin/bash
# Testing to only apply the layout to Kinesis keyboard.
# Get Device ID with: `xinput -list | grep -i key
debug_out=/...
0
votes
1
answer
2k
views
How do I fix exit code 1 for a systemd service running inputplug?
I want to set up a systemd service to set my custom keymap when my bluetooth keyboard is plugged. I am using inputplug, as suggested here.
Since I need to have an executable command containing no ...
1
vote
0
answers
114
views
Why does setxkbmap on a single device also change other devices?
I am running Ubuntu on a Thinkpad laptop with an external keyboard linked up. The laptop keyboard has a GB layout and the external has a US layout.
First, I output a list of the connected devices (I'...