LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-04-2005, 02:35 PM   #1
timcharper
Member
 
Registered: May 2005
Location: Utah
Distribution: Fedora Core 4
Posts: 36

Rep: Reputation: 15
How do I switch the caps lock key out?


Hi
I want to get rid of the caps lock key and make it something useful, like an enter key or a backspace key (so i don't have to reach so far to hit them)

I've made this file ~/.xmodmaprc contain the following
remove Lock = Caps_Lock
keysym Return = Caps_Lock

when I execute it, via xmodmap ~/.xmodmaprc, it makes caps lock behave as the enter key, but it still turns caps lock on.

anyone have a clue how to eliminate the caps lock key for good?
thanks in advance!

Tim
 
Old 08-04-2005, 07:56 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,784

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Have you investigated the man pages for 'keymaps' and 'xmodmap'?
 
Old 08-05-2005, 01:00 PM   #3
timcharper
Member
 
Registered: May 2005
Location: Utah
Distribution: Fedora Core 4
Posts: 36

Original Poster
Rep: Reputation: 15
Unhappy hmmm

thanks so much for your reply! I tried investing that... but couldn't get any results


first, I logged in as root. then I typed dumpkeys > keys.txt

then, with vi, I edited the file keys.txt to change the line:
keycode 58 = Caps_Lock
to this:
keycode 58 = Return

I then typed:
loadkeys keys.txt

Nothing happened

I copied the modified keymap file to /usr/src/linux/drivers/char/defkeymap.map, and rebooted my machine. Still no change. Nothing seams tobe having any effect at all
 
  


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
KVM-switch problem no scroll-lock key agts Linux - Newbie 8 12-21-2011 09:44 PM
switch caps lock and ctrl without X? rgiggs Slackware 2 01-26-2005 01:31 AM
RedHat 9.0 freezes with blinking Caps lock and Scroll lock queen-bee Linux - Software 0 07-30-2004 10:40 PM
switch caps lock and left control rgiggs Slackware 1 07-13-2004 12:14 PM
caps lock key neo77777 Linux - General 4 02-01-2002 11:32 PM


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

Main Menu
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