1
vote
1answer
155 views

How do I get a valid xmodmap while using xcape

I'll admit at the start that X's key-mapping is a bit of a black-art for me which mainly involves copy and pasting examples from places like SO and SU and seeing if it works. However in this case I ...
0
votes
1answer
87 views

How to make my Alt_R function as another Control on Linux

I want to use my right Alt as another Control key to use with Emacs. I tried following (with modifications) this tutorial: ...
0
votes
0answers
58 views

modify keyboard layout with xkb

I use Xmodmap to modify the layout. For example I use caps-lock as an extra modifier Mode_switch to type German umlauts. But I run into problems when using synergy or remote desktop protocols since ...
0
votes
0answers
74 views

Combining Shift + Num_Lock in xmodmap

I have a laptop that has KP_Home and KP_End functionality for the KP_7 and KP_1 keys, respectively. However, the current behavior is as follows (for KP_Home only): No Mods: KP_Home Shift: ...
0
votes
1answer
130 views

How to keep per-keyboard layout settings?

I am using xmodmap (and sometimes xkbcomp instead) to adjust my keyboard layout (e.g. mapping Caps Lock to the Mod3 modifier). When I plug a USB keyboard into my laptop or insert a YubiKey (which ...
0
votes
0answers
94 views

Is there a way to make `xmodmap ~/.Xmodmap` run faster?

On Fedora 19, when I run xmodmap ~/.Xmodmap it locks my display for about 15-20 seconds. The command completes successfully, but I am unsure of why it takes so long. I'm assuming there is an X ...
3
votes
1answer
792 views

How to add a special key to .Xmodmap?

I have a SteelSeries 7g keyboard. You can see in the following picture that the "standard" windows key is replaced by the "Steelseries logo key". I'm using Awesome Window Manager. I would like to ...
7
votes
3answers
2k views

Binding Super+C Super+V to Copy and Paste

For some time I've been interested in binding the Windows Key (Super_L) on my keyboard to Copy and Paste for no other reason but convenience and consistency between my desktop and my MacBook. I ...
2
votes
0answers
486 views

Swapping special keys

I am on archlinux and trying to swap the left Alt key with the left Ctrl key for my convenience in emacs as well as bash command line editing. I use the following ~/.xmodmap: remove mod1 = Alt_L ...
1
vote
2answers
2k views

Multi-button mouse on X11: How can I configure several buttons to act as the middle button?

I know how to make another button act as the middle button but how can I map several mouse buttons to the middle button? xmodmap complains if I repeat button numbers in the pointer option.
2
votes
1answer
140 views

Swapping numbers and symbols in X11, but keeping alt+n

As a work-environment optimization, I'd like to switch the numbers and symbols at the top of the keyboard, so that when you press them you'd get the symbol by default and the digit when you hold down ...
5
votes
1answer
7k views

How can I make my Super keys (Windows Key) behave more like Ctrl/Alt/Shift in Linux

After using the Ctrl + "arrow keys" for 13 years to switch virtual desktops in X windows, I've been convinced recently to change to using the Super keys instead (the windows key and the context menu ...
3
votes
1answer
1k views

Xmodmap: Six characters to one key?

From OpenSUSE wiki: (As long as Mode_switch/ISO_Level3_Shift is assigned to the keycode of Alt Gr - if you assign Mode_switch and ISO_Level3_Shift to different keys, you can assign up to six ...
1
vote
1answer
1k views

xmodmap no longer works for XF86 keys?

I recently upgraded xorg-server to 1.7.7 on gentoo linux (along with a bunch of other upgrades...). It seems that xmodmap no longer accepts my .Xmodmap file. I get errors like /usr/bin/xmodmap: ...
1
vote
0answers
2k views

Xmodmap fails to remap modifier keys

When I try to move keys, so that I have CapsLock on escape, Control on CapsLock and Escape on left control, I get the following error: % xmodmap ~/.Xmodmap X Error of failed request: BadValue ...
0
votes
2answers
578 views

How do I remap ctrl-j to ctrl-c on ubuntu?

I'm trying to remap a bunch of my keys and I'm running into trouble. I'm currently trying to use xmodmap but failing. Maybe there is a better way? Can someone explain how I can best remap Ctrl-j on ...