Error activating XKB configuration

Johnny Rosenberg gurus.knugum at gmail.com
Sun Jun 1 00:16:51 UTC 2008


2008/5/30, Johnny Rosenberg <gurus.knugum at gmail.com>:
>
> I am not sure what I did, but the last three restarts resulted in the
> following error message:
>
> Error activating XKB configuration.
> It can happen under various circumstances:
> - a bug in libxklavier library
> - a bug in X server (xkbcomp, xmodmap utilities)
> - X server with incompatible libxkbfile implementation
>
> X server version data:
> The X.Org Foundation
> 10400090
>
> If you report this situation as a bug, please include:
> - The result of xprop -root | grep XKB
> - The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
>
> The result of the commands above is:
>
> xprop -root | grep XKB
> _XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "se-Johnny", "",
> "lv3:ralt_switch"
> _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "se-Johnny", "",
> "lv3:ralt_switch"
>
>
> gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
>  layouts = []
>  model =
>  options = [lv3 lv3:ralt_switch,altwin altwin:super_win]
>  overrideSettings = true
>
> Yes, I have my own configuration which worked perfectly with 7.10 and which
> worked perfectly with 8.04 until a few hours ago. I don't really know what
> to do next. The last thong I did before this happened was to include the
> following line in /etc/modprobe.d/alsa-base:
>
> options snd-hda-intel position_fix=1 model=3stack
>
> This is to make my sound card work, and it actually works; I have sound
> now. However, I can't see how this could be related to the error message I
> seem to get every time I login now. I don't only get that message, my
> keyboard configuration doesn't work either. I can't even type Swedish
> characters anymore.
>
> Anyone? Any help will be very appreciated.
>
> Johnny Rosenberg
>
I solved the problem. I even WAS the problem…

As you already guessed, "se-Johnny" is my own keyboard layout. It makes it
possible for me to reach a lot of characters quickly using the AltGr key,
sometimes in combination with Shift. For example, AltGr+Right Arrow gives →
and I can easily access characters like ℗, ·, ×, ⩽, ⩾, ≤, ≥, ☺, ☹, ‰, ℃, ℉,
☒, ☐, ☠ and so on.

However, when I just created my own configuration file se-Johnny, I found
that I needed to make changes in it now and then, because it's hard to guess
which characters I will find "important" in the long run. Since I need to be
root to do this, I found it to be easier to place the file in my home
folder, /home/guraknugen, or rather a few folders below that one, in this
case /home/guraknugen/Kontor/Blandat/Tangentkonfiguration. To make it work,
I created a link to
/home/guraknugen/Kontor/Blandat/Tangentkonfiguration/se-Johnny in the folder
/usr/share/X11/xkb/symbols.

A few days ago I thought that I would eliminate a minor problem. Some
applications put their own folders in /home/guraknugen, and I don't like
that they are in the same folder as my own folders. It just doesn't look
good, so I created a new folder, /home/guraknugen/Eget/. Eget means
something like "my own". It's almost like "My Documents" in Windows… Then I
moved all my other folders into that one. This means that the file
/home/guraknugen/Kontor/Blandat/Tangentkonfiguration/se-Johnny now doesn't
exist. It's now
/home/guraknugen/Eget/Kontor/Blandat/Tangentkonfiguration/se-Johnny instead.
This broke the link in /usr/share/X11/xkb/symbols, so the file se-Johnny was
never found. This was the reason for the error message this thread is all
about. All I had to do to fix it, was to remove that link and create a new
one, pointing to the right file.

No wonder no one else than I could solve it…

Johnny Rosenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080601/85ac542d/attachment.html>


More information about the ubuntu-users mailing list