LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-29-2005, 09:07 PM   #1
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Rep: Reputation: 32
Remaping Escape Key


Hi,

Is it possible to have a key combo <Shift_L> <space> or <Shift_L> <Enter> act as <Escape> key?
 
Old 09-29-2005, 09:11 PM   #2
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
why would you want to do that? Is your escape key not working? I'm assuming your using KDE, look in to key mapping. I can't remember exactly where it is, but look in the Kontrol panel. Ask someone else about GNOME, sorry
 
Old 09-29-2005, 09:14 PM   #3
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 32
Why? Because I find it convinient. Not using KDE, not using Gnome. Anyways..do you know how to do it, or do you just feel like chatting?

Last edited by frankie_DJ; 09-29-2005 at 09:19 PM.
 
Old 09-29-2005, 09:24 PM   #4
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
I'd have to check and see(I'm using windows right now). There is a command that will watch the keys you hit, then show you the codes for it. Then you can map it. I think the command was 'setkeycodes'. Look into it
 
Old 09-29-2005, 09:25 PM   #5
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 32
I take it you just feel like chatting
 
Old 09-29-2005, 10:09 PM   #6
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
how about switching caps and escape?

~/.Xmodmap:

! ----------start-------------
! Swap caps lock and escape
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
! ------------end-------------
 
Old 09-29-2005, 10:51 PM   #7
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 32
That I know how to do. I think that's very similar to an example from xmodmap man pages. Anyways...going back to my original question. Anybody?
 
Old 09-30-2005, 12:53 AM   #8
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Sorry to dodge the original question again, but do you know that Ctrl-[ does the same as Esc? (And with caps and ctrl switched, I'd think that combination would be easier to reach than the ones you mentioned).
 
Old 09-30-2005, 12:54 AM   #9
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 32
I do. Not convinient enough
 
Old 09-30-2005, 12:56 AM   #10
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by jrdioko
I'd think that combination would be easier to reach than the ones you mentioned).
How can it be easier to reach than Shift-space?
 
Old 09-30-2005, 12:59 AM   #11
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
I find the right little finger going up slightly much more comfortable than the left little finger going down, but I guess everyone is different. Either way they're pretty similar, don't you think?
 
Old 09-30-2005, 01:04 AM   #12
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 32
Well,
If you think about it, two keys that you hit the most are Shift_L and space. I mean
if you are not comfortable with hitting those two...you got typing problems. That's
the way I see it.
 
Old 09-30-2005, 01:06 AM   #13
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Well ok, hope someone can give you the answer. My hunch would be that you can do it somehow with xmodmap, but I haven't played with it enough to know for sure.
 
Old 09-30-2005, 01:07 AM   #14
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 32
ok thanks anyway
 
  


Reply



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
how do i escape a / ??? Fascistchicken Linux - General 10 09-12-2004 11:28 AM
Programming the escape key rthak Programming 4 07-22-2004 03:11 AM
Vim and escape key jrdioko Linux - Newbie 3 07-11-2004 11:57 AM
Escape! Wind0wR3fuge Linux - Newbie 6 07-11-2004 03:00 AM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 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
Open Source Consulting | Domain Registration