Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-08-2004, 11:28 AM   #1
LQ Newbie
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
Key remap

Hey guys,

I've read several boards, and I understood that X substitutes its own
key mapping (with less flexibility than the linux base, but still sufficient).

Say, I want to remap aring to AltGr+o and Aring to AltGr+O.
At the moment, it's the O with a stripe through it, which I don't need.

I've read things about the loadkeys, dumpkeys and showkey commands.
In addition, I'd like this mapping to be valid in the command line as much as in
an usual X window. (Is that possible with this X substitution, or should we
remap in 2 places?)

I've read a post in the Slackware Distro forum, but I don't want to rewrite the keymap file, cuz I believe that I can write a simple file in my home folder to substitute again my own keymap.
(If there's substitution once, there can be one more time...)

Could somebody help me to understand what's going on, and possibly a procedure
to follow?


@+ Daz

PS : `xmodmap -e "keysym o = o O aring Aring"` runs, but then the AltGr key seems disabled, meaning that not only AltGr+o doesn't output anything, but no other AltGr combinations work.
Old 07-08-2004, 11:35 AM   #2
LQ Newbie
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Actually, sorry, I'm wrong. The other AltGr combinations work.
But the AltGr+o doesn't output anything. (not even the oslash)

When I load the fr keymap, by `loadkeys fr` from a console, but not X, I can access the aring through AltGr+z.

But I'd like to understand what X does !
I mean, I've got a french keyboard, so if it doesn't load the french mapping, what does it do?

Cuz without the `loadkeys fr`, the mapping is different.......

What's going on, and why is that so poorly documented?
I bet I'm not the first one to have that type of problems!

Thanks in advance for any help

@+ Daz


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
remap us to uk props666999 Slackware 3 01-21-2005 04:01 AM
remap keyboard windows key khtse Slackware 2 07-01-2004 01:14 PM
Key remap Silverdaz Fedora 0 06-23-2004 08:28 AM
Remap windows keys graffitici Linux - Hardware 1 01-09-2004 04:55 PM
How do I remap keys? LooseCanon Linux - Newbie 1 08-27-2003 05:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration