Re: Keyboard layout – strange behaviour

Johnny Rosenberg gurus.knugum at gmail.com
Sun Nov 2 13:31:50 UTC 2014


2014-11-02 13:06 GMT+01:00 Tom H <tomh0665 at gmail.com>:

> 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.
>

Okay, googled a bit to learn what that is and then did my first try, which
looked like ”update-initramfs -u -k all”. Then restarted. Same problem:
Logging in as me, I have the old layout (even though the view feature tells
me that I have the new one), but when logging in as my wife I have the new
layout.

I guess I could create a new user and then delete the old one, but having
to do that every time I want to change my keyboard layout? I don't think
so… :P


Thanks for trying.


Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ




>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20141102/07bf2b11/attachment.html>


More information about the ubuntu-users mailing list