This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE doesn't pick up keyboard layout until set manually

Tags: None
(comma "," separated)
alvanx
Registered Member
Posts
136
Karma
1
OS
For different reasons I have to use different keyboard layouts, but I have had problems with multiple layouts in the past repeatedly (but that shouldn't matter too much).

Now I have yet another issue. With three specific layouts enabled, KDE just doesn't set them right.

Here is the command that X.org should receive from KDE at startup:
Code: Select all
setxkbmap -model pc104 -layout de,gr,de -variant deadgraveacute,polytonic,neo


As you can see, there are three layouts; two German (one an ergonomic variant) and one Greek. However, instead of the third layout (the German neo), my keyboard changes to Hebrew when I activate it. (The other two layouts work fine for the time being.) The reason it does this is probably because previously, I did have Hebrew set as the third layout. I have tried to find the reason for this behavior but failed so far, and I think I have searched every possibly related config file (including kxkbrc and Xorg.conf).

Now what is really interesting is that everything works fine when I set it manually:
Code: Select all
alvanx@ICHTHYS:~> setxkbmap -model pc104 -layout de,gr,de -variant deadgraveacute,polytonic,neo
alvanx@ICHTHYS:~>


So this is clearly a KDE issue. KDE seems to just not receive the command somehow.

Is there a fix for this or is it a bug?

openSUSE 11.2, KDE 4.4.3 (Factory)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you please post a screenshot of System Settings > Region & Language > Keyboard Layout?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
alvanx
Registered Member
Posts
136
Karma
1
OS
Totally!

Image

Uploaded with ImageShack.us
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please check in ~/.kde4/Autostart, ~/.config/autostart and ~/.kde4/env for scripts which may be applying your X keyboard layout.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
alvanx
Registered Member
Posts
136
Karma
1
OS
There is nothing in ~/.kde4/env/, there's a kde-basket.desktop starter in ~/.kde4/Autostart/, there are two plasma, one dropbox and two beagle starters in ~/.config/autostart/. I checked if the plasma starters where modifying anything (just in case), but none of them seem to do anything.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
To isolate problems from a stale configuration, can you try and reproduce under a new user?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
alvanx
Registered Member
Posts
136
Karma
1
OS
Everything works with a new user.

I also thought that it might be helpful to see if the problem would occur with a new .kde4 folder. It didn't.

That leads me to remember that I did play (or mess) around with xmodmaps. I had to because the X.org versions from the buildservice repo had messed up my keyboard layouts. I wonder if it is possible to somehow reset this stuff, and if that could help the problem?

Thanks a lot already!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please try removing the file ~/.Xmodmap

Otherwise, you will need to find the script which is executing xmodmap during the login procedure.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
alvanx
Registered Member
Posts
136
Karma
1
OS
That did the trick. Thanks a lot.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]