Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

ctrl:nocaps not working in X

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
euler
n00b
n00b
Posts: 4
Joined: Sun Dec 21, 2003 7:14 am
Location: Athens, GA

ctrl:nocaps not working in X

  • Quote

Post by euler » Fri Dec 26, 2003 9:13 pm

In my XF86Config file I have tried the following keyboard options to enable the control function on the caps lock key:

Option "XkbOptions" "ctrl:swapcaps"

and

Option "XkbOptions" "ctrl:nocaps"

The former option is what the documentation on the www.xfree86.org site said to put in the config file, and the latter is what I had in my debian woody XF86Config-4 file. In either case, the option(s) doesn't work. Anyone have the same problem and what is the solution to make caps lock become ctrl?

Thanks.
Top
k9
Apprentice
Apprentice
User avatar
Posts: 160
Joined: Sun Sep 28, 2003 3:34 am
Location: Salt Lake City, USA
Contact:
Contact k9
Website

  • Quote

Post by k9 » Sat Dec 27, 2003 12:37 am

Although you might not want to do it this way, I swap Left-Ctrl with Capslock with this in my ~/.Xmodmap:

Code: Select all

!interchange Caps Lock and Ctrl
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
Top
euler
n00b
n00b
Posts: 4
Joined: Sun Dec 21, 2003 7:14 am
Location: Athens, GA

  • Quote

Post by euler » Sat Dec 27, 2003 7:23 am

Thanks a lot, this will work fine.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic