This is the old SliTaz forum - Please use the main forum.slitaz.org

custom keyboard layout
  • johhnySjohhnyS February 2011
    So, im using the latest slitaz-cooking.


    How do i create a custom keyboard layout? Specifically, i'm aiming for a Czech QWERTY, which is not present in slitaz. A cz-lat2 (basically a czech QWERTZ) is, however, present.


    Been thinking of modifying the /usr/share/kmap/cz-lat.kmap file (all i need to do is to interchange the Y and Z letters), but i can't figure out the internal languge of that format.

    Any advices?
  • bellardbellard February 2011
    Try this :
    # tazpkg get-install Install kbd-base
    # gunzip /usr/share/kbd/keymaps/i386/qwerty/cz-lat2.map.gz
    # edit /usr/share/kbd/keymaps/i386/qwerty/cz-lat2.map
    # loadkeys /usr/share/kbd/keymaps/i386/qwerty/cz-lat2.map && dumpkmap > custom.kmap

    The package kbd-busybox is built like that (http://hg.tuxfamily.org/mercurialroot/slitaz/wok/file/tip/kbd-busybox/receipt)

    Would you mind give your cz-lat2 patch back (and a new name for cz-lat2) ?
    We may put it in the next release...
  • johhnySjohhnyS February 2011
    Bellard: there you go - cz-qwerty.kmap
    Though i would not blindly trust that file - i simply wasn't able to test that one; preferences -> keyboard mapping doesn't apparently work in slitaz-cooking with default settings.

    What worked for me instead was the following:
    su nano /etc/X11/xorg.conf.d/40-Keyboard.conf
    where i just changed the kb line to czech(qwerty)

    Linux in general is quite a mess - so many options, so many ways to do the same things (and so much time wasted figuring things out).
    It wouldn't hurt it if at least Slitaz aimed for consistency, though.
  • slicelslicel February 2011
    Could you please explain the commands to interchange Y and Z?

    Thank you

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social