You are not logged in.

#1 2008-11-05 23:48:01

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Swapping Caps Lock and Super

In honor of my hatred for the Caps Lock key, I would like to make it more useful. As of now it serves to annoy me when I accidentally press it. I am using a Model M, and as such I have no Super key. Right now I have Caps Lock entirely disabled with xmodmap -e, but how can I turn it into the Super key?


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#2 2008-11-06 00:08:42

hrobeers
Member
From: Belgium
Registered: 2008-11-05
Posts: 79

Re: Swapping Caps Lock and Super

make an xmodmap configfile with this command:

xmodmap -pke > /home/YOURUSERNAME/.xmodmaprc

then edit that file (you can get the keycodes of the keys by running "xev" in a terminal and pressing the key)
It's really obvious how to change the file, you'll see!

then run the following command and let it be run at every startup:

xmodmap .xmodmaprc

Last edited by hrobeers (2008-11-06 00:19:13)

Offline

#3 2008-11-06 00:40:52

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: Swapping Caps Lock and Super

Oh wow, that was easy. Now to figure out how to add keybinds in wmii...


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

Board footer

Powered by FluxBB