Additional keyboard layout appears after boot in Ubuntu 9.10

| No Comments | No TrackBacks
A bug report published on Nov-21-2009

I use two keyboard layouts in Ubuntu 9.10: Croatian (Croatia US keyboard with Croatian letters - default) and Bulgarian (Bulgaria Traditional Phonetic). I set these layouts immediately after installing Ubuntu 9.10 Netbook Remix on my Dell Mini 9. A week later I noticed that another keyboard layout was added to these layouts in the Keyboard Preferences Layouts tab (hr,bg    us,phonetic). When I right clicked on the keyboard indicator and selected Groups item I saw my keyboard layouts doubled, i.e.:

Croatia US keyboard with Croatian letters
Bulgaria Traditional Phonetic
Croatia US keyboard with Croatian letters
Bulgaria Traditional Phonetic

When I changed between the keyboards, the keyboard indicator changed in the following way: Hrv, Bgr, Hrv2, Bgr2 ("2" was displayed like an index). I tried to remove the additional keyboard layout (or group) by removing it from the Keyboard Preferences Layouts tab but after rebooting the computer this layout appeared again. I looked on the Internet for information about such a bug and found some similar cases which were fixed by adding "setxkbmap" to the Startup applications. I also added "setxkbmap" to the Startup applications but unfortunately after rebooting my computer the additional keyboard appeared again. Then I looked for more information and found suggestions to add options "XkbLayout" and "XkbVariant" to xorg.conf file. Unfortunately I wasn't able to find such a file in /etc/X11/ directory, so I created it in this directory and put in it the content of a basic Intel xorg.conf (found here). Then I added an Input device section:

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "hr,bg"
    Option        "XkbVariant"    "us,phonetic"
EndSection

Finally, I saved the file and rebooted the computer. There was no effect at all: the additional keyboard layout appeared again.


Comment added on Nov-24-2009:

I kept trying to find a solution. Here is my [temporary and not perfect] solution:
When I booted the system I checked the Layouts tab in Keyboard preferences (right clicked on the keyboard indicator). Under Selected layouts I saw three lines: Croatia US keyboard with Croatian letters (marked as default), Bulgaria Traditional Phonetic and hr,bg    us,phonetic. I marked the third line (hr,bg    us,phonetic) as default and removed the first two lines. Then I rebooted, right clicked on the keyboard indicator, selected Groups and saw only two layouts: Croatia US keyboard with Croatian letters and Bulgaria Traditional Phonetic (not doubled!). In Layouts tab in Keyboard preferences window, under Selected layouts there was a single line: hr,bg    us,phonetic, marked as default. Unfortunately, when I switched between the layouts a third layout indicated with '??' appeared. When right clicked on the keyboard indicator ('??') and selected the Show current layout menu item, the Croatia US keyboard with Croatian letters appeared in the Keyboard layout window and the header of the window was 'Keyboard layout'. When I selected Show current layout with Hrv keyboard indicator the header of the Layout window was: 'Keyboard layout "Croatia US keyboard with Croatian letters" ' and when selected Show current layout with Bgr keyboard indicator the header of the Layout window was: 'Keyboard layout "Bulgaria Traditional Phonetic" '. Now I have to make a choice between two bugs:)


Comment added on Nov-25-2009:

After the updates on Nov. 25, 2009 (later also noticed after the updates on Jan. 5, 2010), I noticed a slight change of the keyboard layout switching behaviour: when I switched between keyboards, there was an 'idle' press of the layout change key (in my case it is the left Win key) (or click on the indicator) between Bgr and Hrv keyboards. Yesterday it was indicated by '??' on the keyboard indicator, today it wasn't indicated at all but when I right clicked on the Bgr keyboard indicator after this idle press and selected the Show current layout menu item, the Croatia US keyboard with Croatian letters appeared in the Keyboard layout window and the header of the window was 'Keyboard layout' (not: 'Keyboard layout "Croatia US keyboard with Croatian letters" ' or 'Keyboard layout "Bulgaria Traditional Phonetic" ').


Noticed on Dec-2-2009:

When changing from Bgr keyboard there is an 'idle' press, the layout indicator is not changing, but in fact the Croatian keybord is activated. 'Show current layout' menu item shows the Croatia US keyboard with Croatian letters, but the header of the window is 'Keyboard layout' only. The second press after the Bgr keyboard changes the keyboard to the Croatia US keyboard with Croatian letters, layout indicator is Hrv and the header of the current layout window is 'Keyboard layout "Croatia US keyboard with Croatian letters" '.


Noticed on Dec-3-2009:

When I booted the computer the layout switching behaviour was as on previous day. After I started gbgoffice the behaviour changes as I noticed it on Nov-24-2009. I installed gbgoffice on Nov-1-2009 (GTK BG Office assistant - version 1.4 - installation from Ubuntu Software Center. I wasn't able to install version 1.8 because of qt3 problem which I couldn't solve).


On my desktop computer where Ubuntu Desktop 9.10 is installed, the situation is the same.

No TrackBacks

TrackBack URL: http://softisbg.com/MTOS-4.32-en/MT-5.2.10/mt-tb.cgi/9

Leave a comment

Pages

Powered by Movable Type 5.2.10

About this Entry

This page contains a single entry by Harry Stojan published on januar 6, 2010 7:18 PM.

What will I remember about 2009? was the previous entry in this blog.

In Lissani memoriam is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.