[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PaiPix feedback on knoppix-autoconfig



Dear colleagues,
While working on PaiPix, a knoppix remaster for scientific usage, we developed several patches that might be useful for others. We have also extended locale support to include Portuguese.
 In the knoppix /etc/init.d/knoppix-autoconfig file we have:
1 - Included Portuguese support by adding something like:
pt)
# Portuguese version
COUNTRY="pt"
LANG="pt_PT@euro"
KEYTABLE="pt-latin1"
XKEYBOARD="pt"
KDEKEYBOARD="pt"
KDEKEYBOARDS="pt,us"
XMODIFIERS=""
TZ="Europe/Lisbon"
;;
2 - Added the Portuguese translation of the   warning:
pt)
LOWMEM="A memória livre do seu computador é de apenas ${FREEMEM}kB de RAM. Is to é normalmente suficiente para o funcionamento do Linux mas infelizmente não chega para arrancar o KDE ou office. Para obter mais memória disponível pode seguidamente criar um swapfile numa partição de DOS (se existir). "

This patch is in attachment. All patches are available from one single Debian package: http://aamorimsrv.fis.fc.ul.pt/mirrors/paipix/PAIPIX/i386/paipix-patches_3.7-7_all.deb
See also http://aamorimsrv.fis.fc.ul.pt/

All the best,
Antonio Amorim
--- /mnt/hda5/knx/source/KNOPPIX/etc/init.d/knoppix-autoconfig	2004-11-10 23:31:05.000000000 +0000
+++ /mnt/hda5/knx/fixes/etc/init.d/knoppix-autoconfig	2004-10-05 16:13:39.000000000 +0100
@@ -129,7 +129,7 @@
 # Allow language specification via commandline. The default language
 # will be overridden via "lang=de" boot commandline
 LANGUAGE="$(getbootparam lang 2>/dev/null)"
-[ -n "$LANGUAGE" ] || LANGUAGE="de"
+[ -n "$LANGUAGE" ] || LANGUAGE="pt"
 
 # The default language/keyboard to use. This CANNOT be autoprobed.
 # Most of these variables will be used to generate the KDE defaults
@@ -339,6 +339,17 @@
 TZ="Europe/Warsaw"
 CONSOLEFONT="iso02g"
 ;;
+pt)
+# Portuguese version
+COUNTRY="pt"
+LANG="pt_PT@euro"
+KEYTABLE="pt-latin1"
+XKEYBOARD="pt"
+KDEKEYBOARD="pt"
+KDEKEYBOARDS="pt,us"
+XMODIFIERS=""
+TZ="Europe/Lisbon"
+;;
 ru)
 # Russian version
 COUNTRY="ru"
@@ -1011,6 +1016,9 @@
 de)
 LOWMEM="Ihr Rechner verfügt nur über ${FREEMEM}kB freien RAM-Speicher. Dies ist für das Arbeiten mit Linux zwar generell ausreichend, aber leider nicht genug, um größere Anwendungen wie KDE oder Office-Pakete zu starten. Sie können im nächsten Schritt versuchen, eine sog. Auslagerungsdatei auf einer DOS-Partition (sofern vorhanden) einzurichten."
 ;;
+pt)
+LOWMEM="A memória livre do seu computador é de apenas ${FREEMEM}kB de RAM. Is to é normalmente suficiente para o funcionamento do Linux mas infelizmente não chega para arrancar o KDE ou office. Para obter mais memória disponível pode seguidamente criar um swapfile numa partição de DOS (se existir). "
+;;
 *)
 LOWMEM="There are only ${FREEMEM}kB of RAM available in your computer. While this is usually sufficient for working under Linux, it is unfortunately not enough for starting bigger applications like KDE, or office suites. You can try to create a so-called swapfile on an existing DOS-Partition (if available) in the next step."
 ;;

Reply to: