Public bug reported:

Binary package hint: gnome-control-center

I have created my own keyboard layout since the standard Swedish layout
(and all other layouts) sucks. I'll attach all the files involved in
this.

The layout worked perfectly with Ubuntu 8.04.

Since I installed 8.10 I have had problems with it though. I fixed a few
of them myself, but this problem seems to be a bug rather than something
wrong with my files.

I created my layout in a separate file, called ”se-Johnny” (Johnny is my
name, by the way…). It contains the whole layout, which is built on the
”se” layout. The layout includes characters on some odd keys, like the
arrow keys. Pressing AltGr+Right Arrow gives me an →, for example.
AltGr+Enter = ↵ and AltGr+Shift+Enter=¶… Well, you get the point…

”se-Johnny” is actually a link, pointing to a file located somewhere in
my home directory. This is because I want to be able to change the
layout easily without having to open it as Root. However the owner of
the link itself is Root, I think.

I also needed to change two files, evdev.lst and evdev.xml, to make my
layout reachable. I will attach those. To find my changes, open them in
a text editor and search for ”Rosenberg” (that's my last name…). In
evdev.lst I added one line and in evdev-xml I added a few lines,
starting with <layout>, ending with </layout>. You will find it easily.

To set my new layout, I do gnome-keyboard-properties → click layouts →
add → click the ”by language” tab (it isn't available in the ”by
country” tab -  it was in Ubuntu 8.04 though) → select Swedish and the
variant will automatically be ”Johnny Rosenberg”.

This works fine for a couple of hours or so, but now and then I suddenly
notice that my old layout is back again. Unfortunately I can never tell
what I did right before that happened, since it's only when I type some
non alphabetical characters that there is a difference. For example, I
have no numbers above the qwerty-row, I have them all at the numerical
keypad, so pressing ”7” results in a ”/”, no Shift is needed. But
sometimes, the result will be ”7” anyway, and that's the most common
situation for discovering that the keyboard layout has changed.

To get it back, this is not enough:
gnome-keyboard-properties → click layouts → Select Johnny Rosenberg.
This will no nothing, the old layout is still active (even since the ONLY 
option in the layouts field is ”Johnny Rosenberg”.

To really get my own layout back, I have to do the following:
gnome-keyboard-properties → click layouts → add → click the ”by language” tab → 
select Swedish, the variant will automatically be ”Johnny Rosenberg” → add → 
Select the new layout → the new layout can now be deleted if you don't want the 
same layout twice.

As I said, unfortunately I can not say exactly when my layout is changed
back to what is probably the Standard Swedish layout, but there are a
few applications that I use all the time: OpenOffice.org (2.4.1 and
3.0.0) and Opera 9.62 are probably the most common ones.

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: custom keyboard layout

-- 
Ubuntu "forgets” my keyboard layout sometimes
https://bugs.launchpad.net/bugs/303769
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to