You are not logged in.
Hi guys.
Recently I came back to XFCE and I have one problem: it always starts with the keymap set to US. I have to manually change it to PL (which I need) with setxkbmap. Also, when I'm using the panel plugin I cannot choose any keymaps other than the currently selected.
What can I do about it?
Last edited by JeremyTheWicked (2008-10-12 21:49:56)
arch(3) adj amused because you think you understand something better than other people ;P
Offline
Set up the keymaps you need in xorg.conf
-> http://bbs.archlinux.org/viewtopic.php?id=43853 gives an example
EDIT: sorry, i guess it doesn't give an example enough
here's mine:
Section "InputDevice"
Identifier "IntegratedKeyboard"
Option "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,sk,de"
# possibilites for us: basic, euro, intl, alt-intl, altgr-intl
Option "XkbVariant" "altgr-intl,qwerty,"
Option "XkbOptions" "grp:menu_toggle,grp_led:caps"
Option "XkbRules" "xorg"
Driver "kbd"
EndSection
Last edited by bender02 (2008-10-10 14:18:36)
Offline
Thanks, buddy. It works for me.
One question, though: I couldn't find ANYWHERE on the web a list of possible options for keybords... E.g., I have a Dell laptop and I remember there is a special setting for that somewhere but I cannot find this - also my multimedia keys don't work in XFCE... Where can I look for a list of possible options?
arch(3) adj amused because you think you understand something better than other people ;P
Offline
The way I deal with the multimedia keys is that
1) figure out what keycodes they generate (run 'xev' and do some presses)
2) assign the correct name to them via xmodmap
maybe 3) use xbindkeys to let them do what they should do (but this is probably not necessary, DEs like xfce should be able to act just based on having a correct name assigned to the keypresses)
the xmodmap stuff:
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
and then have 'xmodmap ~/.xmodmaprc' executed at X start (again, some DEs do this automatically, some don't)
But! maybe figuring out the correct option for your keyboard might render all of the above steps unnecessary. I don't know a good place to look for the options, except closely inspecting the contents of /usr/share/X11/xkb - there's a lot of stuff, but that's for instance where I found out the possible variants for the us keyboard.
Offline
Topic: keyboards
http://wiki.archlinux.org/index.php/Extra_Keyboard_Keys
Another possibility is to use Keytouch program. It supports a lot of keyboard. It's maybe not the minimal approach since you install an extra program and having its daemon running. If there's a configuration file for your keyboard it makes things very easy.
Offline
But! maybe figuring out the correct option for your keyboard might render all of the above steps unnecessary. I don't know a good place to look for the options, except closely inspecting the contents of /usr/share/X11/xkb - there's a lot of stuff, but that's for instance where I found out the possible variants for the us keyboard.
/usr/share/X11/xkb/rules was the place I was looking for. After setting option "XkbModel" to "inspiron" (I have a Dell laptop) my multimedia keys work like a charm.
Thanks for your help. I mark it solved.
Kim - thanks for the link as well. Luckily I didn't need to set anything up other than XkbModel but it was a good read anyway.
arch(3) adj amused because you think you understand something better than other people ;P
Offline
Cool! I didn't know about that setting the model would correctly mark the multimedia keys. I can now (almost) ditch xmodmap Thanks!
Offline
Keine Ursache
arch(3) adj amused because you think you understand something better than other people ;P
Offline