Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: Alain Mouette on April 26, 2010, 02:31:07 PM
-
I am trying to setup TinyCore with LXDE in portuguese, but for any lx* program that I run I get this:
tc@box:~$ LANG=en pcmanfm2
(process:2615): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale
If I use LANG=C I get no error, but I get this erro for whatever languge: en, de, en_US, pt_BR...
This appears to be something missing in some basic C libray, but google did not help this time. I installed
glib2-locale, glibc-i18n-locale, gtk2-locale but it did not help :(
Please Help!
-
Read this: http://forum.tinycorelinux.net/index.php?topic=1800.0
-
Thanks, that seems to be exactly my case.
BUT... ther is a problem: localedef is not present. It is listed under glibc-apps but it is not there. Is this a busybox problem? How can I get it?
I am running tinycore_2.10
-
Replying to myself...
This does fix the problem, I created the file /usr/lib/locale/locale-archive and transfered it to TinyCore and it works. Only problem is that there are lots of problems with UTF-8 characters...
The glibc-apps extension seems do be my problem, localedef is not included in TC-2.10. My UTF-8 problems would probably be fixed if I create the file with the propper version utilities.
Please help,
Alain
-
I just found more information about this...
The problem of the missing localedef was because I had too few loops. I added "max_loop=256" to boot command and now I can use it. I have around 95 loops with LXDE.
I still have a problem with UTF-8 chars in LXDE: they are not displayed properly and are repeated about 20 times...
I will revert to a clean image and do it all again, I hope that it will be ok :) but if anyone has any clue, please help!!!
-
Could be missing fonts. See if adding a few of the ttf extensions helps.
-
Ah - I was puzzled as to why you couldn't find localedef - at least that's sorted out.
-
Well, finaly I found why localedef was not found, I am writing this as a feedback. I hope that it will be usefull to others :)
The problem was caused because I had not enough "loop" devices to install all the apps and it's locales; The default is 80, but with Lxde and locales I need around 95. I am using this kernel command line and now it works:
tinycore quiet max_loop=256 kmap=br-abnt2 lang=pt_BR.UTF-8