xmodmap is a tool for manipulating keymaps and pointer button mappings in the Xorg environment.

learn more… | top users | synonyms

1
vote
1answer
550 views

Determining keycode assignments for X.org on a PC

At some point around late 2008 to early 2009, some keycode values (apparently, for the keys that weren't on an XT keyboard) on a standard PC keyboard when running X.org under Linux changed. I don't ...
1
vote
1answer
73 views

Using xcape + xmodmap to change some keys

Using xcape and xmodmap, how does one Make the CAPSLOCK key behave as a SUPER modifier key when pressed in conjunction w/another key. Make the CAPSLOCK key function as the ESCAPE key when pressed ...
1
vote
1answer
35 views

Remapping WASD + R_Shift to arrows

I know this has already been asked so many times, but even after searching, I still can't do it. I simply want to map R_Shift + WASD to the arrow keys (Linux). I can map Shift + WASD to arrows using ...
1
vote
1answer
41 views

How to add additional control key?

I am using xkb to add an additional control key as follows: key <HENK> { [ Control_R ] }; However, it does not work. I even tried xmodmap without success: xmodmap -e ...
1
vote
1answer
306 views

xmodmap configuration reset after time

I wrote a simple layout changing configuration for xmodmap (Caps/Ctrl swap, and such) and stored the config to $HOME/.Xmodmap. When I run xmodmap ~/.Xmodmap everything works fine, the layout is ...
1
vote
1answer
89 views

Is there a way to bind TAB so that it outputs 2 space characters?

Is there a way to bind TAB so that it outputs 2 space characters? I know you can do this in a text editor like Vim, but I wanted to carry over this functionality to cat >>.
1
vote
0answers
12 views

execute command on pointer movement, wait and revert?

I've got two pointing devices (touchpad and trackpoint) and the goal is to execute a command when movement (any direction, any distance) is detected on the trackpoint, then wait a configurable amount ...
1
vote
0answers
27 views

is this a keyboard hardware limitation?

I have remapped Caps_Lock to Ctrl_L on an ancient mechanical keyboard. It is still impossible to use the caps lock key to produce key combinations like C-e. xev shows the following sequences are ...
1
vote
0answers
15 views

Remap Keys for ALL layouts

I put xmodmap -e 'keycode 97 = backslash' into a script that is executed at startup. My hardware is a Japanese keyboard, so it lacks some keys and has some extra ones and I am trying remap some of the ...
1
vote
0answers
64 views

Swap CapsLock and Control using xmodmap (man page solution does not work)

I have just upgraded from Fedora 14 with Gnome desktop to Fedora 20 with Mate desktop. Under F14, I previously swapped CapsLock with Control_Left, and Alt_Right with Control_Right. These I did by ...
1
vote
1answer
57 views

S-M-* commands aren't recognized by Emacs

I've noticed commands like M-> (end-of-buffer) and M-S-<right arrow> (org-meta-right) aren't being recognized by Emacs. This was confirmed by describing key bindings using C-h k, which showed ...
1
vote
0answers
70 views

dead key after switching two keys with xmodmap

My keyboard switches the (German) keys [^] and [<], so I want to switch the two keys. I identified the keycodes using xev and created a file ~/.xmodmap containing keycode 94 = asciicircum degree ...
1
vote
1answer
164 views

How to bind super key to Ctrl+Shift using xmodmap?

I have read the xmodmap documentation. I could only find information on how to bind one key to another. How do I bind one modifier key to a combination of other modifier keys? Can I do this using ...
1
vote
0answers
107 views

xmodmap hanging the system for 20 secs and not sticking

I edited the keyboard map using xmodmap as per https://wiki.archlinux.org/index.php/Xmodmap, and I have two problems: executing xmodmap ~/.Xmodmap completely hangs the system for 15-25secs, which ...
1
vote
0answers
43 views

I want to make both Control keys as a Super key

I want to make both Control_L and Control_R as a Super key (Windows Key). Is this possible? I only made Control_R as a Super key but I could not make Control_L. Here is what I done. xmodmap -e ...
1
vote
1answer
163 views

xmodmap causes incorrect keyboard shortcuts

I used xmodmap to switch the Caps Lock and Ctrl keys on my Thinkpad X120e. The keys are swapped but this has caused keyboard shortcuts in several applications to stop working correctly. In Libre ...
1
vote
0answers
428 views

OpenSUSE - Apple Wireless Keyboard - Switch “fn” and “ctrl” key?

I'm trying to configure the Apple Keyboard so that the "fn" key and the "ctrl" key are swapped. So far I swapped the "cmd" and "alt" key, the "°" and "<" key using xmodmap. Information for that can ...
1
vote
0answers
216 views

xmodmap configuration to emulate Mac special key layout?

On my Mac, I frequently type curly quotes manually. For example, a left curly double quote is Option-[. I would like to do the same on my Linux box. I run vanilla X11 (FVWM) with no GNOME, KDE, etc. ...
1
vote
0answers
2k views

xfce swap command and control keys

What is the equivalent of this in Debian XFCE?: Go into System -> Preferences -> Keyboard Click on the "Layouts" tab and then click the "Layout Options" button. Click on "Alt/Win key ...
0
votes
1answer
433 views

Xmodmap on bashrc not working [duplicate]

Possible Duplicate: Why won’t my xmodmap command run on startup/login? I have my .bashrc file with the three following commands: xmodmap ~/.xmodmap synclient TapButton2=2 synclient ...
0
votes
1answer
544 views

Weird problem. My left arrow key is not working and sometimes muting sound

My left arrow key is not working as intended. In KDE, it mutes the sound. In Awesome Window manager, it does nothing. Here's my 00-keyboard.conf file : I have tired to comment out XkbModel, ...
0
votes
1answer
174 views

Is it possible to bind a shell script to a key press [duplicate]

I used xev to find the key code for fn-f5 and came up with a little script to toggle the bluetooth on or off. My question is whether it's possible to bind fn-f5 (keycode 246) to my shell script ...