1
vote
1answer
45 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 ...
2
votes
1answer
76 views

how to swap ctrl and capslock using xmodmap?

I know this xmodmap script can swap ctrl and capslock: remove Lock = Caps_Lock remove Control = Control_L keysym Caps_Lock = Control_L keysym Control_L = Caps_Lock add Lock = Caps_Lock add Control ...
5
votes
1answer
145 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
0answers
56 views

CapsLock as modifier key for application keymaps

I am developer and currently I am using Ubuntu Linux with PyCharm IDE for development of website. In order to improve typing performance I consider change CapsLock to Hyper_L and assign it to mod3 ...
1
vote
0answers
59 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 ...
2
votes
0answers
48 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 ...
2
votes
1answer
84 views

Colon/Semicolon remapping with xmodmap with two active setxkbmap layouts

Gentlemen, I'm a non-native english speaker and need a second language layout. And I'm a heavy Vim user, and use : much more often than ;. At the moment they are remapped in .vimrc, buth that causes ...
6
votes
1answer
260 views

Back button to middle mouse button

I would like to map "Back" button (xev shows it as "button 7") of my mouse (A4Tech X-7) to act as a middle mouse button. Is there a way to do this? I'm lost in google, finding only how to map buttons ...
19
votes
4answers
9k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using xev doesn't give me keycode for Alt FocusOut event, serial 36, ...
1
vote
1answer
300 views

Remap Caps_Lock to Control in Solaris

I'm having the hardest time trying to understand how xmodmap works. I want to remap the Caps Lock key to Control. In an attempt to emaulate the answers shown here, I created the file .xmodmaprc: ...
4
votes
3answers
1k views

How to re-enable the caps lock key?

I am currently setting up my default keyboard layout like this: setxkbmap -layout us -variant dvorak -option ctrl:nocaps,[...] It disables the caps lock key and makes it an additional ctrl key, ...
4
votes
3answers
1k 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. ...