LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 885 Comments 0
« Prev     Main     Next »

  



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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration