After upgrade in kubuntu there are no keyboard layouts

Bug #67612 reported by Katsudon
10
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

A fresh (1 day old) Dapper Drake kubuntu/ubuntu installation was upgraded to Edgy Eft. In Kubuntu-> System Settings -> Regional and Accesibility -> Keyboard Layout there are no available keyboard layouts. In gnome there is no such problem.

Revision history for this message
Michael Vogt (mvo) wrote :

I subscribed Jonathan to this report because I don't know what package is responsible for displaying the keyboard layout in kde.

Changed in update-manager:
status: Unconfirmed → Needs Info
Revision history for this message
jcfp (jcfp) wrote :

Same here, upgraded from Dapper to Edgy, all keyboard layouts in KDE are gone. Nothing under "xkb options" either (iirc there was alot of stuff there before?).

Revision history for this message
Katsudon (katsudon) wrote :

After reinstall of edgy the problem has gone (so personally I do not care too much about this bug anymore), but this was just to let you know.

Revision history for this message
alien (artuurs) wrote :

Same problem, i just edited language selector and it disappeared, after restart i began to look at the settings and noticed that keyboard layouts in system settings -> regional and language are empty and it isn't possible to enable, setxkbmap still works for changing languages

Revision history for this message
Lorenzo J. Lucchini (ljl) wrote :

The information at
http://lwn.net/Articles/175287/
helped first me and then another person solving this problem.

Symlinking /usr/share/X11/xkb to /etc/X11/xkb (which should exist - if /usr/share/X11/xkb also exists already as a directory, it is probably empty except for a README file, and can be removed) solved the problem.

Revision history for this message
Daniel Skov Klejnstrup (danielklejnstrup) wrote :

I have the same problem in Feisty (Upgraded some days ago, and again today!)

Since the first upgrade (Dapper -> Feisty) - I haven't been able to apply a danish keyboard layout, which is kinda screwing up my workstation! (Imagine having your 'a' and 'e' disabled... :( )

I've tried all the following upgrades, in the hope that they'll include a fix, but nothing yet it seems!

Revision history for this message
Michael Vogt (mvo) wrote :

I reassign this to kcontrol as this seems to be resposnsible for the keyboard managment.

I would appreciate the logs from the upgrade (/var/log/dist-upgrade*/ here so that I can have a close look.

Thanks,
 Michael

Revision history for this message
Daniel Skov Klejnstrup (danielklejnstrup) wrote : Re: [Bug 67612] Re: After upgrade in kubuntu there are no keyboard layouts

Hi Michael,

I will send you the log and the output from setxkbmap when I get to
work tomorrow!

I don't think it is an error in kcontrol, since setxkbmap doesn't work!

I run "setxkbmap -layout dk" - And it gives me an error i can't remember!

/Daniel

2007/3/12, Michael Vogt <email address hidden>:
> I reassign this to kcontrol as this seems to be resposnsible for the
> keyboard managment.
>
> I would appreciate the logs from the upgrade (/var/log/dist-upgrade*/
> here so that I can have a close look.
>
> Thanks,
> Michael
>
> ** Changed in: kdebase (Ubuntu)
> Sourcepackagename: update-manager => kdebase
>
> --
> After upgrade in kubuntu there are no keyboard layouts
> https://launchpad.net/bugs/67612
>

Revision history for this message
jcfp (jcfp) wrote :

This bug happened again after upgrading a new install of kubuntu edgy (comes with kde 3.5.5, keyboard layouts working fine) to kde 3.5.6 using kubuntu.org's packages. Once again, no layouts available in kde's keyboard control module just like when doing dapper -> edgy.

Symlinking /usr/share/X11/xkb to /etc/X11/xkb as posted by Lorenzo J. Lucchini at 2007-01-27 18:30:00 UTC fixes the problem.

Revision history for this message
Daniel Skov Klejnstrup (danielklejnstrup) wrote :

Hi again,

Symlinking /usr/share/X11/xkb to /etc/X11/xkb ???

You mean having "/etc/X11/xkb" point at "/usr/share/X11/xkb" - right?

How do I symlink a whole directory?

/Daniel

2007/3/16, yamal <email address hidden>:
>
> This bug happened again after upgrading a new install of kubuntu edgy
> (comes with kde 3.5.5, keyboard layouts working fine) to kde 3.5.6 using
> kubuntu.org's packages. Once again, no layouts available in kde's
> keyboard control module just like when doing dapper -> edgy.
>
> Symlinking /usr/share/X11/xkb to /etc/X11/xkb as posted by Lorenzo J.
> Lucchini at 2007-01-27 18:30:00 UTC fixes the problem.
>
> --
> After upgrade in kubuntu there are no keyboard layouts
> https://launchpad.net/bugs/67612
>

Revision history for this message
Mike Robinson (launchpad-multiwebinc) wrote :

I'm having the same problem, but I'm getting a permission denied error when making the symlink:

mike@mike:~$ sudo mv /etc/X11/xkb/ /etc/X11/xkb_bak
Password:
mike@mike:~$ sudo ln -s /usr/share/X11/xkb -> /etc/X11/xkb
bash: /etc/X11/xkb: Permission denied

Also, /etc/X11/xkb is far from empty:
mike@mike:~$ ls -la /etc/X11/xkb_bak/
total 40
drwxr-xr-x 10 root root 4096 2006-10-25 08:07 .
drwxr-xr-x 11 root root 4096 2007-03-21 10:35 ..
drwxr-xr-x 2 root root 4096 2006-10-25 08:04 compat
-rw-r--r-- 1 root root 0 2006-09-10 08:52 compat.dir
lrwxrwxrwx 1 root root 12 2007-01-31 13:34 compiled -> /var/lib/xkb
drwxr-xr-x 5 root root 4096 2006-10-25 08:04 geometry
-rw-r--r-- 1 root root 0 2006-09-10 08:52 geometry.dir
drwxr-xr-x 4 root root 4096 2006-10-25 08:04 keycodes
-rw-r--r-- 1 root root 0 2006-09-10 08:52 keycodes.dir
drwxr-xr-x 5 root root 4096 2006-10-25 08:04 keymap
-rw-r--r-- 1 root root 0 2006-09-10 08:52 keymap.dir
drwxr-xr-x 2 root root 4096 2006-10-25 08:04 rules
drwxr-xr-x 2 root root 4096 2006-10-25 08:04 semantics
-rw-r--r-- 1 root root 0 2006-09-10 08:52 semantics.dir
drwxr-xr-x 11 root root 4096 2006-10-25 08:04 symbols
-rw-r--r-- 1 root root 0 2006-09-10 08:52 symbols.dir
drwxr-xr-x 2 root root 4096 2006-10-25 08:04 types
-rw-r--r-- 1 root root 0 2006-09-10 08:52 types.dir
lrwxrwxrwx 1 root root 16 2007-01-31 13:34 xkbcomp -> /usr/bin/xkbcomp

mike@mike:~$ ls -R /etc/X11/xkb_bak/ | wc -l
360

Any ideas?

Revision history for this message
jcfp (jcfp) wrote :

"/usr/share/X11/xkb" is the directory that is empty except for some readme file; thus it should be the one moved out of the way and the symlink created in such a manner that the result reads:

# /bin/ls -l /usr/share/X11/xkb
lrwxrwxrwx 1 root root 12 2007-03-16 16:38 /usr/share/X11/xkb -> /etc/X11/xkb

clear now?

Revision history for this message
Mike Robinson (launchpad-multiwebinc) wrote :

I'm still getting a permission denied error:

mike@mike:~$ sudo mv /usr/share/X11/xkb/ /usr/share/X11/xkb_bak
mike@mike:~$ sudo ln -s /usr/share/X11/xkb -> /etc/X11/xkb
bash: /etc/X11/xkb: Is a directory
mike@mike:~$ sudo ln -s /etc/X11/xkb/ -> /usr/share/X11/xkb
bash: /usr/share/X11/xkb: Permission denied

Revision history for this message
Daniel Skov Klejnstrup (danielklejnstrup) wrote :
Download full text (4.4 KiB)

Hi there,

My /usr/share/X11/xkb& is far from empty!

I havent symlinked yet, but please see this:

butik@butik-desktop:~$ ls -la /etc/X11/xkb/
totalt 40
drwxr-xr-x 10 root root 4096 2007-03-01 14:58 .
drwxr-xr-x 11 root root 4096 2007-03-12 13:00 ..
lrwxrwxrwx 1 root root 25 2007-03-01 14:58 compat ->
/usr/share/X11/xkb/compat
lrwxrwxrwx 1 root root 29 2007-03-01 14:58 compat.dir ->
/usr/share/X11/xkb/compat.dir
-rw-r--r-- 1 root root 0 2006-05-18 11:47 compat.dir.dpkg-old
drwxr-xr-x 2 root root 4096 2006-08-06 02:00 compat.dpkg-old
lrwxrwxrwx 1 root root 12 2007-02-28 12:00 compiled -> /var/lib/xkb
lrwxrwxrwx 1 root root 27 2007-03-01 14:58 geometry ->
/usr/share/X11/xkb/geometry
lrwxrwxrwx 1 root root 31 2007-03-01 14:58 geometry.dir ->
/usr/share/X11/xkb/geometry.dir
-rw-r--r-- 1 root root 0 2006-05-18 11:47 geometry.dir.dpkg-old
drwxr-xr-x 5 root root 4096 2006-08-06 02:00 geometry.dpkg-old
lrwxrwxrwx 1 root root 27 2007-03-01 14:58 keycodes ->
/usr/share/X11/xkb/keycodes
lrwxrwxrwx 1 root root 31 2007-03-01 14:58 keycodes.dir ->
/usr/share/X11/xkb/keycodes.dir
-rw-r--r-- 1 root root 0 2006-05-18 11:47 keycodes.dir.dpkg-old
drwxr-xr-x 4 root root 4096 2006-08-06 02:00 keycodes.dpkg-old
lrwxrwxrwx 1 root root 25 2007-03-01 14:58 keymap ->
/usr/share/X11/xkb/keymap
lrwxrwxrwx 1 root root 29 2007-03-01 14:58 keymap.dir ->
/usr/share/X11/xkb/keymap.dir
-rw-r--r-- 1 root root 0 2006-05-18 11:47 keymap.dir.dpkg-old
drwxr-xr-x 5 root root 4096 2006-08-06 02:00 keymap.dpkg-old
lrwxrwxrwx 1 root root 24 2007-03-01 14:58 rules -> /usr/share/X11/xkb/rules
drwxr-xr-x 2 root root 4096 2007-03-01 14:58 rules.dpkg-old
lrwxrwxrwx 1 root root 28 2007-03-01 14:58 semantics ->
/usr/share/X11/xkb/semantics
lrwxrwxrwx 1 root root 32 2007-03-01 14:58 semantics.dir ->
/usr/share/X11/xkb/semantics.dir
-rw-r--r-- 1 root root 0 2006-05-18 11:47 semantics.dir.dpkg-old
drwxr-xr-x 2 root root 4096 2006-08-06 02:00 semantics.dpkg-old
lrwxrwxrwx 1 root root 26 2007-03-01 14:58 symbols ->
/usr/share/X11/xkb/symbols
lrwxrwxrwx 1 root root 30 2007-03-01 14:58 symbols.dir ->
/usr/share/X11/xkb/symbols.dir
-rw-r--r-- 1 root root 0 2006-05-18 11:47 symbols.dir.dpkg-old
drwxr-xr-x 11 root root 4096 2006-08-06 02:00 symbols.dpkg-old
lrwxrwxrwx 1 root root 24 2007-03-01 14:58 types -> /usr/share/X11/xkb/types
lrwxrwxrwx 1 root root 28 2007-03-01 14:58 types.dir ->
/usr/share/X11/xkb/types.dir
-rw-r--r-- 1 root root 0 2006-05-18 11:47 types.dir.dpkg-old
drwxr-xr-x 2 root root 4096 2006-08-06 02:00 types.dpkg-old
lrwxrwxrwx 1 root root 16 2007-03-01 14:25 xkbcomp -> /usr/bin/xkbcomp

butik@butik-desktop:~$ ls -la /usr/share/X11/xkb/
totalt 100
drwxr-xr-x 10 root root 4096 2007-03-01 14:58 .
drwxr-xr-x 5 root root 4096 2007-03-12 12:57 ..
drwxr-xr-x 2 root root 4096 2007-03-01 14:58 compat
-rw-r--r-- 1 root root 974 2006-11-28 16:44 compat.dir
drwxr-xr-x 4 root root 4096 2007-03-01 14:58 geometry
-rw-r--r-- 1 root root 3028 2006-11-28 16:44 geometry.dir
drwxr-xr-x 4 root root 4096 2007-03-01 14:58 keycodes
-rw-r--r-- 1 root root 3019 2006-11-28 16:44 keycodes.dir
drwxr-xr-x 5 ro...

Read more...

Revision history for this message
millenium-hand (yairgordon) wrote :

Lorenzo's fix helped me. Thanks!

$ cd /usr/share/X11
$ ls xkb
compiled # it only contains 1 directory
$ ls xkb/compiled # what's in that directory?
README.compiled # which is a text file.

# I now decided to rename the xkb directory to xkb.old, just in case I have to revert.
$ sudo mv xkb xkb.old

# Now let's do the symlink from Lorenzo's post above:
$ sudo ln -s /etc/X11/xkb xkb # create, in this directory, a symbolic symlink to /etc/X11/xkb, and call it xkb

# That's it! It works for me.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kdebase (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.