Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Sep 2007
#1
I've searched the forums but found no info about this:
I have bought a stowaway ultra-slim bluetooth keyboard for my N800
It worked beautifully but several keys did not produce the expected symbols when pressed, so I used xmodmap and xev to build a new keyboard map file...

Now the keyboard is fine and practically all the keys are working as expected...
The matter is that every time I reboot my N800 I have to re-load my custom keyboard map file again.

Is there a way to write a script containing the command "xmodmap /user/home/mymapfile.map" and have it executed automatically at startup?

Thanks for any help.
 
Posts: 144 | Thanked: 21 times | Joined on Mar 2007 @ Finland
#2
Write a startup script:

sudo gainroot

vi /etc/init.d/xmodmap

---
xmodmap:

#!/bin/sh
xmodmap /user/home/mymapfile.map

---
save file
chmod +x /etc/init.d/xmodmap
ln -s /etc/init.d/xmodmap /etc/rc2.d/S99xmodmap
 
Posts: 76 | Thanked: 19 times | Joined on Apr 2007
#3
ZoRo - Any chance you can share your map file?
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#4
For some strange reason this did not work for me. I can see the link when looking into /etc/rc2.d but xmodmap is not called. Any hint?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:21.