Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
utf8
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Tue Apr 26, 2005 6:40 pm    Post subject: Reply with quote

Auch ich habe heute mal auf UTF-8 umgestellt und nun ist FluxBox tot!
Es ist nicht langsam, sondern TOT!
Ich habe schon die diversten Tricks versucht (habe LC_ALL=C gesetzt und so), aber irgendwie bringt das nichts...

Was genau ist "tot"?
Tot heisst, dass der Bildschirm schwarz wird (als ob FluxBox geladen wird) aber ansonsten nichts mehr passiert...
Die Maus kann ich noch bewegen... Aber ansonsten hilft nur noch, den X-Server abzuschießen...
Kann mir da jemand Rat geben?
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3541
Location: Berlin

PostPosted: Tue Apr 26, 2005 7:44 pm    Post subject: Reply with quote

Das hier beachtet?
Code:

fluxbox
Fluxbox läd sehr lange mit einer UTF-8 Lokaldatei  (http://bugs.gentoo.org/show_bug.cgi?id=71747). Ein Workaround ist mit diesem alias möglich:
Datei: ~/.bashrc
alias startx="LC_ALL='C' startx"
anschließend die Lokaldatei auf UTF-8 zurücksetzen nachdem Fluxbox gestartet ist, aber bevor man irgendetwas anderes startet:
Datei: ~/.fluxbox/startup
export LC_ALL="de_DE.utf8"
Es gibt auch diesen Workaround: # USE="disablexmb" emerge fluxbox
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Tue Apr 26, 2005 7:52 pm    Post subject: Reply with quote

"Natürlich" habe ich das... ;)
Nur irgendwie... nee...
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
chodo
n00b
n00b


Joined: 03 Nov 2004
Posts: 73

PostPosted: Tue Apr 26, 2005 7:59 pm    Post subject: Reply with quote

Hast du die intlfonts installiert (wahrscheinlich sucht fluxbox nach Fonts für bestimmte Sprachen und findet nichts. intlfonts rüstet diese nach)?
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Tue Apr 26, 2005 8:50 pm    Post subject: Reply with quote

So... Ich habe es jetzt hinbekommen (indem ich export LC_ALL="C" in meine ~/.fluxbox/startup eingetragen habe... DIREKT vor dem eigentlichen Start von Fluxbox...)
Jetzt ist FluxBox zwar auf Englisch, aber das kann ich verkraften ;)
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Wed Apr 27, 2005 1:05 pm    Post subject: Reply with quote

Probleme! :(

Die Umstellung auf UTF-8 hat wohl so EINIGE Tücken...
So meldet sich GAIM z.B. in der Version 0.81!!! Und das, obwohl ich die Version 1.2.1 habe!
Habe GAIM sogar neu emerged!

Problem2: aterm und xterm verhalten sich "komisch", wenn es um Umlaute (äöü) geht...
Der erste Tastendruck scheint dann ignoriert zu werden, beim zweiten Tastendruck (da ist es allerdings egal, welche Taste) erscheint dann das zuvor gedrückte ö, ä oder ü...

Das dritte Problem allerdings liegt wohl am gentoo-forums-webserver ;)
Und zwar schickt der anscheinend keine Informationen über die Kodierung mit (das heißt: MANCHMAL macht er es)...
Und somit habe ich dann überall, wo Sonderzeichen sind, dieses Fragezeichen ;)
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
chodo
n00b
n00b


Joined: 03 Nov 2004
Posts: 73

PostPosted: Wed Apr 27, 2005 1:20 pm    Post subject: Reply with quote

Hier im Forum ist iso-8859-1 Standard. Du sendest deine Daten in utf8 aus (und stellst sie auch in diesem Zeichensatz dar. Daher siehst du nur deine eigenen Umlaute "richtig", andere hingegen sehen bei deinen Umlauten nur Buchstabensalat). Was für einen Browser verwendest du denn? Normalerweise ist es möglich, die Zeichenkodierung automatisch bestimmen zu lassen (z.B. Firefox: Ansicht-->Zeichenkodierung-->Automatisch bestimmen-->universell)
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Wed Apr 27, 2005 6:06 pm    Post subject: Reply with quote

Genau, das Forum läuft (noch) auf ISO-8859-1. Wenn du das verwendest funktionieren die Umlaute und ich muss deine Posts in Zukunft nicht mehr richten weil die Umlaute kaputt sind. ;)
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
foetus
n00b
n00b


Joined: 15 Feb 2005
Posts: 37

PostPosted: Wed Apr 27, 2005 9:45 pm    Post subject: Deutsche Lokalisierung von GENTOO Linux Reply with quote

/etc/make.conf
-------------------------
LANG="de_DE@euro"
LANGUAGE="49"
LINGUAS="de"


/etc/env.d/02locale
------------------------------------
LANG="de_localeDE@euro"
LC_ALL="de_DE@euro"
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES="de_DE@euro"
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"


/etc/rc.conf
------------------------------------------------------------------------------------------------------------------
# /etc/rc.conf: Global startup script configuration settings
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/rc.conf,v 1.22 2003/10/21 06:09:42 vapier Exp $

# Use KEYMAP to specify the default console keymap. There is a complete tree
# of keymaps in /usr/share/keymaps to choose from. This setting is used by the
# /etc/init.d/keymaps script.

KEYMAP="de-latin1"

# Should we first load the 'windowkeys' console keymap? Most x86 users will
# say "yes" here. Note that non-x86 users should leave it as "no".

SET_WINDOWKEYS="yes"

# The maps to load for extended keyboards. Most users will leave this as is.

EXTENDED_KEYMAPS=
#EXTENDED_KEYMAPS="backspace keypad"

# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console. You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).

CONSOLEFONT="lat0-16"

# CONSOLETRANSALTION is the charset map file to use. Leave commented to use
# the default one. Have a look in /usr/share/consoletrans for a selection of
# map files you can use.

CONSOLETRANSLATION="8859-1_to_uni"

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then set CLOCK
# to "local". This setting is used by the /etc/init.d/clock script.

CLOCK="local"

# Set EDITOR to your preferred editor.

EDITOR="/bin/nano"
#EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"

# Set PROTOCOLS to the protocols that you plan to use. Gentoo Linux will only
# enable module auto-loading for these protocols, eliminating annoying module
# not found errors.
#
# NOTE: Do NOT uncomment the next lines, but add them to 'PROTOCOLS=...' line!!
#
# Num Protocol
# 1: Unix
# 2: IPv4
# 3: Amateur Radio AX.25
# 4: IPX
# 5: DDP / appletalk
# 6: Amateur Radio NET/ROM
# 9: X.25
# 10: IPv6
# 11: ROSE / Amateur Radio X.25 PLP
# 19: Acorn Econet

# Most users want this:
PROTOCOLS="1 2"

#For IPv6 support:
#PROTOCOLS="1 2 10"

# What display manager do you use ? [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="kdm"

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit. The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to. The support scripts is smart enouth to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enligtenment" can also work. This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
# is called.
# 2) even if a ~/.xsession exist, if XSESSION can be resolved, it will
# be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps

#XSESSION="Gnome"
----------------------------------------------------------------------------------------------

Vielleicht hilft das weiter.
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Wed Apr 27, 2005 10:15 pm    Post subject: Reply with quote

@foetus: Leider nein :(
Denn das hat mit UTF-8 nicht viel zu tun!

@amne: Wenn das Forum auf ISO-8859-1 läuft, dann sollte dies entweder der Webserver oder die HTML-Meta-Daten dem Browser mitteilen ;)
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Fri Apr 29, 2005 1:55 pm    Post subject: Reply with quote

Halli hallo hallöle!
Ich habe auf dem ENGLISCHEN Gentoo-Wiki einen Patch gesehen, mit dem FluxBox auch mit UTF-8 prima läuft!

Quote:
http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8:
diff -ur fluxbox-0.9.11.orig/src/FbTk/Font.cc fluxbox-0.9.11/src/FbTk/Font.cc
--- fluxbox-0.9.11.orig/src/FbTk/Font.cc 2004-11-19 14:01:39.000000000 +0200
+++ fluxbox-0.9.11/src/FbTk/Font.cc 2004-12-24 19:19:46.015735856 +0200
@@ -293,7 +293,7 @@
// create the right font implementation
// antialias is prio 1
#ifdef USE_XFT
- if (antialias) {
+ if (antialias || m_utf8mode) {
m_fontimp.reset(new XftFontImp(0, m_utf8mode));
}
#endif //USE_XFT


Ich habe diesen Patch per overlay mit einbinden lassen und es läuft wunderbar (nur die Schrift ist größer als sonst)!

Nun aber noch mal zu meinen zwei anderen Problemen:
Okay... XTerm verhält sich nun korrekt und aterm kann einfach kein UTF-8...

Aber GAIM meldet sich immernoch mit 0.81!
Und sieht auch so aus (Einige Optionen, die in 1.2.1 vorhanden sind, sind nicht da)...
Woran liegt das und was kann ich machen?
Es ist laut emerge NUR gaim 1.2.1 installiert...
Und ich habe es schon neu kompiliert...
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Fri Apr 29, 2005 1:55 pm    Post subject: Reply with quote

Halli hallo hallöle!
Ich habe auf dem ENGLISCHEN Gentoo-Wiki einen Patch gesehen, mit dem FluxBox auch mit UTF-8 prima läuft!

Quote:
http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8:


diff -ur fluxbox-0.9.11.orig/src/FbTk/Font.cc fluxbox-0.9.11/src/FbTk/Font.cc
--- fluxbox-0.9.11.orig/src/FbTk/Font.cc 2004-11-19 14:01:39.000000000 +0200
+++ fluxbox-0.9.11/src/FbTk/Font.cc 2004-12-24 19:19:46.015735856 +0200
@@ -293,7 +293,7 @@
// create the right font implementation
// antialias is prio 1
#ifdef USE_XFT
- if (antialias) {
+ if (antialias || m_utf8mode) {
m_fontimp.reset(new XftFontImp(0, m_utf8mode));
}
#endif //USE_XFT


Ich habe diesen Patch per overlay mit einbinden lassen und es läuft wunderbar (nur die Schrift ist größer als sonst)!

Nun aber noch mal zu meinen zwei anderen Problemen:
Okay... XTerm verhält sich nun korrekt und aterm kann einfach kein UTF-8...

Aber GAIM meldet sich immernoch mit 0.81!
Und sieht auch so aus (Einige Optionen, die in 1.2.1 vorhanden sind, sind nicht da)...
Woran liegt das und was kann ich machen?
Es ist laut emerge NUR gaim 1.2.1 installiert...
Und ich habe es schon neu kompiliert...

P.S.: Das kommt dabei heraus, wenn man sich "verklickt"... Ich wollte auf "Edit" klicken... Kam auf "quote"... Sorry deswegen...
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 546

PostPosted: Fri Apr 29, 2005 3:07 pm    Post subject: Reply with quote

Okay... Alles gelöst!
Irgendein Paket (Gnome?) hat Gaim 0.81 nach /usr/local/bin/gaim installiert...
Aber Gaim 1.2.1 ist in /usr/bin/gaim...
Also habe ich einfach die /usr/local/bin/gaim gelöscht!
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum