Re: wieder zurück aber ohne de

Sebastian <[email protected]> Fri, 25 Dec 2015 18:54:23 +0100
Newsgroups gmane.linux.gentoo.user.german
Message-ID <13316230.eoE27zjZ8H@l1-gentoo>
On Thursday, 24. December 2015 00:29:31 René Neumaier wrote:
> On Wednesday 23 December 2015 23:39:36 Sebastian wrote:
> > nach vielen Jahren habe ich es geschafft wieder ein lauffähiges Gentoo zu
> > haben.
> 
> Na dann herzlichen Glückwunsch und willkommen zurück! :-)
> 
> > Leider schaffe ich es nicht die Lokalisierung richtig hinzubekommen neben
> > anderen Kleinigkeiten dazu aber später.
> > 
> > Mir fehlt an fielen stellen eine deutsche Lokalisierung der Programme
> > obwohl  ich nach der Anleitung:
> > https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Tools/de
> > vorgegangen bin.
> 
> Hm? Falscher Link? Was hast du bereits gesetzt?
> Wirklich nichts übersehen?
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base/de#Konfigurati
> on_der_Locale
> 
> Im Prinzip:
> -/etc/locale.gen zurecht kommentieren

hier sind: en_US ISO-8859-1; en_US.UTF-8 UTF-8; de_DE ISO-8859-1;
de_DE@euro ISO-8859-15 aktiviert.

> -locale-gen abfeuern

l1-gentoo sebastian # locale-gen
 * Generating 4 locales (this might take a while) with 1 jobs
 *  (1/4) Generating de_DE.ISO-8859-1 ...                                                                                                                                    
[ ok ]
 *  (2/4) Generating de_DE.ISO-8859-15@euro ...                                                                                                                              
[ ok ]
 *  (3/4) Generating en_US.ISO-8859-1 ...                                                                                                                                    
[ ok ]
 *  (4/4) Generating en_US.UTF-8 ...                                                                                                                                         
[ ok ]
 * Generation complete
l1-gentoo sebastian # 

> -mittels eselect nach belieben setzen

hier gibt es jetzt einen Fehler?

l1-gentoo sebastian # eselect locale list
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or 
directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or 
directory
Available targets for the LANG variable:
  [1]   C
  [2]   POSIX
  [3]   de_DE
  [4]   de_DE.iso88591
  [5]   de_DE.iso885915@euro
  [6]   de_DE@euro
  [7]   deutsch
  [8]   en_US
  [9]   en_US.iso88591
  [10]  en_US.utf8
  [11]  german
  [12]  de_DE.utf8@euro *
  [ ]   (free form)
l1-gentoo sebastian # 

> -variablen/profil auffrischen

> -variable LINGUAS in der make.conf setzen/kontrollieren
> https://wiki.gentoo.org/wiki/Localization/Guide#LINGUAS

LINGUAS="de en"

> -emerge -auvDN @world
> 
> > Zudem fehlt mir das at auf dem Q.
> 
> Keymap richtig gesetzt? OpenRC oder systemd?

OpenRC

> 
> https://wiki.gentoo.org/wiki/Localization/Guide/de#Keyboard_layout_for_the_c
> onsole https://wiki.gentoo.org/wiki/Xorg/Guide/de#Tastatur_konfigurierenyes 

in /etc/conf.d/keymaps habe ich jetzt von No auf yes geändert.
# Some fonts map AltGr-E to the currency symbol instead of the Euro.
# To fix this, set to "yes
fix_euro="yes"

> https://wiki.gentoo.org/wiki/Xorg/Guide/de#Tastatur_konfigurieren
> Der letzter Link ist für dein X wichtig.

Den abschnitt verstehe ich nicht. Was will mir der Block CODE sagen?

The Euro symbol in X
Most applications

Getting the Euro symbol to work properly in X is a little bit tougher. The 
first thing you should do is change the fixed and variable definitions in 
/usr/share/fonts/misc/fonts.alias to end in iso8859-15 instead of iso8859-1.
CODE Setting default X fonts

fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15
variable     -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15

Some applications use their own font, and you will have to tell them 
separately to use a font with the Euro symbol. You can do this at a user-
specific level in .Xdefaults (you can copy this file to /etc/skel/ for use by 
new users), or at a global level for any application with a resource file in 
/usr/share/X11/app-defaults/ (like xterm). In these files you generally have to 
change an existing line, rather than adding a new one. To change our xterm 
font, for instance:
user $echo 'XTerm*font: fixed' >> ~/.Xresources
user $xrdb -merge ~/.Xresources


Die Datei /usr/share/fonts/misc/fonts.alias gibt es hier nicht. schon der 
Ordner misc ist  nicht existend.

Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbLayout" "de"
        Option "XkbModel" "logitech_g15"
        Option "XkbRules" "xorg"
        Option "XkbOptions" 
"grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
        Option "XkbVariant" ",qwertz"
        MatchIsKeyboard "on"
EndSection

Wobei ich nicht weis ob das logitech_g15 richtig ist. Bei Laptoptastaturen ist 
die Vielfalt unendlich habe ein ThinkPad Edge E525.

> 
> 
> Der Vollständigkeit halber:
> Hast du aus einer anderen Linux-Installation eine modifizierte .bashrc oder
> ähnliches übernommen?

Nein habe ich nicht.

Gruß
Sebastian