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

learn more… | top users | synonyms

14
votes
1answer
755 views

Keymapping problem when working with Emacs and Openbox

I have an Apple keyboard and I had to do some remapping of the keys to make the mod-4 key the first key to the left of the Space bar for when working with Emacs. The below script worked fine when I ...
6
votes
1answer
295 views

Remapping power key to delete

I have a macbook pro running Ubuntu 13.10 with FluxBox. Unfortunately, the power button is physically above the backspace where I would expect the delete key to be in. In OS X, the PowerKey program ...
1
vote
1answer
102 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
1answer
144 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 ...
4
votes
0answers
41 views

Convert UTF-8 character to xmodmap name

Is there a way of converting a UTF-8 character to its corresponding xmodmap name? So if the input is ” the output would be rightdoublequotemark.
3
votes
0answers
23 views

Mode_switch + Shift not the same as Shift + Mode_Switch?

I've this in my ~/.Xmodmap: keycode 47 = Mode_switch NoSymbol Mode_switch keycode 25 = w W backslash bar Shift+Mode_switch+W produces bar, which is what's intended. However Mode_switch+Shift+W ...
2
votes
0answers
28 views

Keep keyboard layout upon inserting external keyboard

I have a custom keyboard layout, that I enable using this commands: setxkbmap -verbose us -variant altgr-intl xmodmap -verbose /home/coub/.myxmodmap This works just fine, the thing is, that when I ...
2
votes
0answers
54 views

Make Compose not compose after certain key presses

On my laptop, I use the Win as a modifier. With the Fn key pressed, the key sends a different keysym and I use that as a Compose key. keycode 133 = Hyper_L keycode 134 = Multi_key add mod4 = Hyper_L ...
1
vote
0answers
49 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
0answers
85 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
41 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
0answers
391 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
211 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
1k 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 ...