Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Blogs
User Name



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..

LQ Newbie
Posted in Uncategorized
Views 872 Comments 0 gwalli is offline


All times are GMT -5. The time now is 06:07 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