You may not post on this forum because you're not logged in.

#1 25-Nov-2010 22:09:47

Viett
New member
Registered: 25-Nov-2010
Posts: 3

Colemak in Ubuntu Without Caps Remap?

I'm looking to use Colemak in Ubuntu without remapping Caps Lock. Is this possible?

Thanks,
Viett

Offline

#2 25-Nov-2010 22:14:59

jrick
Member
From: Ann Arbor, MI
Registered: 25-Sep-2008
Posts: 36
Website

Re: Colemak in Ubuntu Without Caps Remap?

Use xmodmap.

Offline

#3 26-Nov-2010 00:25:18

Viett
New member
Registered: 25-Nov-2010
Posts: 3

Re: Colemak in Ubuntu Without Caps Remap?

I tried fiddling around with xmodmap. I can use it to remap the caps lock to certain functions, but I cannot "unmap" it from backspace. For example, I can map caps lock to caps lock using xmodmap, but then hitting the caps lock key will both toggle caps lock and hit backspace.

Offline

#4 26-Nov-2010 08:08:23

ghen
Member
From: Belgium
Registered: 26-Feb-2008
Posts: 316
Website

Re: Colemak in Ubuntu Without Caps Remap?

xmodmap -e 'keycode 66 = Caps_Lock'
xmodmap -e 'add Lock = Caps_Lock' 
xset -r 66

The first two (the part between quotes) can be put in an .Xmodmap file in your homedir, I think Gnome will load them automatically.  If not, run "xmodmap .Xmodmap" in your startup script.

Alternatively, you can edit the layout files directly (make a copy, or download the original one from the Colemak website, so system updates won't overwrite your changes).

Offline

#5 26-Nov-2010 22:13:50

Viett
New member
Registered: 25-Nov-2010
Posts: 3

Re: Colemak in Ubuntu Without Caps Remap?

Good suggestion modifying the layout itself. I commented out the Caps remap and it works perfectly. I had trouble finding the xkb/symbols directory, though. Apparently it's in /usr/share/X11, unlike many guides suggested.

Offline

Board footer