Tiny Core Base > CorePlus
Application not showing correctly
Juanito:
Assuming getlocale.sh ran properly and you have mylocale set "onboot", what does the command "locale" give after rebooting?
patrikg:
This gives me my correct locale and timezone and keymaps for console for Sweden, this is my bootoptions.
--- Code: ---showapps tz=CET-1CEST,M3.5.0,M10.5.0/3 kmap=qwerty/sv-latin1 lang=sv_SE
--- End code ---
https://wiki.tinycorelinux.net/doku.php?id=wiki:boot_codes_explained
And this is how i get Swedish characters in X11.
--- Code: ---sudo su
mkdir -p /etc/X11/xorg.conf.d/
echo -e "Section \"InputClass\"" > /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tIdentifier \"keyboard defaults\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tMatchIsKeyboard \"on\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tOption \"XkbModel\" \"pc105\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tOption \"XkbLayout\" \"se\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tOption \"XkbVariant\" \"nodeadkeys\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "\tOption \"XkbOptions\" \"terminate:ctrl_alt_bksp\"" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "EndSection" >> /etc/X11/xorg.conf.d/se_keyboard.conf
echo -e "etc/X11/xorg.conf.d/se_keyboard.conf" >> /opt/.filetool.lst
filetool.sh -b -v
--- End code ---
t18:
Yes, getlocale.sh run properly, mylocale.tcz is onboot and I've set LANG in the /etc/sysconfig/language.
Pease see the attached image.
And it seem that printf is not working:
--- Code: ---tc@box:$ printf "\u0054\n"
\u0054
--- End code ---
Rich:
Hi t18
--- Quote from: t18 on May 19, 2025, 06:35:24 AM --- ... And it seem that printf is not working: ...
--- End quote ---
It's possible the shell printf can not handle unicode.
Try /usr/bin/printf
Or install coreutils and try /usr/local/bin/printf
t18:
No way, please se attached image.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version