1
vote
0answers
5 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 ...
0
votes
0answers
28 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
19 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
244 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
0answers
60 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
134 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
338 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 ...
6
votes
1answer
423 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 ...
2
votes
1answer
154 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 ...
11
votes
1answer
429 views

Get the keycode of a key, from a custom made keyboard

I'm trying to transform a Minitel to a computer with a Raspberry Pi. This is a minitel: So I soldered the matrix of the minitel keyboard to a usb keyboard pcb, like this: Everything is working ...
0
votes
1answer
463 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, ...
2
votes
1answer
524 views

Mapping AltGr to left control

I mapped my AltGr key to Ctrl with the following command: setxkbmap -option ctrl:ralt_rctrl However, when displaying the bindings with xmodmap -pke I can see that the keycode is associated to ...
5
votes
1answer
519 views

Cannot switch to console anymore after using Alt_R as mod4

I'd like to use the right ALT key as 'mod4' (most notably because, by default, the 'awesome' window manager is using mod4 as a modifier for most WM commands and I like that idea a lot). However I've ...
4
votes
1answer
528 views

F4-key mysteriously reassigned

In the middle of today, my F4 key started producing the letter p, without my conscious acting and I can't seem to revert this change. Whenever I press F4, p appears instead. How can I change this ...
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, ...
9
votes
1answer
2k views

Relationship of keyboard layout and xmodmap

I'm using Xubuntu. Before login I can choose a keyboard layout. I'm using xmodmap for remmaping some keys. I'm interested in two things: How the state of keyboard mapping changes when I turn the ...