Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-13-2012, 02:34 PM   #1
LQ Newbie
Registered: Aug 2012
Distribution: ubuntu 11.10
Posts: 27

Rep: Reputation: 4
Caps Lock remapping problem (now dual esc and capslock in one button)

The following is the contents of my .xmodmaprc file:
  1. keycode 13 = 4 numbersign 4 dollar EuroSign onequarter
  2. keycode 51 = dollar asciitilde numbersign asciitilde dead_grave dead_breve
  3. keycode 34 = braceleft bracketleft
  4. keycode 35 = braceright bracketright
  5. keycode 66 = Escape
  6. keycode 9 = Caps_Lock

but wierdly Caps_Lock is now behaving both as an escape and a capslock

i.e. in gedit capslock key behaves like capslock (as does esc), whilst in vim, if in insert mode, capslock key now exits insert and behaves like capslock simultaneously!

Anyone got a clue what's going on here??

Last edited by gregAstley; 10-13-2012 at 02:43 PM.
Old 10-15-2012, 07:41 AM   #2
Senior Member
Registered: Nov 2005
Distribution: Arch
Posts: 3,093

Rep: Reputation: 1273Reputation: 1273Reputation: 1273Reputation: 1273Reputation: 1273Reputation: 1273Reputation: 1273Reputation: 1273Reputation: 1273
I think you need to move the modifiers too:
clear Lock
add Lock = Caps_Lock


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CAPS LOCK problem ThomasRonshof Linux - Desktop 0 03-18-2011 03:06 AM
Remapping Caps Lock to Shift Bob Fletcher Linux - Newbie 5 12-06-2010 04:52 AM
Caps lock remapping into an "alt Gr lock"? aleksanteri Linux - General 1 08-26-2008 03:58 PM
remapping caps lock as multikey Ryzol Linux - General 2 11-01-2007 04:43 PM
JAVA Caps lock problem. Fugazi Linux - Newbie 0 07-05-2004 11:25 AM

All times are GMT -5. The time now is 12:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration