All Questions

Tagged with
Filter by
Sorted by
Tagged with
33
votes
2answers
22k views

Other than Alt + Shift to switch keyboard layout, any other Xorg key combinations?

All I can find about XkbOptions was: Option "XKbOptions" "grp:alt_shift_toggle" Seems I can only use alt+shift combination to switch keyboard layout, any other keys that I can use ?
27
votes
5answers
17k views

Swap alt and super

I have a Macbook Air that runs Linux. I want to swap the alt and super keys in both sides of the keyboard with each other. How do I do this with cli tools? Update Following Drav Sloan's answer I ...
7
votes
2answers
2k views

Fully Disable PrntScr Key

I recently came across a Linux feature I have never seen before, where pressing the PrntScr button on the keyboard prints a physical piece of paper with the contents of my console. I really need to ...
4
votes
2answers
1k views

How to make AltGr+i,j,k,l work properly as cursor keys?

(I already asked this question on superuser but got no answer so I'll try here now.) I would like to have the cursor keys and some others available as AltGr+c,h,t,n etc. (i,j,k,l if you have qwerty). ...
4
votes
1answer
2k views

Mapping AltGr to left control

I mapped my AltGr key to Ctrl with the following command: setxkbmap -option ctrl:ralt_rctrl However, when displaying the bindings with xmodmap -pke I can see that the keycode is associated to ...
4
votes
0answers
408 views

replace menu key with capslock and capslock with left control using xkb

I followed the instruction here by defining my own xkbsymbols (Use setxkbmap to swap the Left Shift and Left Control) partial modifier_keys xkb_symbols "replace_Menu_Capslock" { replace key <...
2
votes
0answers
65 views

Xkb to replace § in the Slovak keyboard layout to ď/Ď

I want to replace § in the Slovak keyboard layout (it's currently ' - the first key to the right from my right pinky finger) on the English keyboard or keycode 48 on most keyboards) with the more ...
2
votes
0answers
226 views

xkbcomp doesn't update keymap for running xterms?

When I use setxkbmap all programs use the new layout but when I change the keyboard layout with xkbcomp to my own only newly started programs are affected (using xkbcomp with a file with a default ...
1
vote
1answer
129 views

Why grp:lctrl_lshift_toggle still keeps right keys as switch triggers?

I ran the following command in my terminal: setxkbmap -layout us,ru -option "grp:lctrl_lshift_toggle,ctrl:nocaps" but for some reason, the effect is the same if I specified "grp:ctrl_shift_toggle" - ...
1
vote
0answers
96 views

XKB: Hyper_L and Hyper_R

I'm running XMonad as my WM and I've been very inspired by this Youtube video. In short, what I'd like to achieve is having my right \ key when pressed continually, act as a Hyper_R and the left Tab ...
1
vote
0answers
42 views

Cant remap L_shift to L_control unless I remap L_control to something else in xkb

I want to remap my caps lock to shift and my left shift to control, but I want to leave my current left control untouched and also working as a control. Following the advice in this question Use ...
1
vote
1answer
118 views

shift:both_capslock disables normal shift behavior

I set the xkb option shift:both_capslock (because I also use caps:escape) but this seems to have disabled the normal behavior of the shift key. How can I get that normal behavior back while still ...
0
votes
1answer
91 views

Can I create additional keyboard shortcuts inside xkbconfig that switch to a particular language, instead of cycling?

My current keyboard config is quite complex, but the relevant line is: setxkbmap -option -option 'grp:rshift_toggle, compose:rctrl' dmru,ru,ua & Rshift now cycles through dmru, ru, and ua. ...
0
votes
0answers
212 views

How to have multipl 'level 3' modifier using xkb

I'm trying to improve my keyboard layout using xkb and it worked great using the default 4 levels (or should I say 2 levels? I don't really know the terms.. And when I'm at opening a parenthesis, I ...
-1
votes
0answers
13 views

Remapping keys for Stinky Footboard

So I have purchased a Stinky Footboard and wish to remap the keys so that when I press forward, back etc it will instead press the wasd keys or whatever I might want to set it to. I had a stroke so I'...