All Questions

Tagged with
14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
699 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 <...
Eric's user avatar
  • 61
3 votes
0 answers
626 views

How can I fully cuztomize my keyboard modifiers in xkb?

I am using a ThinkPad laptop with Arch Linux, and I am looking into the possibilities of remapping my keyboard layout + modifiers. What I want to do is similar to what you can do with the QMK firmware ...
mama's user avatar
  • 89
2 votes
1 answer
523 views

XKB Layout with Caps modifier, some combinations conflicting with other modifiers

I created a custom keyboard layout in xkb format to simulate arrow keys and put it in /usr/share/X11/xkb/symbols/custom: xkb_symbols { name[Group1]= "English (US) with Caps mod"; ...
ghillb's user avatar
  • 121
2 votes
0 answers
124 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 ...
Greggore's user avatar
2 votes
0 answers
251 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 ...
manny's user avatar
  • 21
1 vote
0 answers
129 views

Adding a single keycode to the existing XKB configuration

I have a MECHREV laptop, /sys/class/dmi/id/product_name "Jiaolong Series GM5ZG0O". Its keyboard has a button for toggling trackpad on/off. However this key emits keycode 93 which is not ...
SnakE's user avatar
  • 151
1 vote
0 answers
258 views

Make xkb produce two symbols on one key press (e.g. make `ctrl`+`+` & `ctrl`+`=` produce same (combined) effect to get rid of `Shift` for zooming in)

Some apps use ctrl++ and some ctrl+= to zoom in. Only some allow to customize. If all used same, I would just remap the keyboard not to use Shift. Can I make apps receive signals that both ...
Martian2020's user avatar
  • 1,167
1 vote
0 answers
464 views

How to swap the XF86MonBrightnessUp and F2 key using a custom XKB layout?

I want to swap "two" keys, the XF86MonBrightnessUp ("brightness up") and the F2 keys, using an xkb layout. The keys are both under the same button, "F2". If the keyboard ...
Aspiring Dev's user avatar
1 vote
0 answers
296 views

xkb rebind Capslock + shift + hjkl to same behaviour as arrowkeys + shift

A long time ago I rebound my capslock + hjkl to essentially work as if they were arrow keys in the xkb config file. key <CAPS> { [ ISO_Level5_Shift, ISO_Level5_Shift, ISO_Level5_Shift, ...
Vlad's user avatar
  • 11
1 vote
0 answers
515 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 ...
Ashesh's user avatar
  • 121
1 vote
0 answers
60 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 ...
Erotemic's user avatar
  • 123
1 vote
3 answers
405 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 ...
carloabelli's user avatar
0 votes
0 answers
57 views

Is it possible to have several actions for a single keycode in XKB keymap?

In XKB (X keyboard extension), it seems to me only one Action max is possible for any keysym: There is zero or one key action associated with each keysym bound to each key. https://www.x.org/releases/...
bam's user avatar
  • 26
0 votes
1 answer
1k 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 ...
SanjiBukai's user avatar