Questions tagged [xmodmap]
xmodmap is a tool for manipulating keymaps and pointer button mappings in the Xorg environment.
256 questions
1
vote
4
answers
123
views
How to remap keys (menu to super) permanently globally in default xorg settings
If I remap keys for user with xmodmap
xmodmap -e "keycode 135 = Super_R"
settings disappear and stop working after some time or when I reconnect keyboard.
So I'm looking for permanent ...
0
votes
0
answers
30
views
Keys behaving differently when copying Xmodmap from Arch to Kali
I have copied my keyboard config(.Xmodmap file) from arch to kali. It is sourced in .xsessions and some keys work fine.
However some keys are not good, for example I use the first letter row of the ...
0
votes
0
answers
60
views
How can I use xmodmap to remap keys when I have language layouts interfering?
I want to remap my "Alt+ijkl" keys to "up,left,down,right", but when I look for my key mappings with xmodmap -pke I get :
keycode 31 = i I Cyrillic_sha Cyrillic_SHA rightarrow ...
2
votes
0
answers
60
views
Problem when remapping caps lock to escape using xmodmap
I am using arch linux.I made some key modifications and one of them is caps lock to escape (this is why i used xmodmap instead of the setxkbmap one line swap escape) the problem is when adding "...
1
vote
0
answers
128
views
Remapping keypad keys with xkb
TL;DR I have a configuration for remapping keys in xkb, which I think should work. setxkbmap reads it without error, but there's no effect.
I'm trying to remap my numpad keys to navigation keys. I ...
0
votes
1
answer
969
views
How to find the keycodes for remapping Control and Super keys using xmodmap on X11
I am trying to swap my Super_L and Control_L keys on my keyboard. I determine the keycodes for remapping these keys using xev, showkey, and xmodmap itself. They provide me different keycodes but none ...
2
votes
0
answers
63
views
Setting modifier using xmodmap
I am using GNU/Linux (Devuan) with the mate desktop and with i3wm.
I would like to assign mod1 to Meta_L. If I show the current assignment with
$ xmodmap
I get
mod1 Alt_L (0x40), Meta_L (0xcd)...
1
vote
0
answers
93
views
keyboard FN keys send ctrl+a, ctrl+c, ctrl+v instead of unique events
I have a keyboard whose F2, F3, F4 keys send ctrl+a, ctrl+c, ctrl+v events respectively instead of a unique keycode which could be remapped easily using xmodmap keycode mapping.
My goal is to use the ...
0
votes
0
answers
82
views
Mapping upper left esc key to fn
Is it possible to map the upper left esc key to fn? How?
Apparently xmodmap is deprecated and you should use something like setxkbmap instead.
I tried something like:
xmodmap -e "keycode 1 = 464&...
1
vote
1
answer
676
views
How to remap keys to work with KVM switch
I have a KVM switch for which the hot-key is <scroll lock> <scroll lock>. The hot key lets me switch the keyboard, video and mouse from a Windows machine to a Linux machine, but not vice-...
2
votes
2
answers
3k
views
How to remap a regular key into a modifier key (Shift...) in Linux
On my new laptop keyboard, there's a strange key next to my shift key. Frankly it's useless to me and having a shorter shift key doesn't let me reach some of the combinations that I was used to. I'd ...
0
votes
1
answer
58
views
Is it possible to change Alt_R+8 = bracketleft to Alt_L+8 = bracketleft
When pressing Alt_R+8 it prints XKeysymToKeycode returns keycode: 34 and I started to wonder if it's possible to emulate this with different key combo.
It's a pain to output brackets using right alt ...
1
vote
1
answer
120
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
613
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
0
answers
340
views
Xmodmap not working and changes not being register outside XEV
I am noob, so I'm a little overwhelmed by all of this. I am using manjaro.
What I am trying to do is to remap the greater and less keys to the position of the colon and period since the keyboard I use ...