Linked Questions

0
votes
0answers
33 views

How to define “Right”-key as Control with xkb? [duplicate]

I would like to use the "right" cursor-key as right Ctrl-key on my notebook keyboard. (I'm using the koy-layout – so the idea is not as stupid as it might look at a first glance.) I tried to do add ...
8
votes
3answers
7k views

how to assign another modifier to Alt key for X11?

Aim: I would like to assign Alt to CapsLock-key, and Meta to Alt-key. But in such way, Alt-key would no longer be recognized as Alt, and CapsLock-key would no longer be recognized as CapsLock. ...
10
votes
3answers
1k views

Turn off Caps lock when Escape is pressed

Is there any way to disable CapsLock whenever Esc is pressed. Yes, I use VIM! I actually have an alternative all-caps keyboard layout on Ctrl-6 but I find it cumbersome and would prefer to just have ...
3
votes
1answer
2k views

Adding custom setxkbmap options

Use setxkbmap to swap the Left Shift and Left Control describes how to swap some modifier keys with xkbcomp. However, I'd like to just add a custom setxkbmap option instead of using xkbcomp with a ...
2
votes
2answers
497 views

How to make xkb settings stick after restart [duplicate]

I'm running Ubuntu 15.10. I'm running the following command in the terminal to swap the left Alt and left Control keys: setxkbmap -option ctrl:swap_lalt_lctl. It works, but as soon as I reboot It's ...
2
votes
0answers
812 views

xkbmap remap PrtScr and Insert Keys to Home and Escape

I've been fumbling with xkbmap for a while, and I can't figure out how to remap the Print Screen button to Home. It's as if the us keymap just doesn't mention the PRSC key code at all. I can't use ...
0
votes
0answers
602 views

mapping command key to esc in linux

I recently installed linux on my Macbook Pro and I'm currently configuring it. Since I'm a Vim user, I use Esc key a lot. So I map esc key to right Command key and map right Command key to use it ...
3
votes
0answers
402 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 <...
0
votes
0answers
63 views

Keyboard remap: home → comma, end → dot

I'm trying to change xkb settings in this file: /usr/share/X11/xkb/keycodes/evdev. Specifically, I tried this: // <AB08> = 59; // <AB09> = 60; // <HOME> = 110; // &...
1
vote
0answers
37 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 ...
0
votes
1answer
20 views

Turn multimedia keys into home/end/pageup/pagedown

I have a lenovo thinkpad where FN+arrow keys is mapped to multimedia keys. For consistency with my other laptops I would like these instead to map to home, end, page-up and page-down. I am running ...