Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > gwalli
User Name


Rate this Entry

Keyboard Mapping: Swap ctrl/caps lock

Posted 08-04-2008 at 04:51 PM by gwalli

Keyboard Mapping: Swap ctrl/caps lock
Old-school method:
Edit either:
Or for other (older?) versions:
Add one of these lines under the 'Input Device' for keyboard:
If you want to swap caps-lock and control keys:
Option "XkbOptions" "ctrl:swapcaps"
If you want NO caps-lock:
Option "XkbOptions" "ctrl:nocaps"
Need to re-start X to activate the changes..

The command:
Will blow these changes away!
This works for Fedora, and old Red-Hat Linux.. YMMV.
Posted in Uncategorized
Views 885 Comments 0
« Prev     Main     Next »


All times are GMT -5. The time now is 02:33 AM.

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 @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration