![]() |
xmodmap and bluetooth keyboard
I hacked a nice xmodmaprc for my new Stowaway BT keyboard. So far, everthing works well.
But whenever the keyboard disconnects, either by the 3 minutes timeout or if I close it, all the xmodmap settings are gone. After I connect the keyboard again, i have to call the xmodmap script again. Probably the best would be if I can automatically run a script whenever the BT keyboard connects. Any hints? |
Re: xmodmap and bluetooth keyboard
Probably need dbus-scripts; I'd bet there's a dbus signal you can catch, but I don't know what.
|
Re: xmodmap and bluetooth keyboard
Quote:
http://cs.gmu.edu/~sean/stuff/n800/keyboard/ By the way, could you post your xmodmaprc file? --denis |
Re: xmodmap and bluetooth keyboard
Quote:
|
Re: xmodmap and bluetooth keyboard
Aye, seconded.
|
Re: xmodmap and bluetooth keyboard
|
Re: xmodmap and bluetooth keyboard
i believe it to be much more useful in the long run to go directly to the layout files for whatever language your using.
that is, the files in /usr/share/X11/xkb/symbols |
Re: xmodmap and bluetooth keyboard
Quote:
Even worse: for each OS update your modifications will be lost, and you have to reinstall everything. The xmodmap solution is much easier and flexible. It is also well documented. |
Re: xmodmap and bluetooth keyboard
is there any way to get xmodmap files to load when a bluetooth keyboard is discovered? for that matter, is there any way for the n800 to automatically discover keyboards the way the 770 does?
|
Re: xmodmap and bluetooth keyboard
Quote:
i only had to alter one file to get the effect i wanted. and i made sure to copy a backup to one of my cards so that when i flashed to diablo i only had to copy it back over the diablo one to get the layout as i wanted it ;) |
All times are GMT. The time now is 00:08. |
vBulletin® Version 3.8.8