Results 1 to 3 of 3

Thread: How to add keyboard layout?

  1. #1
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    How to add keyboard layout?

    I've just noticed that I'm unable to add new keyboard layout through Systemsettings>KeyboardLayout. "+" is grayed and...
    I can erase existing layout(s)... I can shuffle them around. I can change current layout OK...
    Just no way to add new one...
    Also, I can not find way to change pc105 to pc102 (or the other way around) keyboard in existing layouts...
    Existing layouts were made during install as far as I can recall... Or while I was still on 12.10 before upgrade to 13.04 in recent re-install...
    What is this old head of mine missing?
    Reason because I discovered this is that I want to make (somehow) Super key to work on this old pre-pre-Win IBM keyboard of mine to test these Launcher hints ...

    Update₁: OK, I've changed Super to another combination and I can now test hints in Launcher... But the question given above still stands...
    (I must admit that most of the time I spend in dwm, spectrwm, fvwm so I'm used to change keyboard layout through setxkbmap, but of course this GUI way worked for me earlier, I do not know if it worked in RR...)
    Luckily I've set keyboards OK on the first attempt (probably in install time) and now I have to be careful not to erase any of these because I'll not be able to get it back...
    Last edited by zika; December 7th, 2012 at 11:57 AM.

  2. #2
    Join Date
    Oct 2012
    Beans
    187

    Re: How to add keyboard layout?

    all keyboard layouts are in
    Code:
    /usr/share/X11/xkb/symbols/
    folder.

    To add a new none existing (not already present in the above mentioned folder) keyboard layout, you need to put the layout file in that folder. Then you need to put an entry for this new layout in
    Code:
    /usr/share/X11/xkb/rules/evdev.xml
    file. Putting entry in this file will enable you to see it in SystemSettings > Keyboard Layouts

    Then you can use the + button to add it to the active layouts used on your system.

  3. #3
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to add keyboard layout?

    Quote Originally Posted by pkadeel View Post
    all keyboard layouts are in
    Code:
    /usr/share/X11/xkb/symbols/
    folder.

    To add a new none existing (not already present in the above mentioned folder) keyboard layout, you need to put the layout file in that folder. Then you need to put an entry for this new layout in
    Code:
    /usr/share/X11/xkb/rules/evdev.xml
    file. Putting entry in this file will enable you to see it in SystemSettings > Keyboard Layouts

    Then you can use the + button to add it to the active layouts used on your system.
    I think I've accomplished the same via
    Code:
    gksu gnome-control-center
    It looks a bit counter-intuitive to me, but, who am I to complain...
    It was available to ordinary user before, or I might be wrong...
    I'll investigate Your suggestion in the next break. Thank You...

    Update₁: Strolling through the file You've pointed me to, I've found the way to make CapsLock a new Super... The thing about adding new layout will have to wait to the next break. Thank You...
    Update₂: Still on break: Many (including ones that I want to add) keyboard layouts are in that file... But... So, the only way I see at this moment is via
    Code:
    gksu gnome-control-center
    Funny, when I do that I do not see English keyboard and a secondary local one that I already have in my user's
    Code:
    gnome-control-center
    ... Something is going astray here... I can live with that, I'll refrain to setxkbmap if needed, but it still is astray...

    Update₁: Behavior of keyboard switcher depends on kernel being used... It is even more astray if I try to use 3.6(liquorix)... Not to mention that setting about Super key is in some instances bluntly overlooked... I'll look into this more...
    Last edited by zika; December 7th, 2012 at 02:50 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •