Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: TaoTePuh on August 15, 2010, 12:09:59 PM
-
I studied the forum and the wiki. After that I could expand my system already quite well as a "german system" - even though some, for lack of knowledge, a little voodoo ...
So far I did the following :
tce-load -w glibc_apps
tce-load -w glibc_i18n_locale
tce-load -w glibc_gconv
tce-load -i glibc_apps
tce-load -i glibc_i18n_locale
tce-load -i glibc_gconv
sudo su
mkdir -p /usr/lib/locale
localedef -i de_DE -f ISO-8859-1 de_DE
localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
localedef -i de_DE -f UTF-8 de_DE.UTF-8
echo "usr/lib/locale/locale-archive" >> /opt/.filetool.lst
echo "glibc_gconv.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
Then a bit of Voodo (I do not know what's really needed):
tce-load -w glib2-locale.tcz
tce-load -w glibc_i18n_locale.tcz
tce-load -w icu.tcz
tce-load -w gucharmap-locale.tcz
tce-load -w libiconv-locale.tcz
tce-load -w util-linux-ng-locale.tcz
echo "glib2-locale.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
echo "glibc_i18n_locale.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
echo "icu.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
echo "gucharmap-locale.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
echo "libiconv-locale.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
echo "util-linux-ng-locale.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
And then, because I work in bash (can not work without CTRL+R) and need mc:
echo "bash-locale.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
echo "mc-locale.tcz" >> $(cat /opt/.tce_dir)/onboot.lst
Then added bootcodes in boot/grub/menu.lst :
lang=de_DE.UTF-8 kmap=de_alt_UTF-8
backup / reboot
This already looks very good times ...
geany, emel firefox, thunderbird running good ...
The days of aterm is counted lxterm is my new friend ...
But now my problems :
1.) file system
echo "äöü€" > äöü€.txt
ls -l äöü€.txt
-rw-r--r-- 1 tc staff 10 Aug 15 17:12 ?????????.txt
cat äöü€.txt
äöü€
The file name is garbled, even when I look at with emel.
However, when I create the file with emel, the name is correctly displayed. But only in emel (geany too ...), but not in the console:
ls -l *_emel*
-rw-r--r-- 1 tc staff 0 Aug 15 17:27 ???_emel.txt
MC always shows garbage, no matter how I create the file.
2.) MC
MC will start in German, but the "german umlauts" in messages are displayed wrong. For example, he shows "MenM-CM <" instead of "Menü".
3.) Samba-Shares
I mount my samba shares as follows
/bin/mount -t cifs //192.168.252.12/tmp /mnt/venus2.egs2.local/tmp -o uid=1001,gid=50,file_mode=0770,dir_mode=0770,iocharset=utf8,user=USER,password=PASSWORD
so with the Option iocharset=utf8. However, the file name with German umlauts are displayed wrong. Both in the console, as well as in emel.
Funny is that I can enter the name in the console properly (even the completion with TAB works!!!), but he will then be displayed incorrectly :
ls-l /mnt/venus2.egs2.local/tmp/saitensprünge.iso
-rwxrwx--- 1 tc staff 682669948 Dec 23 2008 /mnt/venus2.egs2.local/tmp/saitenspr??nge.iso
Maybe someone can help me. In the forum I have seen that some are from Germany here ... even if Bielefeld does not really exist ...
-
1) Which fs?
2, 3) In which console? Looks to be a missing font.
-
1) Which fs?
ext3 and cifs
2, 3) In which console? Looks to be a missing font.
LXTerminal, urxvt, but also over ssh (from konsole/KDE).
-
Looks like it's just busybox' ls not being completely locale-aware. Install coreutils.
As for console apps, it might be because our ncurses is not the UTF version to save space.
-
Oooooooh YES !!!
This looks like a lot better and also works with the samba-shares.
But unfortunately not for mc ... ;-(
BTW: I have coreutils thrown out of onboot.lst a few days ago ...
-
I have seen that some are from Germany here ...
and now 1 more.
Thanks for your "voodoo"
I have used it, see
http://forum.tinycorelinux.net/index.php?topic=6989.msg37171#msg37171 (http://forum.tinycorelinux.net/index.php?topic=6989.msg37171#msg37171)
-
Unfortunately I had in the meantime some trouble with the (tiny) UTF-8 setup. Currently is UTF-8 support of tiny inconsistent. I am therefore changed to de_DE@euro. My current setup, you can read here:
http://forum.tinycorelinux.net/index.php?topic=7025.msg37126#msg37126
+
G_FILENAME_ENCODING=iso8859-15 in /etc/profile