LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-10-2005, 06:30 AM   #1
eltecolote
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
Best way to map Windows key to Meta in Terminal


Hi all,

I didn't know where to put this question. It seems to be in between Hardware and Software, though more Software than Hardware.

I'm using Gnome Terminal specifically, but I realize that this problem also occurs with RXVT and ATerm, but XTerm is exempt, because you can map your Windows key to your Meta key by adding these two lines to your .Xdefaults:

Code:
xterm*eightBitInput:        false
xterm*metaSendsEscape:      true
I did some more research and found that you need to tell loadkeys to use the Windows keys as Meta keys, but I was unsuccessful in doing so, as

Code:
echo "keycode 156 = Meta_X" | loadkeys
...did not work. It doesn't give me any messages.

Thanks in Advance

Last edited by eltecolote; 06-10-2005 at 06:37 AM.
 
Old 06-15-2005, 09:09 AM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Since you're using gnome-terminal, I assume you're using Gnome.

Have you tried setting the gnome keyboard settings?
(Start Here -> Keyboard -> Layout Options)
You can map Meta onto both (both window keys) and (left only).

hth --Jonas
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.Xmodmap and meta key jrdioko Linux - Software 11 10-03-2005 07:09 AM
Changing the Meta key from Esc to Alt primo *BSD 0 08-27-2005 05:18 PM
xterm meta key bob66 Linux - Software 0 03-25-2005 09:26 AM
fluxbox key bindings without meta keys brassfish Linux - General 2 05-04-2004 12:32 AM
Map Windows key to middle mouse button? elconde Linux - Hardware 1 12-28-2002 01:44 AM


All times are GMT -5. The time now is 11:18 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