![]() |
Mapping keys?
I'm trying to map keys on my keyboard, specifically [, ], |, <Esc> and a few others. I looked in some of the threads here, and it said adding /home/user/.Xmodmap should do it.
However, in my home directory, I have the .Xmodmap I cut and pasted from the thread, plus I have a .Xmodmap-keymap, and a .Xmodmap-keymap-n800 and .Xmodmap-keymap-n810. I checked both .Xkeysym BackSpace = BackSpace BackSpace Tabmodmap-keymap and .Xmodmap-keymap-n810, and both have Code:
keysym period = period greater barideas? --vr |
Re: Mapping keys?
I think it only reads ~/.Xmodmap and not ~/.Xmodmap*
I'm not sure why you think it'd read ~/.Xmodmap* I think you'll need to specify those. And the last one counts. So if you first bind Esc to A, and then later bind Esc to Z, while in your last config file you bind Esc to B, it will be bound to B; not A or Z. You can keep backups e.g. ~/.Xmodmap.orig so I think what you do best is merge the ~/.Xmodmap* into 1 (one) ~/.Xmodmap and understand the various settings. The command xmodmap has a verbose option, and there is also the command xev(1) which prints contents of X events. You can read xmodmap flags by executing xmodmap -help. You can specify a different settings file to be loaded by executing xmodmap ~/.Xmodmap_blah (where ~/.Xmodmap_blah is an example, I recommend making the filenames descriptive for example 2009_10_12_23 (year_month_day_hour) or something like that). |
Re: Mapping keys?
Quote:
Quote:
Thanks for the iinfo... |
Re: Mapping keys?
Here is another interesting fact, I cannot seem to find the xmodmap command. apt-cache search xmodmap returns an empty result, meaning it is not found. On my Debian desktop, it returns:
Code:
[vulcanridr@defiant tmp]$ apt-cache search xmodmap |
[Solved] Re: Mapping keys?
Okay, I figured it out. First of all, you make the modifications directly to /usr/share/X11/xkb/symbols/nokia_vndr/rx-44.
The four columns are, as far as I can tell, <unshifted>, <shift> <function> and <shift><function>. I made the changes and now have all of the functions...I can play Angband and all...:) Thanks all for your help. --vr |
Re: Mapping keys?
Hi VulcanRidr,
Just saw this thread, while trying to figure out how to remap the N900 keyboard. If you want to use Xmodmap on the N810, you do have to run it via Easy Debian. Those .Xmodmap-keymap-n8?0 files are from Easy Debian. But if you map the keys with the ED Xmodmap, it should also work in Maemo. The good thing about Xmodmap is that the mappings are temporary. But if you don't mind making your mappings permanent, then xkb is the way to do it. |
Re: Mapping keys?
Quote:
|
Re: Mapping keys?
Interesting!
Changing the /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file doesn't remap the N900's keyboard. Wonder what I'm doing wrong? |
Re: Mapping keys?
Quote:
|
Re: Mapping keys?
Of course I rebooted.
|
Re: Mapping keys?
Quote:
|
Re: Mapping keys?
Quote:
I was able to map pipe, but I couldn't get tab, tilde, or escape to work. |
Re: Mapping keys?
Getting the keyboard remapped on the N900 is the bane of my existence. Let's continue that conversation over here.
|
Re: Mapping keys?
Quote:
I'd like to see what signals are being sent with both hildon keyboard and Xkbd keys on a N8x0. Is this possible? If so, what would be the command line in doing that? |
| All times are GMT. The time now is 16:55. |
vBulletin® Version 3.8.8