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

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

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

Post#1 by Rava » 06 Feb 2012, 22:35

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?
Cheers!
Yours Rava

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

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

Post#2 by Hamza » 07 Feb 2012, 17:49

Code: Select all

kmap=de
OR

Code: Select all

setxkbmap de
NjVFQzY2Rg==

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

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

Post#3 by Rava » 07 Feb 2012, 21:22

^
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...
Cheers!
Yours Rava

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

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

Post#4 by Hamza » 07 Feb 2012, 21:30

Every LST issues goes to fanthom.
NjVFQzY2Rg==

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

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

Post#5 by Rava » 07 Feb 2012, 23:01

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...
Cheers!
Yours Rava

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

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

Post#6 by brokenman » 07 Feb 2012, 23:08

How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#7 by fanthom » 08 Feb 2012, 09:34

@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.
Please add [Solved] to your thread title if the solution was found.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

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

Post#8 by Rava » 08 Feb 2012, 21:13

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*
Cheers!
Yours Rava

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#9 by fanthom » 08 Feb 2012, 22:36

@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.
Please add [Solved] to your thread title if the solution was found.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

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

Post#10 by Rava » 08 Feb 2012, 23:56

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...
Cheers!
Yours Rava

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#11 by fanthom » 09 Feb 2012, 00:31

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.
Please add [Solved] to your thread title if the solution was found.

Post Reply