Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407749 - gnome-base/gdm-2.20.11-r2: keyword always in qwerty, here a patch to automatize keyboard detection
Summary: gnome-base/gdm-2.20.11-r2: keyword always in qwerty, here a patch to automati...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://pingwho.homelinux.org/pub/gent...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 01:45 UTC by jaypeche@gmail.com
Modified: 2012-03-11 09:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gdm-2.20.11-setxkbmap.patch (gdm-2.20.11-setxkbmap.patch,745 bytes, patch)
2012-03-11 02:19 UTC, jaypeche@gmail.com
Details | Diff
gdm-2.20.11-r2.ebuild (gdm-2.20.11-r2.ebuild,7.17 KB, text/plain)
2012-03-11 02:24 UTC, jaypeche@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaypeche@gmail.com 2012-03-11 01:45:20 UTC
For some time, I can not configure gdm in French (or other).

After more researches, I found the solution which consists in modifying / etc/X11/gdm/Init/Default:

Solution: Create an autodetection routine :


Since no problem, it works ! I propose a revision 2 of the ebuild including the patch.

Reproducible: Always

Steps to Reproduce:
1.emerge -av gnome-base/gdm
2.Verify if keyboard is configured like /etc/conf.d/keymaps
3.It works !
Actual Results:  
GDM is correctly configured in French.
Like /etc/conf.d/keymaps

Expected Results:  
With gdm-2.20.11-setxkbmap.patch, the routine configure automatically keymap..

dbox2 files # emerge --info gdm
Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2, 3.0.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_3.20GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 10 Mar 2012 23:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt cups cxx dbus dri dts dvb dvd dvdr fortran fuse gdbm gif gnome gphoto2 gpm gstreamer gtk iconv ipv6 jpeg mmx modules mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre png pppd pulseaudio readline samba session spell sse sse2 ssl sysfs tcpd tiff unicode xinerama xorg zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700 b2c2-flexcop-pci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" LIRC_DEVICES="imon" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

gnome-base/gdm-2.20.11-r2 was built with the following:
USE="branding consolekit ipv6 (multilib) pam tcpd xinerama -accessibility -afs -dmx -gnome-keyring -remote (-selinux)"
Comment 1 jaypeche@gmail.com 2012-03-11 02:12:00 UTC
(In reply to comment #0)
> For some time, I can not configure gdm in French (or other).
> 
> After more researches, I found the solution which consists in modifying /
> etc/X11/gdm/Init/Default:
> 
> Solution: Create an autodetection routine :
> 
> 
> Since no problem, it works ! I submit a revision 2 of the ebuild including
> the patch.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.emerge -av gnome-base/gdm
> 2.Verify if keyboard is configured like /etc/conf.d/keymaps
> 3.It works !
> Actual Results:  
> GDM is correctly configured in French.
> Like /etc/conf.d/keymaps
> 
> Expected Results:  
> With gdm-2.20.11-setxkbmap.patch, the routine configure automatically
> keymap..
> 
> dbox2 files # emerge --info gdm
> Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2,
> 3.0.6-gentoo x86_64)
> =================================================================
>                         System Settings
> =================================================================
> System uname:
> Linux-3.0.6-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_3.20GHz-with-gentoo-2.0.3
> Timestamp of tree: Sat, 10 Mar 2012 23:45:01 +0000
> app-shells/bash:          4.1_p9
> dev-java/java-config:     2.1.11-r3
> dev-lang/python:          2.7.1-r1, 3.1.4-r3
> dev-util/cmake:           2.8.4-r1
> dev-util/pkgconfig:       0.26
> sys-apps/baselayout:      2.0.3
> sys-apps/openrc:          0.9.8.4
> sys-apps/sandbox:         2.4
> sys-devel/autoconf:       2.13, 2.68
> sys-devel/automake:       1.9.6-r3, 1.11.1
> sys-devel/binutils:       2.21.1-r1
> sys-devel/gcc:            4.5.3-r2
> sys-devel/gcc-config:     1.4.1-r1
> sys-devel/libtool:        2.4-r1
> sys-devel/make:           3.82-r1
> sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
> sys-libs/glibc:           2.12.2
> Repositories: gentoo x-portage
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="* skype-eula"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
> /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
> /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
> CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--autounmask=n"
> FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news
> parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn
> unmerge-logs unmerge-orphans userfetch"
> FFLAGS=""
> GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org
> http://distfiles.gentoo.org
> http://www.ibiblio.org/pub/Linux/distributions/gentoo"
> LANG="fr_FR.UTF-8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> LINGUAS="fr"
> MAKEOPTS="-j3"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
> --compress --force --whole-file --delete --stats --timeout=180
> --exclude=/distfiles --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="X acl alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt cups cxx
> dbus dri dts dvb dvd dvdr fortran fuse gdbm gif gnome gphoto2 gpm gstreamer
> gtk iconv ipv6 jpeg mmx modules mudflap multilib ncurses nls nptl nptlonly
> ogg opengl openmp pam pcre png pppd pulseaudio readline samba session spell
> sse sse2 ssl sysfs tcpd tiff unicode xinerama xorg zlib"
> ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
> dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
> mmap_emul mulaw multi null plug rate route share shm softvol"
> 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 cgi cgid 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"
> CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump"
> CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap
> syslog" DVB_CARDS="usb-dib0700 b2c2-flexcop-pci" ELIBC="glibc"
> GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
> gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore
> rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
> INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
> cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr"
> LIRC_DEVICES="imon" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18"
> USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan
> length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq
> steal rawnat logmark ipmark dhcpmac delude chaos account"
> Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> 
> =================================================================
>                         Package Settings
> =================================================================
> 
> gnome-base/gdm-2.20.11-r2 was built with the following:
> USE="branding consolekit ipv6 (multilib) pam tcpd xinerama -accessibility
> -afs -dmx -gnome-keyring -remote (-selinux)"
Comment 2 jaypeche@gmail.com 2012-03-11 02:19:35 UTC
Created attachment 304879 [details, diff]
gdm-2.20.11-setxkbmap.patch
Comment 3 jaypeche@gmail.com 2012-03-11 02:24:17 UTC
Created attachment 304881 [details]
gdm-2.20.11-r2.ebuild

New revision including new patch.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-11 03:04:44 UTC
/etc/conf.d/keymaps configures keyboard maps for the Linux text console. These keymaps have nothing to do with gdm or any other graphical application.

Systemwide X11 keyboard maps should be set in a file in /etc/X11/xorg.conf.d/

Please see the http://www.gentoo.org/doc/en/xorg-config.xml ("configuring your keyboard" section).
Comment 5 jaypeche@gmail.com 2012-03-11 03:39:18 UTC
GDM works fine with /etc/X11/xorg.conf.d/30-keyboard.conf !
I should read english documentation ...hmm

Sorry for the noise !

Best regards,

jay