Page 1 of 1

LST issues - UTF8 + DE/German - which console font?

Posted: 06 Feb 2012, 22:35
by Rava
Ddunno if this is the right place here, since it is as valid for the x86-64 than it is for the 586er version...
Please move my post to a better place if this is not the perfect one....

My issue:

Which font do I need to choose when I use UTF-8 and the DE (German) Keyboad layout (I choose the nodeadkeys variant at one time)
I know I need to choose the right font at the

Code: Select all

"Please choose a font for use in console mode" 
part of the LST, but I have issues to get the solution via searching the Porteus forum, and my search-fu also failed with google...

Any hints? Any ideas?

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 07 Feb 2012, 17:49
by Hamza

Code: Select all

kmap=de
OR

Code: Select all

setxkbmap de

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 07 Feb 2012, 21:22
by Rava
^
But I get asked at one time by LST which console font I should use.... AT least there is one more German Porteus user in here, I just forgot his user name... Maybe he knows...

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 07 Feb 2012, 21:30
by Hamza
Every LST issues goes to fanthom.

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 07 Feb 2012, 23:01
by Rava
Hamza wrote:Every LST issues goes to fanthom.
Is there a sub-thread for LST questions?

Writing him a PM might help me solve my problem. But having a thread about that will also help others that might come after me to find the solution by just searching the forum...

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 07 Feb 2012, 23:08
by brokenman

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 08 Feb 2012, 09:34
by fanthom
@Rava

i have never checked it before and seems that choosing the font is not enough.
please use 'autoexec=unicode_start' cheatcode and you should be set.

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 08 Feb 2012, 21:13
by Rava
fanthom wrote:i have never checked it before and seems that choosing the font is not enough.
please use 'autoexec=unicode_start' cheatcode and you should be set.
You mean... I don't need to run LST, or let it run, but choose nothing when I get the "Please choose a font for use in console mode" part?

<feels like a noob when it comes to system font issues> *facedesks*

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 08 Feb 2012, 22:36
by fanthom
@Rava
choose 'lat0-16' as suggested by brokenman.
donet forget about 'autoexec=unicode_start' cheat.

we had plans for dropping this function from LST but i think we could leave it as at least one user needs it.

@brokenman
please add 'unicode_start' function to gtkdialog version of LST. it should be ok to do it through /etc/rc.d/init.d/unicode.sh script which would be run at the end of rc.S. no 'autoexec=' cheatocode will be necessary then.

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 08 Feb 2012, 23:56
by Rava
fanthom wrote:@Rava
choose 'lat0-16' as suggested by brokenman.
donet forget about 'autoexec=unicode_start' cheat.

we had plans for dropping this function from LST but i think we could leave it as at least one user needs it.
So, it's me again gettingthe special treatment ... I start feeling embarrassed due to that. xD
fanthom wrote:@brokenman
please add 'unicode_start' function to gtkdialog version of LST. it should be ok to do it through /etc/rc.d/init.d/unicode.sh script which would be run at the end of rc.S. no 'autoexec=' cheatocode will be necessary then.
What would I need to add into /etc/rc.d/init.d/unicode.sh ?
So far, no such file exists, so I could not look into it and could have found a comment telling me what to do...

(Yes, I prefer tweaking my system instead of needing more cheat codes at startup.)

Verfasst after 1 hour 10 minutes 32 seconds:
---Update---

So, you two meant "lat0-16.psfu", righto?

Another question
LST did make the largest download after it asked what I wanted as language in KDE... but I don't want to have KDE at all...
So it seems there is much potential to get rid of in the resulting module that LST created...
Any hints of what can be removed when zou don't want to use KDE at all?

Next question:
Are these errors in the terminal LST opens

Code: Select all

cat: /opt/porteus-scripts/language-selection-tool: No such file or directory
rm: cannot remove `/tmp/wrklst/.fatansw': No such file or directory
rm: cannot remove `/tmp/wrklst/.fat': No such file or directory
fatal errors?

Last question
Are all 2,781,663 bytes in 227 files in /usr/share/i18n/charmaps really needed?
I presume most could be deleted since my system won't use many of these...

Re: LST issues - UTF8 + DE/German - which console font?

Posted: 09 Feb 2012, 00:31
by fanthom
What would I need to add into /etc/rc.d/init.d/unicode.sh ?
a) unpack your locale module to /tmp/lst
b) run following commands:

Code: Select all

mkdir -p /tmp/lst/etc/rc.d/init.d /tmp/lst/etc/rc.d/rcS.d
cd /tmp/lst/etc/rc.d/rcS.d
ln -sf S-unicode.sh ../init.d/unicode.sh
c) save this:

Code: Select all

#!/bin/sh
# setup unicode in console

if [ "$1" = "start" ]; then
/usr/bin/unicode_start
fi
as /tmp/lst/etc/rc.d/init.d/unicode.sh
d) pack your locales module back
So, you two meant "lat0-16.psfu", righto?
yes, but you can skip .pfsu suffix.
make sure you have 'setfont -v lat0-16' in /tmp/lst/etc/rc.d/rc.font
Any hints of what can be removed when zou don't want to use KDE at all?
download kde module manually from here:
http://ponce.cc/porteus/x86_64/current/ ... tion-Tool/
extract it and then remove the same content from your locales module.
Are these errors in the terminal LST opens
they are harmless i guess
Are all 2,781,663 bytes in 227 files in /usr/share/i18n/charmaps really needed?
probably not but it was easier for me to include them all in generated module than creating another question which would confuse users even more.