LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 09-29-2005, 10:07 PM   #1
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Rep: Reputation: 31
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, 10: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, 10:14 PM   #3
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 31
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 10:19 PM.
 
Old 09-29-2005, 10: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, 10:25 PM   #5
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

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

Rep: Reputation: 46
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, 11:51 PM   #7
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 31
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, 01: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, 01:54 AM   #9
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

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

Original Poster
Rep: Reputation: 31
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, 01: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, 02:04 AM   #12
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 31
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, 02: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, 02:07 AM   #14
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Original Poster
Rep: Reputation: 31
ok thanks anyway
 
  


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


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