You are not logged in.
Pages: 1
I'm sorry to post again on that subject but I simply don't get what to do ...
I have in my xorg.conf
Section "ServerFlags"
Option "AutoAddDevices" "False"
Option "AutoEnableDevices" "false"
EndSection
to prevent hotplugging and stuff. so my xorg.conf should be read normally according to the wiki.
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
#Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,de,ru,ar"
Option "XkbVariant" "nodeadkeys"
#Option "XkbOptions" "grp:shift_alt_toggle"
EndSection
this should allow me to switch with setxkbmap us/de ... between my layouts. It simply doesn't work anymore.
It all happened with a recent update a day ago. I first didn't realize and then everything seemed very mixed up. sometimes I got german layout in firefox, but not in console or text editor and terminal and all of a sudden it switches there too.
I don't want to switch to hotplugging because I don't see the reason for me. All was working smooth and now that.
really don't understand.
my rc.conf is like that:
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/Vienna"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
.
.
.
DAEMONS=(syslog-ng network netfs crond dbus hal alsa cups)
Xorg.0.log in explicit EEs only complains about
(EE) config/hal: NewInputDeviceRequest failed
Offline
Here I switched to evdev. with us keyboard only though I got this
/etc/hal/fdi/policy/10-keymap.fdi
?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">de</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
something with the encoding perhaps?! why is that iso and not utf-8. may I simply switch that?
OK. that was because my rc.conf was still on us. now as it's on de i'm writing with german layout: TERMINAL ONLY! here in firefox again in english layout. even in gvim it's still english.
there's something terribly wrong with my settings. if i only knew what!
Last edited by fourreux (2009-02-14 19:15:02)
Offline
well. well.
some progress.
right now my rc.conf is back to us, which does not affect anything as far as I can see
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/Vienna"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
my 10-keymap.fdi looks like this with UTF-8 on top line
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">de</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
and german layout everywhere! lets see whether I'll also manage to get us map working ...
if I change the one line to
<merge key="input.xkb.layout" type="string">de,us</merge>
everything gets mixed up again ... something to do with the gnome settings maybe?
all I want is to may switch witch setxkbmap between several layouts. that's all (just to remind you about that )
maybe to do witch xbindkeys that is running? let's check that out ...
not really except that I can make the @ sign by alt+q in terminal while having german layout there. but in firefox still us layout ...
Last edited by fourreux (2009-02-14 19:39:55)
Offline
I see the same problem here. setxkbmap no longer switches the keyboard layout for many apps (including firefox). It does work for terminal windows though. All this broke few weeks ago.
Offline
For me the thing that solved it (quite a while ago actually, so I can only hope it's the same problem as you have) was that 'variant' had to have the same amount of commas as 'layout'. See mine:
<merge key="input.xkb.layout" type="string">us,sk,de</merge>
<merge key="input.xkb.variant" type="string">altgr-intl,qwerty,</merge>
Offline
Append the following to ~/.xinitrc
setxkbmap "us,ru" ",winkeys" "grp:alt_shift_toggle,grp_led:scroll"
Every other method failed on my system. I have no HAL running and these lines in xorg.conf
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "AutoAddDevices" "False"
EndSection
Last edited by void_false (2009-03-06 18:44:29)
Offline
Pages: 1