Remapping Caps_lock in virtual terminals.

Sometime ago I found how to switch to dvorak layout using the terminal when you’re in the virtual console.
We could use loadkeys dvorak to change the layout.

Now if you want to make Caps_lock into an control key you have to change this file

/lib/kbd/keymaps/i386/dvorak/dvorak.map.gz.

Change the line that says Caps_lock to control and recompress it.

loadkeys   dvorak  now remaps the Caps_lock to  a control.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: