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

[SOLVED] Slitaz in Polish - keyboard and spell check problems.
  • GawronGawron November 2010
    Slitaz is excellent distro. Simply the best for older thinkpads.
    The only issue I have with this great OS is my locale.
    First of all if someone like me uses polish programmers keyboard, and we all in Poland use that layout, he/she should edit as superuser the file
    # nano /etc/X11/xorg.conf

    and change the line in section "InputDevice"
    Option      "XkbLayout" "pl2"

    to
    Option      "XkbLayout" "pl"

    On next log-in you will have all polish letters, even in terminal.
    This method works only on stable 3.0. On cooking change:
    # nano /etc/X11/xorg.conf.d/40-Keyboard.conf
    XkbLayout to pl
    More info on discussion Polish keymap in cooking
    The second problem is polish spell checking. I created a receipt with aid of english aspell for building polish aspell dictionary.

    # SliTaz package receipt.

    PACKED_SIZE="512,3KB"
    UNPACKED_SIZE="1,8M"
    PACKAGE="aspell-pl"
    VERSION="6.0_20061121-0"
    CATEGORY="system-tools"
    SHORT_DESC="Polish aspell dictionary"
    MAINTAINER=""
    DEPENDS="aspell"
    BUILD_DEPENDS="aspell aspell-dev"
    SOURCE="aspell6-pl"
    TARBALL="$SOURCE-$VERSION.tar.bz2"
    WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html"
    WGET_URL="ftp://ftp.gnu.org/gnu/aspell/dict/pl/$TARBALL"

    # Rules to configure and make the package.
    compile_rules()
    {
    cd $src
    ./configure && \
    make && make DESTDIR=$PWD/_pkg install
    }

    # Rules to gen a SliTaz package suitable for Tazpkg.
    genpkg_rules()
    {
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib $fs/usr/lib
    }


    and made my dictionary. Unfortunately aspell-pl dictionary don`t works
    When I check a file with
    aspell -d pl check dlaaspell.txt
    it says
    The file "/usr/lib/aspell-0.60/pl" can not be opened for reading

    There is no polish dictionary in this folder. Something is wrong in my receipt.
    Could you please verify and correct my receipt?
  • LineaLinea November 2010
    Hi Gawron

    You just made a tiny typo in genpkg_rules(): cp -a $_pkg/usr/lib/* $fs/usr/lib

    You could also use:

    mkdir -p $fs/usr
    cp -a $_pkg/usr/lib $fs/usr

    If you like we could add to the official repos for you.

  • GawronGawron November 2010
    Thank You Linea. I have corrected and tested the receipt it works now. I have polish dictionary even in abiword. Yes I`d like, add it please to the repos. Thanks again you have solved my problem.
  • LineaLinea November 2010
    Hi Gawron

    Is it OK to add your email to the MAINTAINER=
  • GawronGawron November 2010
    Hi Linea
    This email is not very important for me, but I'm afraid, that I'm not good enough to be a real maintainer. I'm only a Linux user and don't now how to synchronize my computer data with servers etc. Real maintainer should now that.
  • GawronGawron November 2010
    Hi Linea
    Thank you for your assistance. I'm very happy, that soon in Slitaz will be polish aspell dictionary available with one mouse click.
This discussion has been closed.
← All Discussions

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