Quicklinks

EndUser

Test/Virtualisaton


Installieren

Kernel - Tuning

Network

Display / Pads

Bock Devices

Printer

USB-Devices

BenutzerSW

Server

Install Notes

General/Hints

anoyances.org

Collection of installation & troublshooting info related to my linux (debian/mint/ubuntu) installations

Keyboard - Zeichen - Mapping Sprache

  • keyboard 105-Tasten (2 Win-Tasten)
  • locales - z.B. fuer CH od. mit € iso od. utf8 LANG=de_ch.. steuert Progrogrammsprache
  • Mapping - quertz schweiz deutsch
  • Alt-Aktivierung (non US) fuer Sonderzeichen

Konsole - X11

Korrekturen von Keyboard Mappings

locale (i.o?)
locale -a (zeigt die installierten, wie c_ und de_ch) ev. apt-get install locales
sudo dpkg-reconfigure locales (default setzen)

[] PI - Weechat-Sonderzeichen Problem (LANG war nicht gesetzt)

   [ok]für ssh geht es, braucht vermutlich zuerst ein neues login

Locales

Muessen zuert installiert und konfiguriert sein.
Die Software haben separate Lang-Packages, die dann je nach Grundeinstallung aktiv werden.

Intallieren, configurieren

Debian

 apt-get install console-tools console-setup kbd 
 apt-get install locales language-env [fonty] (Tools) 
 dpkg-reconfigure locales              nachtraegliches Konfigurieren  
 set-lang-env                          (User-nonroot: auf user-ebene)

 dpkg-reconfigure console-data
 dpkg-reconfigure console-setup        (

 export LANG=de_CH.UTF-8

/etc/environment

Testing

Programmaufruf mit Locales (temporaer andere Sprache aktiv v.a. Grund-Sprache fuer fmsg)

LANG=de_DE mc
LANG=C evolution (C locale: POSIX system default locale), z.B. Original-Fehlermeldungen

Unset all locale environment variables.

 system$ unsetenv LC_ALL LANG LC_CTYPE LC_COLLATE LC_NUMERIC       					LC_TIME LC_MONETARY LC_MESSAGES

Unsets all locale environment variables. Runs the application in the C locale.
Explicitly set the locale to C or POSIX.

 system$ setenv LC_ALL C
 system$ setenv LANG C

Some applications check the LANG environment variables without actually calling setlocale(3C) to reference the current locale. In this case, setenv explicitly sets the C locale by specifying the LC_ALL and LANG locale environment variables. For the precedence relationship among locale environment variables, see the setlocale(3C) man page.

To check the current locale settings in a terminal environment, run the locale(1) command.

 system$ locale

Locale setzen (am Bsp. von Squirrelmail)

viele Programme haben Lang-Packages, locales

[ok] (VServer - Debian Sarge)

cd /usr/local/src
mkdir squirrelmail_locales
cd squirrelmail_locales
wget http://mesh.dl.sourceforge.net/sourceforge/squirrelmail/all_locales-1.4.6-20060409.tar.gz
tar xfzv all_locales-1.4.6-20060409.tar.gz
./install -> Pfad zu squirrelmail angeben

[]apt-get install squirrelmail-locales (erspart ev. das wget u.s.w)

dpkg-reconfigure locales -> en_US abwählen -> de_DE iso 8859-1 auswählen
apt-get install localeconf [?Sarge]

---/etc/environment---

LANGUAGE=de_DE.ISO-8859-1
LC_ALL=de_DE.ISO-8859-1

  1. BEGIN DEBCONF SECTION FOR localeconf
  1. Do not edit within this region if you want your changes to be preserved
  2. by debconf. Instead, make changes before the "### BEGIN DEBCONF SECTION
  3. FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR
  4. localeconf" line.
    1. END DEBCONF SECTION FOR localeconf

LANG=de_DE

---/etc/locale-gen---

  1. en_US ISO-8859-1
  2. de_DE@euro ISO-8859-15

de_DE ISO-8859-1

  1. BEGIN DEBCONF SECTION FOR localeconf
  1. Do not edit within this region if you want your changes to be preserved
  2. by debconf. Instead, make changes before the "### BEGIN DEBCONF SECTION
  3. FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR
  4. localeconf" line.
    1. END DEBCONF SECTION FOR localeconf

[ok]/usr/share/squirrelmail/config/conf.pl -> Sprache de_DE auswählen

/etc/init.d/apache2 restart

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on November 13, 2014, at 10:49 AM, visited:$PageCount