You are not logged in.

#1 2007-11-06 10:37:58

saltcube
Member
Registered: 2007-10-18
Posts: 13

xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

hi!

since my systemupdate yesterday the xfce4-xkb-plugin is showing the wrong flags.
the german flag turns into the american flag and the norwegian is simply represented by (null).
also the norwegian layout seems to be messed up. small l turns into ł, s turns into ß, and so on.
While some letters still work perfectly. The german layout doesnt seem to be affected at all.

i had the SendCoreEvents problem as well. If that helps.

Im not sure which log files to post, so just tell me if you wanna see something.

Section "InputDevice"
    Identifier    "Keyboard0"
    Driver    "kbd"
    Option    "CoreKeyboard"
    Option    "XkbRules" "xorg"
    Option    "XkbModel" "pc105"
       Option  "XkbLayout"   "de,no"
    Option  "XkbOptions"  "grp:alt_shift_toggle"
EndSection

i guess its just a reinstallation / configuration problem .. but have no idea what to change. roll

waiting for help

EDIT: just found out that if i change the layout with 'setxkbmap no' in the terminal .. it works fine .. except that it still showes the american flag in the xfce panel .. nevertheless the setxkbmap seems to turn of the possibility to toggle layouts with alt shift since this has no effect any longer

EDIT2: running 'setxkbmap' without parameters seems to "fix" the problem .. the layouts work again and the flags are showed correctly ... but this is only a workaround

EDIT3: installed libx11 1.1.3-6 now .. still same behaviour

Last edited by saltcube (2007-11-06 17:08:22)

Offline

#2 2007-11-10 22:17:18

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

Same here, the only difference is, that I have us and cz keyboard. Us is fine, cz is fine, just the plugin shows (null) instead of czech flag (us flag is shown) and it won't remember per-window settings.

I observed this behaviour before, when I had xorg-server from testing repo installed. So, xserver is in suspition, BUT I've just installed Arch on my friend's lappy and the flag was fine. Until an unknown point in time. No changes in anything related to xorg (or at least I think) were made (only installed jdk, netbeans and pidgin). I don't know when exactly the plugin started to behave wrong but before netbeans, jdk and pidgin, it worked fine.

Atm I don't have time to look for it, but I'll try when I have some..

-miky


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#3 2007-11-10 23:03:37

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

Yep, works wink At least for this session smile

The cache theory would fit if it was not an issue on my friend's lappy since there it was a fresh and clean ftp install - just bleeding edge from scratch.  No multiversion caches could have possibly been there. It just worked and after reboot it did not. He just left so I didn't manage to  try it at his machine but on mine, as I said, it works. For now...

m.


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#4 2007-11-11 11:01:29

xo3e
Member
From: Prague, Czech Republic
Registered: 2007-11-11
Posts: 6

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

I'm experiencing very similar problem: the panel plugin refuses to show a flag (or even a name) for my alternate keyboard layout and displays "(null)" instead. My "alts_toggle" bothers me as well, as it switches from "us" to "cz" properly, but returns to default after pressing just one ALT key.  Here is my keyboard setting from xorg.conf:

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "us,cz"
    Option        "XkbVariant" ""
    Option        "XkbOptions" "grp:alts_toggle"
EndSection

and here is a message written by X every time I try to switch the layout via "alts_toggle" or by the panel plugin:

(xfce4-xkb-plugin:7203): GLib-CRITICAL **: g_utf8_strdown: assertion `str != NULL' failed

The problem occured after i updated glibc (2.7-4 -> 2.7-5) and xorg-server (1.4-4 -> 1.4-5).
I tried to remove and add the xfce4-xkb-plugin (as SoK0LiK suggested), I even reinstalled it, but it helped just for one XFce session, then it went wrong again. However, I doubt it is the plugin's fault.

EDIT:
Problems with "alts_toggle", that I reported above, seem to disappear. Switching layouts this way is now possible, however doing that with mouse still fails and the missing flag problem also lasts. The X server also stopped printing that nice message (xfce4-xkb-plugin:7203) when switching. I performed these upgrades: kernel26 (2.6.23.12-2 -> 2.6.23.12-3), xf86-video-ati (6.7.195-3 -> 6.7.197-1), xkeyboard-config (1.0-1 -> 1.1-1), xorg-server (1.4.0.90-1 -> 1.4.0.90-3), xorg-xauth (1.0.1-1 -> 1.0.2-1).

Last edited by xo3e (2007-12-29 11:39:08)

Offline

#5 2007-11-11 12:46:12

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

xo3e wrote:

I tried to remove and add the xfce4-xkb-plugin (as SoK0LiK suggested), I even reinstalled it, but it helped just for one XFce session, then it went wrong again. However, I doubt it is the plugin's fault.

As I suspected - neither it survived a session on my machine.

xo3e wrote:

The problem occured after i updated glibc (2.7-4 -> 2.7-5) and xorg-server (1.4-4 -> 1.4-5).

Thanks for great hint! I did an upgrade of glibc as well, just could not remember it :-) Now we can suspect locale settings is somehow messed in newest glibc and newest xserver can't handle it. I'll try to find some info about it when I come back since right now I've gotta go.

xo3e wrote:

I'm experiencing very similar problem: the panel plugin refuses to show a flag (or even a name) for my alternate keyboard layout and displays "(null)" instead. My "alts_toggle" bothers me as well, as it switches from "us" to "cz" properly, but returns to default after pressing just one ALT key.

I use this settings:

Section "InputDevice"
    Identifier  "Keyboard[0]"
    Driver      "kbd"
    Option      "Protocol" "Standard"
    Option      "XkbLayout" "us,cz"
    Option      "XkbModel" "pc104"
    Option      "XkbOptions" "grp:alt_caps_toggle,grp:switch,grp_led:scroll"
    Option      "XkbRules" "xorg"
EndSection

and toggling/switching works fine (i.e. it does not act weird in any way). Just the xfce-xkb-plugin shows (null) instead of Czech flag (or name) and won't remember per-window settings.

There is already a bugreport in flyspray but it's been closed for some reason. I've requestet reopening.

m.


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#6 2007-11-16 20:25:47

skipper13
Member
From: Kharkiv, Ukraine, QTH KN89DX
Registered: 2006-11-27
Posts: 67
Website

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

Please vote for bug

Offline

#7 2007-12-31 09:17:48

xo3e
Member
From: Prague, Czech Republic
Registered: 2007-11-11
Posts: 6

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

I noticed that the corresponding task (http://bugs.archlinux.org/task/8595) has been closed and proclaimed not to be a bug. However I haven't found any explanation or advice, how to make things right. Even though the comments to the task make some proposals, I find them to be more like workarounds than solutions. My xkb-plugin is still malfunctioning. Does anyone have a clue?

Last edited by xo3e (2007-12-31 09:18:18)

Offline

#8 2008-03-19 22:55:02

xo3e
Member
From: Prague, Czech Republic
Registered: 2007-11-11
Posts: 6

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

The problem still lasts by me. The correct flag is being shown for "us" layout only. After last upgrade, even my layout switching refuses to work (again). Here is a part of xorg.conf:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us,cz"
        Option      "XkbVariant" ""
        Option      "XkbOptions" "grp:alt_shift_toggle"
EndSection

The upgrade, that lead to the layouts' toggle malfunction:

mesa (7.0.3rc1-1 -> 7.0.3rc2-1)
pcmciautils (014-3 -> 014-4)
sdl (1.2.12-1 -> 1.2.13-1)
ttf-dejavu (2.23-1 -> 2.24-1)
xf86-video-ati (6.7.197-2 -> 6.8.0-2)
xkeyboard-config (1.1-1 -> 1.2-1)

I guess xkeyboard-config would be the key part... If I change "XkbOptions" to eg. "grp:alt_shift_toggle", layout switching works fine (however the xkb-plugin is still broken).

Last edited by xo3e (2008-03-19 22:55:37)

Offline

#9 2008-03-24 20:52:56

skipper13
Member
From: Kharkiv, Ukraine, QTH KN89DX
Registered: 2006-11-27
Posts: 67
Website

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

Same bug in another distro:
https://bugs.launchpad.net/xfce/+bug/43185

Last edited by skipper13 (2008-03-24 21:16:25)

Offline

#10 2008-05-26 11:52:27

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

I have this bug till now.


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#11 2008-06-24 18:43:33

xo3e
Member
From: Prague, Czech Republic
Registered: 2007-11-11
Posts: 6

Re: xfce4-xkb-plugin showing wrong flags / keyboard layouts messed up

The problem is gone after recent update:

xorg-server-utils (1.0.4-2 -> 7.3-1)
xorg-utils (1.0.2-4 -> 7.3-1)
xorg-server (1.4.0.90-13 -> 1.4.2-1)
catalyst-utils (8.5-1 -> 8.6-1)
catalyst (8.5-1 -> 8.6-1)
gtk2 (2.12.10-2 -> 2.12.10-3)
hwd (5.3.3-1 -> 5.3.4-1)
xextproto (7.0.2-1 -> 7.0.3-1)
xf86-input-keyboard (1.2.2-2 -> 1.3.1-1)
xf86-video-ati (6.8.0-2 -> 6.8.0-4)
xorg-util-macros (1.1.5-1 -> 1.1.6-1)
xorg-xdm (1.1.6-1 -> 1.1.8-1)
xorg-xinit (1.0.7-3 -> 1.1.0-1)
xproto (7.0.12-1 -> 7.0.13-1)

I hope it's for good, but still don't understand it...

Offline

Board footer

Powered by FluxBB