-
Set "environment locales" by /etc/init.d/knoppix-a
The /etc/init.d/knoppix-autoconfig script sets the locales in /etc/sysconfig/ with these lines:
Code:
# Write KNOPPIX config files for other scripts to parse
# Standard variables/files
echo "LANG=\"$LANG\"" > /etc/sysconfig/i18n
echo "COUNTRY=\"$COUNTRY\"" >> /etc/sysconfig/i18n
echo "LANGUAGE=\"$LANGUAGE\"" >> /etc/sysconfig/i18n
echo "CHARSET=\"$CHARSET\"" >> /etc/sysconfig/i18n
echo "XMODIFIERS=\"$XMODIFIERS\"" >> /etc/sysconfig/i18n
#echo "TZ=\"$TZ\"" >> /etc/sysconfig/i18n
# Default Keyboard layout for console and X
echo "KEYTABLE=\"$KEYTABLE\"" > /etc/sysconfig/keyboard
echo "XKEYBOARD=\"$XKEYBOARD\"" >> /etc/sysconfig/keyboard
echo "KDEKEYBOARD=\"$KDEKEYBOARD\"" >> /etc/sysconfig/keyboard
echo "KDEKEYBOARDS=\"$KDEKEYBOARDS\"" >> /etc/sysconfig/keyboard
# Desired desktop
echo "DESKTOP=\"$DESKTOP\"" > /etc/sysconfig/desktop
# Write all, including non-standard variables, to /etc/sysconfig/knoppix
echo "LANG=\"$LANG\"" > /etc/sysconfig/knoppix
echo "COUNTRY=\"$COUNTRY\"" >> /etc/sysconfig/knoppix
echo "LANGUAGE=\"$LANGUAGE\"" >> /etc/sysconfig/knoppix
echo "CHARSET=\"$CHARSET\"" >> /etc/sysconfig/knoppix
echo "KEYTABLE=\"$KEYTABLE\"" >> /etc/sysconfig/knoppix
echo "XKEYBOARD=\"$XKEYBOARD\"" >> /etc/sysconfig/knoppix
echo "KDEKEYBOARD=\"$KDEKEYBOARD\"" >> /etc/sysconfig/knoppix
echo "KDEKEYBOARDS=\"$KDEKEYBOARDS\"" >> /etc/sysconfig/knoppix
echo "DESKTOP=\"$DESKTOP\"" >> /etc/sysconfig/knoppix
echo "TZ=\"$TZ\"" >> /etc/sysconfig/knoppix
But, some softwares like OpenOffice and Mozilla, searches for locales from /etc/environment. Then I suggest to add some lines after the aboves:
Code:
echo "LANG=\"$LANG\"" > /etc/environment
echo "LANGUAGE=\"$LANGUAGE\"" >> /etc/environment
echo "LC_MESSAGES=\"$LC_MESSAGES\"" >> /etc/environment
This is a requirement to use deadkeys on OpenOffice for example.
Thank you,
Samer Eberlin.
-
Please submit this as a patch to Klaus on the Knoppix mailing list. Many people have been baffled by the lack of dead-keys in Oo.
-
Senior Member
registered user
To conform to the SPOT-rule (single point of t...?), would a symbolic link:
Code:
ln -s /etc/sysconfig/knoppix /etc/environment
work too, or is there too much unwanted noise in sysconfig/knoppix for oo?
-
Ok Kelmo, thanks for your tip.
I've sent it to [email protected]
Is It correct...? Is this mail the "Knoppix mailing list"?
-

Originally Posted by
user unknown
To conform to the SPOT-rule (single point of t...?), would a symbolic link:
Code:
ln -s /etc/sysconfig/knoppix /etc/environment
work too, or is there too much unwanted noise in sysconfig/knoppix for oo?
I think it's efficient too. If works, Ok.
Similar Threads
-
By onnrmf in forum General Support
Replies: 4
Last Post: 03-18-2009, 02:38 PM
-
By aldend123 in forum General Support
Replies: 3
Last Post: 12-29-2004, 10:19 PM
-
By bilzer in forum General Support
Replies: 0
Last Post: 04-20-2004, 06:53 AM
-
By joestump in forum Customising & Remastering
Replies: 0
Last Post: 11-19-2003, 12:11 AM
-
By Juny in forum General Support
Replies: 4
Last Post: 03-14-2003, 09:02 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

HPE DL360 G10 CTO Server W/ 2x800W 1x LP PCIE RISER 1xFLEXROM 2XHIGH PERF FANS
$200.00

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY
$44.54

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed
$136.87

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w
$538.88

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w
$218.88

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99

Windows Server 2025 Standard Edition - 24 Core License
$238.00