Re: Keyboard layout – strange behaviour
Tom H
tomh0665 at gmail.com
Sun Nov 2 12:06:30 UTC 2014
On Sun, Nov 2, 2014 at 4:45 AM, Johnny Rosenberg <gurus.knugum at gmail.com> wrote:
>
> I have had my own keyboard layout for years now, I think at least since 2008
> or so. I call it ”Johnny Rosenberg” and it works perfectly. The actual
> keyboard (the hardware) is Swedish and I am too. Surprise…
>
> Today I finally did some changes since I was kind of annoyed about some
> character locations. The change involved two keys.
> Before change:
> 7-key (at the line above the ”qwerty” line):
> |
> Shift → /
> AltGr → {
> Shift+AltGr → /
>
> ¨-key (at the ”qwerty” line to the right of the ”å” key:
> ¨ (dead key)
> Shift → ^ (dead key)
> AltGr → ~
> Shift+AltGr → ˇ (dead key)
>
> Now I want to move three characters around a bit: /, | and ¨.
> After change:
> 7-key (at the line above the ”qwerty” line):
> /
> Shift → ¨ (dead key)
> AltGr → {
> Shift+AltGr → /
>
> ¨-key (at the ”qwerty” line to the right of the ”å” key:
> |
> Shift → ^ (dead key)
> AltGr → ~
> Shift+AltGr → ˇ (dead key)
>
>
> So I made the necessary changes to /usr/sgare/X11/xkb/symbols/se and I even
> restarted the computer.
> I also selected another layout, then my own layout again and so on, but no
> matter what I do (so far, at least), my old layout is still used. The layout
> view thing tells me my new layout, but the result of pressing keys still
> gives me the old one!
>
> How do the system even know my old layout? It's removed from the system! Or
> isn't it? I could easily change the layout like this in earlier Ubuntu
> versions, is something added now, like I need to ”compile” the files or
> something? At least that wasn't needed when I added my layout right after
> doing a fresh install of Ubuntu 14.04. I just replaced the se file with my
> own (and also the evdev.xml and evdev.lst, but there are no further changes
> needed in those in this particular case).
Try rebuilding the initramfs.
More information about the ubuntu-users
mailing list