xkb crashes, when using two keyboard layouts with two different keyboard variants. With this configuration in /etc/hal/fdi/policy/10-keymap.fdi xkb is starting and working correctly: <merge key="input.xkb.layout" type="string">de,ru</merge> <merge key="input.xkb.variant" type="string">nodeadkeys</merge> But with this settings nodeadkeys is ignored by X. See my bug report there: http://bugs.freedesktop.org/show_bug.cgi?id=19897 In the answer I was pointed to a syntax error in my configuration. With the correct configuration X is working correctly, but xkb crashes, when it's added to the panel: <merge key="input.xkb.layout" type="string">de,ru</merge> <merge key="input.xkb.variant" type="string">nodeadkeys,</merge>
Could you post the full contents of /etc/hal/fdi/policy/10-keymap.fdi? Could you also specify which version of the plugin are you using? I'm not so familiar with the HAL way to configure Xkb and so far I didn't manage to create a file that correctly configures the keyboard with your settings. I tried configuring the layouts through setxkbmap: setxkbmap -layout de,ru -variant nodeadkeys, -option grp:alt_shift_toggle and the plugin did not not crash. I also tried to configure the layouts through the plugin and it did not crash.
Created attachment 2143 10-keymap.fdi
Created attachment 2144 10-x11-input.fdi
Created attachment 2145 xorg.conf
Could you also specify which version of the plugin are you using?
I attached the files, which are necessary to configure the input devices for the new evdev driver from xorg with hal: /etc/hal/fdi/policy/10-keymap.fdi /etc/hal/fdi/policy/10-x11-input.fdi /etc/X11/xorg.conf These are the versions I'm using: xfce4-xkb-plugin 0.5.1 xf86-input-evdev 2.1.0 xorg-server 1.5.3 xorg 7.4 I haven't used setxkbmap, yet. I always configured the keyboard in xorg.conf and now in the two fdi files above. I wasn't able to configure the layouts in the plugin. Originally I only had de and nodeadkeys in 10-keymap.fdi. When I needed to enter a few russian words in cyrillic some days ago, I first tried to add the keyboard layout in the plugin. It seemed to have added ru, but after closing the settings dialog and trying to switch to ru, it crashed. And now it's always crashing, except if I have the wrong settings in 10-keymap.fdi: <merge key="input.xkb.layout" type="string">de,ru</merge> <merge key="input.xkb.variant" type="string">nodeadkeys</merge> It's also crashing, if I only have de in 10-keymap.fdi: <merge key="input.xkb.layout" type="string">de</merge> <merge key="input.xkb.variant" type="string">nodeadkeys</merge> Btw., where does the plugin save its own settings?
Created attachment 2146 My preferences.fdi file
The settings are stored in ~/.config/xfce4/panel/xkb-plugin-$ID.xml, where $ID is the ID of the plugin, as specified in ~/.config/xfce4/panel/panels.xml. I did store the 10-keymap.fdi and 10-x11-input.fdi files in /etc/hal/fdi/policy, but for some reason it didn't take effect (also I restarted hal of course). I have attached my preferences.fdi file, where I have specified the options, which do manage to set up your keymap through hal. I saw that syntax here: http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi Yesterday I released a new version of the plugin - 0.5.3.1. Could you try to build that version and check whether the problem remains. (A segfault problem, causing a crash in the plugin was fixed in that version, and it's possible that this is the problem you are expiriencing.)
(In reply to comment #8) > The settings are stored in ~/.config/xfce4/panel/xkb-plugin-$ID.xml, > where $ID is the ID of the plugin, as specified in > ~/.config/xfce4/panel/panels.xml. I don't have this file. Maybe it was automatically deleted, when I removed the plugin from the panel. > I did store the 10-keymap.fdi and 10-x11-input.fdi files in > /etc/hal/fdi/policy, but for some reason it didn't take effect > (also I restarted hal of course). > > I have attached my preferences.fdi file, where I have specified > the options, which do manage to set up your keymap through hal. > I saw that syntax here: > http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi I'll have a look at these files. > Yesterday I released a new version of the plugin - 0.5.3.1. > Could you try to build that version and check whether the > problem remains. (A segfault problem, causing a crash in the > plugin was fixed in that version, and it's possible that this > is the problem you are expiriencing.) The Archlinux package is already flagged out of date. So let's wait some days, until it's updated in the official Archlinux repos. I'll tell you, as soon as it's updated there.
(In reply to comment #8) > Yesterday I released a new version of the plugin - 0.5.3.1. > Could you try to build that version and check whether the > problem remains. (A segfault problem, causing a crash in the > plugin was fixed in that version, and it's possible that this > is the problem you are expiriencing.) Finally Archlinux has updated Xfce to 4.6.0 and this plugin to 0.5.3.2, The crash problem seems to be solved. But now there's another bug in it. But I'll open a new bug report for this one, if this bug wasn't already filed.