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

Initial system setup
  • ALPALP August 2010
    1. How to set UTF-8 font for terminal windows?
    2. How to set the keyboard layouts and switching keys?
    3. How to add the keyboard indicator on panel?
    4. How to change font antialiasing and hinting?
  • babaorumbabaorum August 2010
    Hi,

    1. Edit $HOME/.Xdefaults
    2. Edit $HOME/.config/openbox/rc.xml
    3. I don't know
    4. Same as upward

    --Babaorum
  • LexeiiLexeii August 2010
    1. Append file ~/.Xdefaults with this line:
      xterm*utf8: 1
      • edit /etc/X11/xorg.conf, my example:
        Section "InputDevice"
        Identifier "Keyboard0"
        Driver "kbd"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us,ru"
        Option "XkbVariant" ",winkeys"
        Option "XkbOptions" "grp:ctrl_shift_toggle,compose:ralt"
        EndSection
      • or create file /etc/hal/fdi/policy/10-keymap.fdi (you need to install evdev or try use kbd driver). My example:
        <?xml version="1.0" encoding="UTF-8"?>
        <deviceinfo version="0.2">
        <device>
        <match key="info.capabilities" contains="input.keyboard">
        <merge key="input.x11_driver" type="string">evdev</merge>
        <merge key="input.x11_options.XkbRules" type="string">xorg</merge>
        <merge key="input.x11_options.XkbLayout" type="string">us,ru</merge>
        <merge key="input.x11_options.XkbOptions" type="strlist">grp:ctrl_shift_toggle,compose:ralt</merge>
        <merge key="input.x11_options.XkbVariant" type="strlist">,winkeys</merge>
        </match>
        </device>
        </deviceinfo>
    2. You want to find file xkb.so from LXPanel in other distro and put this file to path /usr/lib/lxpanel/plugins. Then you may right-click on LXPanel and add Keyboard Switcher applet. If you want, I'm upload this file to you: link
      • Go to the /etc/fonts/conf.avail folder and carefully read content of files, select what you need. Example,
        • 10-sub-pixel-rgb.conf
        • 20-unhint-small-vera.conf
        Then you want to read /etc/fonts/conf.d/README and put symlinks from selected files from conf.avail folder to conf.d folder. You can try just to copy this files instead of symlinking.
      • If this not help, create file ~/.fonts.conf:
        <?xml version="1.0"?>
        <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
        <fontconfig>
        <match target="font">
        <edit mode="assign" name="rgba">
        <const>rgb</const>
        </edit>
        </match>
        <match target="font">
        <edit mode="assign" name="hinting">
        <bool>true</bool>
        </edit>
        </match>
        <match target="font">
        <edit mode="assign" name="hintstyle">
        <const>hintfull</const>
        </edit>
        </match>
        </fontconfig>
        and ~/.gtkrc-2.0.mine:
        gtk-xft-dpi=96
        gtk-xft-hinting=1
        gtk-xft-hintstyle=hintfull
        gtk-xft-rgba=rgb
        gtk-xft-antialias=1


    In 2, 3 & 4¹ answers you need super-user (root) rights.
  • ALPALP August 2010
    So I have created those files with rgba=none and antialias=false (and 0 in gtkrc), but my fonts still blurry. Why doesn't it work?
  • LexeiiLexeii August 2010
    @ALP, you want to ask maintainers for freetype >= 2.4.0. (See freetype in Wikipedia).
    You can also use Droid fonts, its free. Their look much better than DejaVu fonts.
    And you want switch off subpixel hinting only on CRT-monitors, else it should be switched on (if you want better look on TFT-displays)! And don't forget about freetype w/ bit-hinting.

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