View previous topic :: View next topic |
Author |
Message |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Mon Mar 14, 2005 7:14 pm Post subject: [KDE] Problème d'accents bizarre |
|
|
Bonjour
Suite à un problème d'accent, j'ai trouvé mon bonheur sur ce forum pour corriger le fait qu'en console (pas sous X) les accents n'apparaissaients pas, notamment en modifiant un certain fichier .alias.
Mais j'ai toujours un problème : toutes les applications utilisées par KDE sont restées refractaires, et continuent de m'afficher des caractères pas sympas à la place des accents, et là, après avoir tenté de bidouiller rc.conf comme expliqué dans un autre post en vain, je suis désemparé....
Si une âme bienveillante veut bien m'aider...
Merci beaucoup |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thanhat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Aug 2004 Posts: 61 Location: Amiens
|
Posted: Thu Mar 17, 2005 3:49 pm Post subject: |
|
|
Que donne un :
Code: | ls /usr/share/fonts |
Et puis il nous faudrait aussi ton
/etc/env.d/02locales
/etc/conf.d/keymaps
/etc/rc.conf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thanhat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Aug 2004 Posts: 61 Location: Amiens
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Thu Mar 17, 2005 7:12 pm Post subject: |
|
|
bonjour
thanhat wrote: | Que donne un :
Code: | ls /usr/share/fonts |
Et puis il nous faudrait aussi ton
/etc/env.d/02locales
/etc/conf.d/keymaps
/etc/rc.conf |
Dans l'ordre :
Code: | ls /usr/share/fonts
100dpi cyrillic encodings local TTF ukr
75dpi default fonts.cache-1 misc Type1 util
|
/etc/env.d/02locales
Code: | LANG="fr_FR@euro"
LANGUAGE="fr_FR@euro"
LC_ALL="fr_FR@euro"
|
/etc/conf.d/keymaps n'existe pas
et mon rc.conf :
Code: | # /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="fr-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="no"
# 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="default8x16"
# 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="UTC"
# 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="gdm"
# 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"
|
oui j'ai bien suivi le Howto, je viens de vérifier, les bonnes options sont cochées...
![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thanhat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Aug 2004 Posts: 61 Location: Amiens
|
Posted: Fri Mar 18, 2005 8:19 am Post subject: |
|
|
Voilà ce que j'ai :
Pour le /etc/env.d/02locales :
Idem que toi
Pour le /etc/rc.conf :
Code: | KEYMAP="fr-latin9"
CONSOLEFONT="lat9w-16"
CONSOLETRANSLATION="8859-15_to_uni" |
Et dans mon xorg.conf (j'y ai placé ce que j'ai dans /usr/share/fonts)
Code: |
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/cronyx"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/intlfonts"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/ukr"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/util"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/X11R6/lib/X11/fonts"
EndSection
|
A noter que j'ai recompilé glibc avec le use flag userlocales, en ayant placé ceci dans /etc/locales.build :
Code: | fr_FR/ISO-8859-1
fr_FR@euro/ISO-8859-15
fr_FR.UTF8/UTF-8 |
Mais bon, c'est plus à titre informatif car cela n'aura aucun impact sur ton kde.
Ton kernel est compilé avec les bons supports ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thanhat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Aug 2004 Posts: 61 Location: Amiens
|
Posted: Fri Mar 18, 2005 8:23 am Post subject: |
|
|
Quote: |
[/code]
oui j'ai bien suivi le Howto, je viens de vérifier, les bonnes options sont cochées...
![Wink :wink:](images/smiles/icon_wink.gif) |
Alors comment se fait il que tu n'es pas de /etc/conf.d/keymaps, si tu as bien suivis le HOW-TO ? ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Sat Mar 19, 2005 11:13 am Post subject: |
|
|
Salut
Alors j'ai modifié le rc.conf, mais lorsque je met latin9w-16 je n'ai pas de changement sous KDE, et en console j'ai carrément plus d'accents, alors que sinon je les ai au moins en console.
j'ai ajouté un fichier xorg.conf identique au tien (commande après ?).
J'ignore pourquoi je n'ai pas le fichier keymaps, parce que les bonnes options sont bien cochées...
Quote: | Ton kernel est compilé avec les bons supports ? |
Aucune idée, je ne sais pas ce que cela signifie ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thanhat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Aug 2004 Posts: 61 Location: Amiens
|
Posted: Sat Mar 19, 2005 12:41 pm Post subject: |
|
|
Dans File System -> Native Language Support :
Tu mets :
Quote: | Default NLS Option : iso8859-15 |
Puis :
Quote: |
<*> Codepage 437 (United States, Canada)
<*> Codepage 850 (Europe)
<*> NLS ISO 8859-1 (Latin 1; Western European Languages)
<*> NLS ISO 8859-15 (Latin 9; Western European Languages with Euro)
<*> NLS UTF8 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Sat Mar 19, 2005 1:01 pm Post subject: |
|
|
re
Tout ceci est déjà coché ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thanhat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Aug 2004 Posts: 61 Location: Amiens
|
Posted: Sat Mar 19, 2005 1:15 pm Post subject: |
|
|
Ton système est il compilé avec le support nls ? (USE="nls")
(nls = Native Language System)
Pour voir tu peux faire un :
Code: | emerge -vep world | grep nls |
Faut voir si le support unicode pourrait régler ton problème, mais je ne pense pas... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thanhat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Aug 2004 Posts: 61 Location: Amiens
|
Posted: Sat Mar 19, 2005 1:20 pm Post subject: |
|
|
Quote: | j'ai ajouté un fichier xorg.conf identique au tien (commande après ?). |
Oui mais ça ne sert à rien, si tu n'as pas emergé les polices adéquates ! (genre corefonts, freefonts...) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Sat Mar 19, 2005 1:53 pm Post subject: |
|
|
Voici ce que donne la commande :
Code: | # emerge -vep world | grep nls
[ebuild N ] sys-devel/gettext-0.12.1-r2 +emacs* +nls 5,592 kB
[ebuild N ] sys-devel/m4-1.4.1 +nls 335 kB
[ebuild N ] sys-devel/bison-1.875d -debug +nls -static 862 kB
[ebuild N ] app-shells/bash-2.05b-r9 -build -debug +nls (-uclibc) 1,923 kB
[ebuild N ] sys-apps/diffutils-2.8.7 -debug +nls -static 1,033 kB
[ebuild N ] sys-apps/texinfo-4.7-r1 -build -debug +nls -static 1,385 kB
[ebuild N ] sys-apps/pam-login-3.14 -livecd +nls (-selinux) 137 kB
[ebuild N ] sys-fs/e2fsprogs-1.35-r1 -debug -diet +nls -static 3,078 kB
[ebuild N ] sys-apps/grep-2.5.1-r6 -build -debug +nls -pcre -static (-uclibc) 667 kB
[ebuild N ] sys-apps/gawk-3.1.3-r2 -build +nls (-uclibc) 2,029 kB
[ebuild N ] sys-apps/util-linux-2.12i-r1 +crypt -debug +nls +pam +perl (-selinux) -static 1,933 kB
[ebuild N ] x11-base/xorg-x11-6.8.0-r4 -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader-dmx +doc +font-server -hardened -insecure-drivers +ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 72,273 kB
[ebuild N ] app-arch/cpio-2.6-r1 +nls 437 kB
[ebuild N ] sys-devel/binutils-2.15.92.0.2-r1 -bootstrap -build -debug -multitarget +nls (-uclibc) 10,824 kB
[ebuild N ] sys-devel/gcc-3.3.5-r1 -bootstrap -boundschecking -build -debug +fortran -gcj +gtk -hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 23,578 kB
[ebuild N ] sys-libs/glibc-2.3.4.20040808-r1 -build -debug -erandom -hardened (-multilib) +nls +nptl* -pic -userlocales 15,372 kB
[ebuild N ] sys-apps/sed-4.0.9 -bootstrap -build -debug +nls -static 751 kB
[ebuild N ] sys-apps/man-1.5p -debug +nls 228 kB
[ebuild N ] sys-devel/make-3.80-r1 -build -debug +nls -static (-uclibc) 899 kB
[ebuild N ] app-text/opensp-1.5-r1 +nls 1,257 kB
[ebuild N ] net-www/lynx-2.8.5 -debug +ipv6 +nls +ssl 2,126 kB
[ebuild N ] net-print/cups-1.1.23-r1 -debug +nls +pam +samba -slp +ssl 8,501 kB
[ebuild N ] dev-libs/popt-1.7-r1 +nls 561 kB
[ebuild N ] sys-apps/attr-2.4.19 -debug +nls 101 kB
[ebuild N ] sys-apps/acl-2.2.27 -debug +nls 141 kB
[ebuild N ] dev-libs/libgpg-error-1.0-r1 +nls 316 kB
[ebuild N ] dev-libs/libgcrypt-1.1.94 +nls 827 kB
[ebuild N ] x11-libs/gtk+-1.2.10-r11 -debug +nls 2,880 kB
[ebuild N ] sys-apps/eject-2.0.13 +nls 58 kB
[ebuild N ] app-editors/nano-1.3.4 -build -debug -justify +ncurses +nls -nomac +slang* +spell* 939 kB
[ebuild N ] app-text/a2ps-4.13c-r2 -cjk +nls +tetex -vanilla 2,339 kB
[ebuild N ] dev-util/indent-2.2.9-r2 +nls 662 kB
[ebuild N ] app-text/scrollkeeper-0.3.14 +nls 663 kB
[ebuild N ] app-arch/gzip-1.3.5-r5 -build -debug +nls -pic -static 332 kB
[ebuild N ] net-misc/wget-1.9-r2 -build -debug +ipv6 +nls -socks5 +ssl -static 1,309 kB
[ebuild N ] sys-apps/shadow-4.0.5-r3 -debug +nls +pam (-selinux) -skey 988 kB
[ebuild N ] media-sound/xmms-1.2.10-r5 +3dnow +alsa -cjk -debug +directfb +esd +ipv6 +mikmod +mmx +nls +oggvorbis +opengl +oss +xml 2,553 kB
[ebuild N ] app-arch/tar-1.14 -build -debug +nls -static 1,052 kB
[ebuild N ] sys-apps/psmisc-21.5 +nls (-selinux) 373 kB
[ebuild N ] media-libs/libexif-0.5.12-r1 +nls 433 kB
[ebuild N ] sys-apps/apmd-3.2.1_p4 +X +nls 92 kB
[ebuild N ] app-crypt/gnupg-1.2.6 +X -debug -idea +ldap +nls (-selinux) -static 2,490 kB
[ebuild N ] sys-devel/gdb-6.0 -debug +nls -test 11,684 kB
[ebuild N ] media-libs/libgphoto2-2.1.4 +doc +jpeg +nls 1,776 kB
[ebuild N ] media-gfx/gphoto2-2.1.4 +aalib -debug +jpeg +ncurses +nls +readline 342 kB
[ebuild N ] media-libs/xine-lib-1_rc8-r1 +X +aalib +alsa (-altivec) +arts +avi -debug +directfb +dvd +esd +gnome +ipv6 +nls +oggvorbis -pic +sdl -speex +theora 7,181 kB
[ebuild N ] media-sound/vorbis-tools-1.0.1 -debug +flac +nls -speex 700 kB
[ebuild N ] sys-apps/kbd-1.12-r3 +nls 867 kB
[ebuild N ] media-video/mplayer-1.0_pre5-r5 -3dfx +3dnow -3dnowex +X +aalib +alsa (-altivec) +arts +avi +bidi -cdparanoia -debug -dga +directfb +divx4linux +doc +dvb +dvd -dvdread -edl +encode +esd +fbcon +ggi +gif +gtk -i8x0 +ipv6 +jack +joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox +mmx -mmx2 +mpeg -mythtv +nas -network +nls -nvidia +oggvorbis +opengl +oss +png -real -rtc +samba +sdl +sse -sse2 +svga -tga +theora +truetype -v4l -v4l2 -xanim +xinerama +xmms +xv +xvid -xvmc 5,873 kB
[ebuild N ] net-im/gaim-1.1.3 -cjk -debug -eds +gnutls +nas +nls +perl -silc +spell 5,075 kB
[ebuild N ] sys-apps/net-tools-1.60-r9 -build -debug +nls -static (-uclibc) 203 kB
[ebuild N ] sys-apps/help2man-1.33.1 +nls 73 kB
[ebuild N ] sys-apps/coreutils-5.2.1-r4 +acl -build -debug +nls (-selinux) -static (-uclibc) 4,260 kB
[ebuild N ] sys-apps/findutils-4.1.20-r1 -afs -build -debug +nls (-selinux) -static 759kB
[ebuild N ] media-libs/imlib2-1.2.0-r1 +X +doc +gif +jpeg +mmx +nls +png +tiff 869 kB
[ebuild N ] media-sound/madplay-0.15.2b -debug +esd +nls 577 kB
[ebuild N ] media-sound/normalize-0.7.6-r2 +audiofile +mad +nls +xmms 292 kB
[ebuild N ] app-editors/vim-core-6.3-r4 +acl -debug -livecd +ncurses +nls (-selinux) 6,879 kB
[ebuild N ] app-editors/emacs-21.4 +X +Xaw3d -debug +gnome +leim +lesstif +motif +nls -nosendmail 23,249 kB
[ebuild N ] app-editors/vim-6.3-r4 +acl +cscope -debug +gpm -minimal +ncurses +nls +perl +python -ruby (-selinux) -vim-with-x 0 kB
|
(j'ai emergé les fonts mais est-ce nécessaire pour les caractères en console ?) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thanhat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 09 Aug 2004 Posts: 61 Location: Amiens
|
Posted: Sat Mar 19, 2005 4:43 pm Post subject: |
|
|
Pour la console, il n'y a que 3 paramètres à régler :
KEYMAP="fr-latin9"
Cette variable fait référence à /usr/share/keymaps qui contient tous les claviers possibles, elle est utlisée par le script /etc/init.d/keymaps
Soit tu le règles dans ton rc.conf, soit dans /etc/conf.d/keymaps
CONSOLEFONT="lat9w-16"
CONSOLETRANSLATION="8859-15_to_uni"
Ces variables sont utilisées par le script /etc/conf.d/consolefont, et sont à spécifier dans le rc.conf ou dans le /etc/conf.d/keymaps
Tu trouveras les polices que tu veux dans /usr/share/consolefonts, et d'autres systèmes de caractères dans /usr/share/consoletrans.
Pour la console, c'est tout ce qu'il y a.
En vrac, voici différentes pistes :
- vérifie que ton kernel supporte le système 8859-15_to_uni
- Recompile ton système en utilisant USE="unicode" (c'est un minimum pour un terminal d'avoir ce support)
- Penche toi vers l'utf8 -> http://www.gentoo.org/doc/fr/utf-8.xml
Après je vois plus ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Sat Mar 19, 2005 5:32 pm Post subject: |
|
|
Salut et merci
Alors, super, en console plus de problème, le tuto sur le utf8 m'a bien aidé. tout s'est arrangé après export des langues... Pour mon système, je pense qu'il supporte vu que c'est la gentoo2-6-9, je viens de l'installer. Concernant la variable USE, j'avais bien mis unicode
En revanche, il reste un tout petit problème, les autres applications sous X, à part la console, restent réfractaires, par exemple konqueror. j'ai tenté de changer la police, mais apparemment le problème ne vient pas de là. Tu as une idée sur ces applications ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Sun Apr 03, 2005 1:46 pm Post subject: |
|
|
Bonjour à tous
j'ai toujours un problème d'accents sous KDE : toutes les applications commençant par K ne me donnent pas d'accents, excepté konsole.
j'ai suivi le howto https://forums.gentoo.org/viewtopic-t-118061-highlight-accents.html et je pense que j'ai un conflit à cause de l'utf8. Notamment, la commande
me renvoie
Code: |
LANG=fr_FR.utf8
LC_CTYPE="fr_FR.utf8"
LC_NUMERIC="fr_FR.utf8"
LC_TIME="fr_FR.utf8"
LC_COLLATE="fr_FR.utf8"
LC_MONETARY="fr_FR.utf8"
LC_MESSAGES="fr_FR.utf8"
LC_PAPER="fr_FR.utf8"
LC_NAME="fr_FR.utf8"
LC_ADDRESS="fr_FR.utf8"
LC_TELEPHONE="fr_FR.utf8"
LC_MEASUREMENT="fr_FR.utf8"
LC_IDENTIFICATION="fr_FR.utf8"
LC_ALL=fr_FR.utf8
|
Ce qui je pense, n'est pas une bonne chose.
Quelqu'un pourrait-il m'aider ?
Merci beaucoup
N. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Thu Apr 07, 2005 4:11 pm Post subject: Please help !!! |
|
|
-
S'il vous plait ???? ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Apr 07, 2005 4:14 pm Post subject: |
|
|
Petite question : comment te loggues tu sous KDE ? est-ce que tu utilises GDM ? si oui, il faut que tu sélectionne "Langue par défaut du système" dans la config de GDM. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Thu Apr 07, 2005 4:22 pm Post subject: |
|
|
Oui j'utilise GDM. Jusque là, j'avais mis 'français' comme langue, mais la je viens d'essayer pour cette session 'système par défaut' et ça ne change rien....
Ce qui est étrange, c'est qu'en console (sous X ou pas) les accents sont là, le symbole € aussi, etc. Mais pas dans Kmail, Konqueror, etc...![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Apr 07, 2005 4:30 pm Post subject: |
|
|
Bon, il faut que tu gardes "langue par défaut" dans GDM.
Je connais pas KDE, mais tu as des réglages "de base" ? genre tu n'as pas fait de manip spéciale pour la définition des fontes ?
Au dessus, j'ai vu qe tu étais en utf-8 quand tu tapes locale. Par contre j'ai pas bien compris la config de ton kernel. Est ce que tu pourrais donner le résultat de grep -i nls /usr/src/linux/.config ?
Est-ce que xfs est démarré (/etc/init.d/xfs status en root) ?
sinon, je vois pas trop ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Thu Apr 07, 2005 4:52 pm Post subject: |
|
|
Oui on m'a conseillé le UTF-8 alors je l'ai mis, mais finalement, ça n'a servi à rien.
Voici ce que me sort la commande :
Code: |
grep -i nls /usr/src/linux/.config
CONFIG_UDF_NLS=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_CODEPAGE_852=y
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y
|
xfs n'est pas lancé je suppose, je ne sais pas ce que c'est.
Faut-il le lancer ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Fri Apr 08, 2005 7:18 am Post subject: |
|
|
Maintenant que tu y es, reste en utf-8. C'est l'encodage du futur
Par contre, ce qui n'est pas cohérent c'est l'option CONFIG_NLS_DEFAULT="iso8859-1" dans la config de ton noyau.
Code: | CONFIG_NLS_DEFAULT="utf8" | serait plus approprié.
xfs, c'est pour X Font Server , donc je me dit que ça devrait t'aider.
Pour le démarrer: Code: | /etc/init.d/xfs start |
Tu faits Code: | rc-update add xfs default | et comme ça il sera démarré automatiquement.
Et tu redémarre X (dans une console, CTRL-ALT-F1 par exemple): Code: | /etc/init.d/xdm restart |
dis voir si ça s'améliore.
Tu n'as ces problèmes que sous KDE, ou bien avec d'autre WM aussi ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Fri Apr 08, 2005 5:18 pm Post subject: |
|
|
j'ai changé dans le noyau (CONFIG_NLS_DEFAULT="utf8"), et j'ai tout fait comme tu dis (sauf que j'ai rebooté carrément) : le seul truc qui a changé, c'est que KDE est hyppppppppppppppppppper long à charger ! :'(
Sinon j'ai le même pb sous gnome par exemple Je comprends vraiment pas ce qui arrive. Je viens de voir par exemple, en console, pas sous X, lorsque je tappe les accents s'affichent, mais si je tape 'man ...' les accents de la page d'aide sont remplacés par <E9> ou des trucs dans le genre ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Sat Apr 09, 2005 4:36 pm Post subject: |
|
|
-
Décidément, rien de mieux, j'ai enlevé xfs par defaut et il me reste ce problème supplémentaire d'ordi qui rame au démarrage, que je n'avais pas avant.
C'est pas simple pour avoir les accents sous gentoo ! ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
soliad n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_keldorn.gif)
Joined: 09 May 2004 Posts: 42 Location: France
|
Posted: Sat Apr 09, 2005 8:48 pm Post subject: |
|
|
pourquoi ne pas essayer kdm vu que tu utilises kde ?
mais à priori le problème vient bien du choix de la locale dans gdm (sur mon portable ça fonctionne très bien un gdm qui loggue sur une session kde) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naoli Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/32351456842f1e83dd8511.jpg)
Joined: 13 Mar 2005 Posts: 263 Location: ENSMA@Futuroscope
|
Posted: Sun Apr 10, 2005 6:46 am Post subject: |
|
|
soliad wrote: | pourquoi ne pas essayer kdm vu que tu utilises kde ?
(sur mon portable ça fonctionne très bien un gdm qui loggue sur une session kde)
|
Parce que je préfère gdm ! et parce que je sais qu'il n'y a pas d'incompatibilité, plusieurs de mes amis utilisent GDM avec KDE, sans rencontrer de problème.
Quote: | mais à priori le problème vient bien du choix de la locale dans gdm |
C'est-à-dire ? Que faudrait-il changer ?![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|