[Pkg-xfce-devel] Bug#802123: Bug#802123: lightdm ignores system keyboard settings

2015-10-31 Thread bergerp
Hello Yves-Alexis,

Sorry for the delay I've been away from my desktop for a while. Yep on second 
thought I agree this may well belong in x11 instead of lightdm. I've only faced 
this issue with lightdm, however I haven't tried another display manager with 
Jessie yet (My laptop is running gdm and doesn't have the issue but it still 
runs wheezy, so probably we can't draw any conclusions from that). Can you tell 
what you think of the logs below ?

Looking at Xorg.0.log it shows the following (only pasting what looked relevant 
here):

[   347.009] (II) Using input driver 'evdev' for 'Power Button'
[   347.009] (**) Power Button: always reports core events
[   347.009] (**) evdev: Power Button: Device: "/dev/input/event3"
[   347.009] (--) evdev: Power Button: Vendor 0 Product 0x1
[   347.009] (--) evdev: Power Button: Found keys
[   347.009] (II) evdev: Power Button: Configuring as keyboard
[   347.009] (**) Option "config_info" 
"udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event3"
[   347.009] (II) XINPUT: Adding extended input device "Power Button" (type: 
KEYBOARD, id 6)
[   347.009] (**) Option "xkb_rules" "evdev"
[   347.009] (**) Option "xkb_model" "pc105"
[   347.009] (**) Option "xkb_layout" "fr"
[   347.009] (**) Option "xkb_variant" "latin9"
[   347.009] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[   347.021] (II) config/udev: Adding input device Power Button 
(/dev/input/event2)
[   347.021] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   347.021] (II) Using input driver 'evdev' for 'Power Button'
[   347.021] (**) Power Button: always reports core events
[   347.021] (**) evdev: Power Button: Device: "/dev/input/event2"
[   347.021] (--) evdev: Power Button: Vendor 0 Product 0x1
[   347.021] (--) evdev: Power Button: Found keys
[   347.021] (II) evdev: Power Button: Configuring as keyboard
[   347.021] (**) Option "config_info" 
"udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4/event2"
[   347.021] (II) XINPUT: Adding extended input device "Power Button" (type: 
KEYBOARD, id 7)
[   347.021] (**) Option "xkb_rules" "evdev"
[   347.021] (**) Option "xkb_model" "pc105"
[   347.021] (**) Option "xkb_layout" "fr"
[   347.021] (**) Option "xkb_variant" "latin9"
[   347.021] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[   347.022] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 
(/dev/input/event13)
[   347.022] (II) No input driver specified, ignoring this device.
[   347.022] (II) This device may have been added with another device file.


I'm not sure I get everything (and especially not why my keyboard seems to get 
configured twice), however it does seem to be applying "fr" layout. Now I also 
had a look into /var/log/lightdm and I may have found a few interesting lines. 

In /var/log/lightdm/x-0-greeter.log:

(lightdm-gtk-greeter:1235): Gtk-CRITICAL **: gtk_container_foreach: assertion 
'GTK_IS_CONTAINER (container)' failed
(lightdm-gtk-greeter:1235): Gtk-CRITICAL **: gtk_container_foreach: assertion 
'GTK_IS_CONTAINER (container)' failed
(lightdm-gtk-greeter:1235): Gtk-CRITICAL **: gtk_container_foreach: assertion 
'GTK_IS_CONTAINER (container)' failed


In /var/log/lightdm/x-0.log:

(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:  Type "ONE_LEVEL" has 1 levels, but  has 2 symbols
>   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server


Finally, /var/log/lightdm/lightdm.log:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.10.3, UID=0 PID=1218
[+0.00s] DEBUG: Loading configuration dirs from 
/usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from 
/usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.00s] DEBUG: Loading configuration dirs from 
/usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Registered seat module surfaceflinger
[+0.00s] DEBUG: Adding default seat
[+0.00s] DEBUG: Seat: Starting
[+0.00s] DEBUG: Seat: Creating greeter session
[+0.01s] DEBUG: Seat: Creating display server of type x
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process 
"plymouth" (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat: Starting local X display on VT 7
[+0.01s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: DisplayServer x-0: Writing X server authority to 
/var/run/lightdm/root/:0
[+0.01s] DEBUG: DisplayServer x-0: Launching X Server
[+0.01s] DEBUG: 

[Pkg-xfce-devel] Bug#802123: Bug#802123: lightdm ignores system keyboard settings

2015-10-17 Thread Yves-Alexis Perez
control: tag -1 unreproducible moreinfo

On Sat, Oct 17, 2015 at 05:31:06PM +0100, pberger wrote:
> Package: lightdm
> Version: 1.10.3-3
> Severity: normal
> 
> Dear Maintainer,
> 
> I installed Debian Jessie with LXDE and selected FR as keyboard layout during 
> the install.
> 
> However lightdm ignores my choice and starts me up with a US keyboard layout.
> 
> The system settings is set properly in /etc/default/keyboard:
> 
> 
> pierre@pierre-desktop:~$ cat /etc/default/keyboard
> # KEYBOARD CONFIGURATION FILE
> 
> # Consult the keyboard(5) manual page.
> 
> XKBMODEL="pc105"
> XKBLAYOUT="fr"
> XKBVARIANT="latin9"
> XKBOPTIONS="terminate:ctrl_alt_bksp"
> 
> BACKSPACE="guess"
> 
> 
> And if I switch to command line mode (Ctl-Alt-F1), the keyboard layout is 
> correct ; it's only lightdm that ignores this setting.
> 
> I worked around the issue by adding 'setxkbmap -layout fr' to my 
> /etc/X11/Xsession.d ; however this is only sourced after login, so the login 
> screen is still using US keyboard which is uncool. In any case I think 
> something wrong is going on as lightdm should probably use system settings by 
> default.
> 
That's perfectly unrelated to LightDM, actually, I think. At least the
keymap is set by X11 at startup, and nowadays it uses the system wide
settings. And it works just fine for me on every box I tried, so you'll
need to provide more information. Start by looking at the Xorg.0.log
file.

Regards,
-- 
Yves-Alexis Perez


signature.asc
Description: PGP signature
___
Pkg-xfce-devel mailing list
Pkg-xfce-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel