0
votes
1answer
15 views

order of KEYSYM in Xmodmap config file

I try to make some changes in my keyboard configuration with xmodmap. However, when I look at the output of xmodmap -pke I see that some keycodes are binded to 12 KEYSYM, for example, with my ...
0
votes
0answers
11 views

Lost Meta key in RHEL/Gnome

I seem to have lost my meta key... I am running xev, and when I press "meta" (in fact a "Win" key on my keyboard), the following event is seen: KeyRelease event, serial 33, synthetic NO, window ...
1
vote
0answers
31 views

Remapped keys (with xmodmap) in Linux host stopped working in VirtualBox Windows guest

I've used the following xmodmap script for years to swap my Left Ctrl and Caps Lock keys in Linux: remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = ...
2
votes
2answers
199 views

How to disable a keyboard key in Linux (Ubuntu)?

my keyboard is damaged, the keyboard key [é] is always pressed and it prevents me from working. On windows I found the software sharpkey to disable the [é] button but on Ubuntu I can't found no ...
0
votes
1answer
196 views

Bind bash script to keypress

How do I map a keypress on a keyboard to a bash script? For example, when I press the "Esc" key, the script is run. OS: XFCE Spin Fedora 19 ---- EDIT ---- I need to set this via the console. This ...
1
vote
0answers
23 views

Can I map capslock to lshift + rshift?

I want to toggle capslock when I hit both shift keys at once. Is this possible? I'm currently using xubuntu and xmodmap if it matters at all.
2
votes
0answers
54 views

Can I get urxvt to recognize xmodmap configuration?

i switch from an apple-style keyboard at home to a microsoft-style keyboard at work. the primary difference in these keyboards is that the super key and the alt key are transposed. i've used xmodmap ...
0
votes
0answers
95 views

Binding superkey + Ctrl to behave as right alt

I can't do any symbols such as ¡@£$€¥{[]} ("lower" symbols on number keys) using left ctrl and the super key on my keyboard. I can do these symbols by using the right alt. I would like to use a ...
1
vote
0answers
99 views

Switching left alt and left win

I have a Thinkpad X230 (german layout, [edit]running linux[/edit]) and I want to switch the left win- and the left alt-key somehow with the right alt-key (AltGr) not being touched. However, I haven't ...
1
vote
1answer
204 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
103 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
114 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 ...
1
vote
0answers
53 views

Prevent Screenshot in gnome using xmodmap

I want to prevent screenshots from being taken in GNOME using keyboard shortcuts. I need to do this by running a script in such a manner that it can be reverted later. I tried to do this using ...
0
votes
1answer
79 views

Undo remap using xmodmap

In an attempt to remap the right alt key to my left alt key I had run the following: xmodmap -e 'keysym Alt_L=Alt_R' Now I cannot revert it back to it's original state. How can I undo this blunder?
2
votes
0answers
164 views

xev says Caps Lock remap worked but other apps don't see it

I'm trying to remap Caps Lock to Control. Before I modify anything, xev reports the following for a press/release of Caps Lock: KeyPress event, serial 73, synthetic NO, window 0x2600001, root ...
0
votes
2answers
154 views

.bash_profile wont run on login

I am trying to set up my computer so that the escape key performs the caps lock function and caps lock performs the escape key function. I have a small script to swap my escape and caps lock using ...
2
votes
1answer
573 views

How to swap Ctrl and Windows keys with xmodmap

I want to swap the right Win and Ctrl keys on my keyboard using xkeycaps. This the .xmodmap file that I'm loading when Ubuntu starts, generated with xkeycaps. It works fine for swapping the Esc and ...
10
votes
3answers
430 views

In Linux, how can I map SHIFT_L/SHIFT_R when pressed without additional key?

Today I found this very nice article by Steven Losh in which he presents a couple of productivity boosting keyboard mappings. Among them is a dynamic mapping of the left and right shift keys. The ...
1
vote
0answers
225 views

Xmodmad does not run at startup/login

I put settings in a file called ~/.Xmodmap: xmodmap -e 'keycode 66=Return' xmodmap -e "clear Lock" The next time I logged in, I was prompted as to whether to load ~/.Xmodmap. I loaded it, and tick ...
5
votes
1answer
1k views

Changing the Mod key in Awesome WM

I tried to change the mod key in awesome from the windows key to either Pause, Scroll Lock, and Escape. For all keys I tried to change the entry in the rc.lua configuration file; I tried to use ...
2
votes
1answer
221 views

How to rebind AltGr+a to \ with xmodmap?

My keyboard has one less key than my layout, so I have to improvise. I'd like to bind AltGr+A to backslash "\" instead of "æ", and AltGr+S to pipe "|" instead of "ß". How can I do so using xmodmap ...
0
votes
0answers
625 views

Mac Keyboard Command key remapping doesn't work in Terminal

I'm using a Mac keyboard on Linux Mint 13 - Mate. I want to be able to copy/paste/cut as I done on the Mac, but on Linux with this Mac keyboard. I tried the settings I've found mentioned in several ...
1
vote
1answer
86 views

Linux remap capslock to iso <>| key

Heres my .Xmodmap: remove Lock = Caps_Lock keycode 66 = less greater less greater bar brokenbar bar brokenbar The greater an less signs are working but the pipe still does not want to. What am I ...
2
votes
1answer
695 views

How to use Control as modifier with xmodmap?

So I'm trying to create a combination of keys to generate ISO keys for the Portuguese layout, the key in question is the < >, pressing it will normally generate the < character, < > + Shift ...
7
votes
3answers
3k 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
321 views

xmodmap confusion betwen AltGR and Left Control

I'm having trouble making AltGr work on ubuntu so I can type 3rd level characters (@£§,{[],etc) it so happens that RCtrl+RAlt don't work either so I have no way of typing such characters. My RCtrl ...
1
vote
0answers
93 views

Debugging xmodmap

I did something stupid. I was screwing around with xmodmap a few weeks back, and gave up what I was trying to do. I find out later that Shift-J no longer does anything (I can't type capital "J"). ...
5
votes
2answers
5k views

How do I swap Alt and Windows keys with xmodmap?

I have a Mac keyboard where the Alt/Win (i.e. Option/Command) keys are inverted compared to a regular PC keyboard, and I'd like to swap them. I haven't had any luck with xmodmap so far. The standard ...
2
votes
0answers
504 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
146 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 ...
0
votes
2answers
4k views

Linux, Ubuntu & Apple Aluminium keyboard: remap greater/less with tilde

I have an Apple Aluminium keyboard. To the left of 1 key I have the less/greater (< >) key, not grave/tilde (` ~). xmodmap does not work for me: layout switching (done with setxkbmap) resets my ...
1
vote
1answer
523 views

Disable Escape key in linux?

Im working with a kiosk software, and it can easly be exited with the escape key. Theres no way to disable this behaviour, why I would want to simply disable the escape key completely. I tried with ...
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 ...
9
votes
3answers
5k views

Why won't my xmodmap command run on startup/login?

I want to run this command every time I log in (or every time I start up, if that doesn't work): xmodmap -e 'keysym Delete = Menu' -e 'keysym Menu = Delete' I've tried many things. I put the command ...
1
vote
0answers
2k views

How to remap brightness & volume keys on Asus AspireOne / Ubuntu Lucid?

I want to remap the following keys on my Asus AspireOne running Ubuntu Lucid: Brightness down (Fn-Left) -> Home Brightness up (Fn-Right) -> End Volume up (Fn-Up) -> Page up ...
3
votes
1answer
609 views

Remapping characters in xmodmap

I am using a Swedish keyboard, and I want to be able to type braces easier. I planned to map AltGr + å to '}' and AltGr + ä to '{'. However, nothing really changes. I have some other stuff in ...
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 ...