Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-25-2008, 07:53 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 7

Rep: Reputation: 0
How to make Caps-lock key as additional Control key.

How can I make Caps-lock to be a Control key and leave the original Control keys as they are?

Since the following code is for swapping caps lock and left control,
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
I thought the following would make caps lock left control and then there would be two left Control keys.
remove Lock = Caps_Lock
remove Control = Control_L
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
But it didn't work.

Last edited by snr8fl3; 11-25-2008 at 07:55 AM.
Old 11-25-2008, 05:49 PM   #2
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
You should be able to just (from a good workings state)

remove Lock = Caps_Lock
add Control = Caps_Lock

since you are just adding caps lock as a new control key


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I map the control key to the caps lock key in Linux? tate1615 Linux - General 4 07-14-2008 01:20 PM
map control key to caps lock in Xemacs gandalf3 Linux - Software 0 12-19-2006 10:05 AM
CAPS lock key is now my left-CTRL key?! andrew_cz General 2 05-03-2006 07:32 AM
How do I switch the caps lock key out? timcharper Linux - Software 2 08-05-2005 01:00 PM
caps lock key neo77777 Linux - General 4 02-01-2002 11:32 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration