LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs > gwalli
User Name
Password

Notices


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:
/etc/X11/xorg.conf
Or for other (older?) versions:
/etc/X11/XF86Config
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..

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

  



All times are GMT -5. The time now is 03:06 AM.

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