View previous topic :: View next topic |
Author |
Message |
Carlino Guru
Joined: 25 May 2005 Posts: 365 Location: Bordeaux, France
|
Posted: Sat Jun 06, 2009 6:33 pm Post subject: GDM and azerty keyboard |
|
|
Hello,
I just couldn't get GDM to show up in french as default ; I easily made it happen by dealing with loacles ; so now, the interface is french default ; but still, the keyboard remains "qwerty", (only at GDM time of course, when logged in, it's all in french).
Code: | $ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8
|
Code: | # locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8 |
Code: | cat /etc/env.d/02locales
LANG= "fr_FR.UTF-8"
LANGUAGE="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
|
Code: | cat /etc/env.d/02locale
LANG="fr_FR.utf8@euro"
LANGUAGE="fr_FR.utf-8"
LC_COLLATE="C" |
By the way, I don't get the slight difference between /etc/env.d/02locale and /etc/env.d/02locales, but whatever...
Code: | cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j 5"
USE="3dnow -a52 accessibility acl acpi alsa amazon antlr apache2 arts bcel berkdb bitmap-fonts bluetooth bsf branding cairo cdr cli commonslogging commonsnet corefonts cracklib crypt ctype cups cxx dbus dlloader -doc dri dso dts dvd dvdr dvdread eds emboss encode esd fam fbcondecor firefox fortran gd gecko -gd-external gdbm gif gnome gpm gstreamer gtk qt3support hal hardcoded-tables iconv isdnlog ipv6 java -javamail jdepend jpeg jsch kde kerberos ldap libg++ libclamav libnotify lirc log4j mad midi mikmod mmx mmxext modplug mp3 mpeg musepack mysql ncurses nls nptl nptlonly oav ogg opengl openmp oro -oss pam pcre perl pg-intdatetime png postgres pppd ppds pulseaudio python qt3 qt4 quicktime readline reflection regexp resolver sdl session -source spell spl sqlite ssl sse sse2 ssse3 startup-notification svg swat tcpd tiff -theora threads threadsafe truetype truetype-fonts unicode udev v4l -vhosts vorbis webdav-neon webmin-minimal win32codecs X xcb xorg xscreensaver xml xulrunner xv zlib"
FEATURES="distcc" # -sandbox est un hack permettant de compiler certains modules cf http://forums.gentoo.org/viewtopic-t-597821.html
ACCEPT_KEYWORDS="amd64"
DISTCC_HOSTS="localhost "
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORT_LOGDIR=/var/log/portage
#GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.38/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/ http://mirror.qubenet.net/mirror/gentoo/"
PORTAGE_RSYNC_RETRIES="3"
LANG="fr_FR@euro"
LINGUAS="fr fr_FR"
AUTOCLEAN="yes"
DISTDIR="/usr/portages/packages"
INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="fglrx vesa vga openchrome"
ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop empty extplug file hooks ladspa lfloat linear meter mulaw multi null plug rate route share shm"
#ALSA_CARDS="emu10k1 emu10k1x"
# ajouter pour pouvoir installer le paquet playonlinux a partir de http://www.playonlinux.com/en/download.html
#source /usr/portage/local/layman/make.conf
#SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
|
Any idea ? _________________ Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O |
|
Back to top |
|
|
Raniz l33t
Joined: 13 Sep 2003 Posts: 967 Location: Varberg, Sweden
|
Posted: Sat Jun 06, 2009 8:47 pm Post subject: |
|
|
You can set the default keymap to use in /etc/X11/xorg.conf
As an example, here's my keyboard section:
Code: | Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "630 30"
Option "XkbModel" "dinovo"
Option "XkbLayout" "se"
Option "XkbVariant" "dvorak"
Option "XkbOptions" "ctrl:swapcaps"
EndSection |
I'm not sure how you get french keyboard, but I guess you can try something like this:
Code: | Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbLayout" "fr"
EndSection |
|
|
Back to top |
|
|
Carlino Guru
Joined: 25 May 2005 Posts: 365 Location: Bordeaux, France
|
Posted: Mon Jun 08, 2009 9:54 am Post subject: |
|
|
Ok thanx Raniz, I'll try this as soon as I get back to my box _________________ Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O |
|
Back to top |
|
|
MaximeG l33t
Joined: 15 Apr 2008 Posts: 722 Location: Belgium
|
Posted: Mon Jun 08, 2009 10:50 am Post subject: |
|
|
Hi,
It will be slightly different if you use Xorg version >=1.5.3, but you can giev the last post a try.
We'll see from there.
Regards,
Maxime _________________ Future is wide open. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Jun 08, 2009 1:21 pm Post subject: |
|
|
i have the same problem, i think it's because GDM->X->HAL->FR KEYBOARD with the newer xorg, so when GDM start your keyboard is still english, once login, it is setup azerty and if you try change user, this time GDM is azerty too.
I have gdm autologin, so i didn't dig the problem. Will rip off your solve if you get one |
|
Back to top |
|
|
Carlino Guru
Joined: 25 May 2005 Posts: 365 Location: Bordeaux, France
|
Posted: Tue Jun 09, 2009 7:48 pm Post subject: |
|
|
Well actually, I already had
Code: | Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection
|
So I gotta dig somewhere else. I'm using x11-base/xorg-x11-7.2 _________________ Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O |
|
Back to top |
|
|
Raniz l33t
Joined: 13 Sep 2003 Posts: 967 Location: Varberg, Sweden
|
Posted: Wed Jun 10, 2009 7:43 pm Post subject: |
|
|
Forgive me for asking, but did you restart your X-server after you edited xorg.conf?
I just tried changing to fr in my xorg.conf and I had azerty layout in my DM when I restarted X (using kdm though, but that shouldn't matter), I'm using xorg-x11-7.4 |
|
Back to top |
|
|
Carlino Guru
Joined: 25 May 2005 Posts: 365 Location: Bordeaux, France
|
Posted: Wed Jun 10, 2009 9:08 pm Post subject: |
|
|
Yes I did ; I'm actually investigating on a /etc/hal/fdi/policy/10-x11-input.fdi file that would be missing... _________________ Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O |
|
Back to top |
|
|
|