From: Mark Carter on
Grrr. I'm trying to set up my keyboard how I like it. I've switched to
fluxbox, and although some of the audio volume keys were working before,
they now suddenly don't work. X seems to have changed the keymap for no
reason that I can discern.

I've created my own keymap, which fixes things up so that they work in
the console properly via rc.keymap. The customisations I made look fine.
The problem is, how do I persuade xorg.conf to use that keymap?

Here's a snippet from xorg.conf:

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "macintosh"
#Option "XkbLayout" "gb(mac)"
#Option "XkbOptions" "japan:kana_lock"
EndSection

For some reason it had inserted some nonsense about japan, which I have
commented out. What I'd really like to do is say to X "here use THIS
keymap with a hard-coded path that I give you", but I don't see how to
do it. Any ideas?
From: Joost Kremers on
Mark Carter wrote:
> I've created my own keymap, which fixes things up so that they work in
> the console properly via rc.keymap. The customisations I made look fine.
> The problem is, how do I persuade xorg.conf to use that keymap?

you don't. console keymaps are not the same thing as X keymaps. so you'll
need to select one of the keymaps that come with X or put together your
own. see:

/usr/share/X11/xkb/
~/.Xmodmap
man xmodmap
man xev

for a start.


--
Joost Kremers joostkremers(a)yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)