LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-24-2010, 09:17 AM   #1
paliga
Member
 
Registered: Feb 2010
Posts: 39

Rep: Reputation: 0
altgr does not work in the console


Hi,

there is absolutely no X on that machine.
The keymap is just fine, what is not working is solely the AltGr Key.
Do you know how to map it right?
I was about trying with showkeys -s and the using it as input for setkeycodes, but I get more than one hex number, and I guess setkeycodes doesnt like that. An "" does not help...

Thanks in advance,
christopher
 
Old 08-24-2010, 06:15 PM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,229

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Keyboard configuration without X is a bit of a black art! If you can't sort out how to use the tools (I've never tried very hard), you can always alter the files directly.

The drivers are usually stored in /lib/kbd/keymaps/i386/qwerty/ in g-zipped form and should include the line
include "linux-with-alt-and-altgr"
which will set the AltGr key. What were you expecting it to do? Unlike in X, the UK and US keyboards only seem to use it with the symbol keys, like AltGr+7 giving {.

Don't forget you have compose sequences in the console for accented letters; the default is to press Alt+AltGr for Compose.
 
Old 08-25-2010, 03:35 AM   #3
paliga
Member
 
Registered: Feb 2010
Posts: 39

Original Poster
Rep: Reputation: 0
First of all, thank you for your time : )

And thanks for the tip, I will try that out...

I just wanted AltGr to work as used to, as the "3rd level chooser", if thats what its called like...
 
Old 08-28-2010, 12:33 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,229

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
For the record,
man keymaps
will reveal some useful information about the console keyboard drivers
and the relevant commands for manipulation are
dumpkeys, loadkeys, getkeycodes, setkeycodes, showkey

In answer to the original question, the correct command was actually
showkey -k
 
  


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
AltGr doesn't work on RedHat 9 Bky Linux - Laptop and Netbook 0 04-20-2006 02:08 PM
AltGr key does not work OlegL Debian 5 09-17-2004 03:22 AM
AltGr key does not work OlegL Linux - Laptop and Netbook 2 08-30-2004 10:35 AM
altgr don' t work intrip Linux - Hardware 0 12-14-2003 02:41 PM
Can't get my AltGr key to work with Norwegian keyboard layout orjanp Slackware 8 11-02-2003 09:53 AM


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