• You are not logged in.

    xkb troubles (Ubuntu)

    • Started by nadav
    • 5 Replies:
    • Reputation: 0
    • Registered: 15-May-2006
    • Posts: 1

    Hello,

    I'm new to Colemak (and Linux) and I'm trying to add the layout to Kubuntu.

    According to your instructions I should put the file under  /etc/X11/xkb/symbols/pc/ but it doesn't exist in Kubuntu (there is, however, a file named pc under symbols).

    Any help would be appreciated :)

    Nadav.

    Offline
    • 0
    • Shai
    • Administrator
    • Reputation: 36
    • Registered: 11-Dec-2005
    • Posts: 423

    Shortly after Ubuntu 6.06 LTS will come out (planned for 1-June-2006) I'll create specific instructions for Ubuntu and Kubuntu.
    In the meanwhile, you can use the xmodmap solution if you can't get the XKb method to work.

    Offline
    • 0
    • Shai
    • Administrator
    • Reputation: 36
    • Registered: 11-Dec-2005
    • Posts: 423

    Here's the workaround for Ubuntu. The reason why it didn't work is new versions of Ubuntu don't have a a pc/ directory

    cp x11/colemak /etc/X11/xkb/symbols/colemak
    perl -i.bak -pe 's#pc/us#us#g' /etc/X11/xkb/symbols/colemak
    setxkbmap -v -symbols "pc(pc104)+colemak" && xset r 66
    Offline
    • 0
    • Reputation: 0
    • Registered: 06-Jul-2006
    • Posts: 1

    Thanks for the new layout!

    regarding the workaround:
    Same on gentoo with the new xkb package.
    Just replace  ' include "pc/us(basic)" ' in the colemak file with ' include "us(basic)" ' since the pc directory is gone.

    Offline
    • 0
    • pt
    • New member
    • Reputation: 0
    • Registered: 12-Sep-2006
    • Posts: 2

    on Ubuntu 6.06.1
    when type

    setxkbmap -v -symbols "pc(pc104)+colemak" && xset r 66

    they say

    Cannot open display "default display"

    Offline
    • 0
    • pt
    • New member
    • Reputation: 0
    • Registered: 12-Sep-2006
    • Posts: 2

    already done by

    cp x11/colemak /etc/X11/xkb/symbols/colemak
    perl -i.bak -pe 's#pc/us#us#g' /etc/X11/xkb/symbols/colemak

    open
    /usr/lib/X11/xkb/rules/xorg.xml

    find the node   <layoutList>
    and copy this snippet of xml inside:

            <layout>
                <configItem>
                    <name>colemak</name>
                    <shortDescription>Colemak</shortDescription>
                    <description>Colemak see colemak.com</description>
                </configItem>
            </layout>

    that it !

    reference
    https://forum.colemak.com/viewtopic.php?id=48

    Last edited by pt (12-Sep-2006 15:50:58)
    Offline
    • 0