LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-13-2012, 03:34 PM   #1
gregAstley
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 03:43 PM.
 
Old 10-15-2012, 08:41 AM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Arch
Posts: 3,013

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


Reply


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 04:06 AM
Remapping Caps Lock to Shift Bob Fletcher Linux - Newbie 5 12-06-2010 05:52 AM
Caps lock remapping into an "alt Gr lock"? aleksanteri Linux - General 1 08-26-2008 04:58 PM
remapping caps lock as multikey Ryzol Linux - General 2 11-01-2007 05:43 PM
JAVA Caps lock problem. Fugazi Linux - Newbie 0 07-05-2004 12:25 PM


All times are GMT -5. The time now is 12:11 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration