unity-greeter messes with system-wide keyboard configuration

Bug #1065030 reported by Ivan Osadchii
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-greeter (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Symptoms:

I want to set system-wide keyboard options. I edit /etc/default/keyboard and reboot. When I log back my changes are not in effect.

Running `sudo udevadm trigger --subsystem-match=input --action=change --verbose` fixes things: keyboard configuration changes are applied. Running `sudo dpkg-reconfigure keyboard-configuration` also helps. Obviously both work only until next reboot/logout.

Why I think this bug is related to unity-greeter: changing display manager to gdm or to lightdm with lightdm-gtk-greeter makes the problem vanish.

I'm using Awesome WM but default Unity desktop is also affected: while I can change keyboard options in Settings -> Keyboard layout, I still cannot apply system-wide settings from /etc/default/keyboard

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity-greeter 0.2.8-0ubuntu1.2
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic-pae 3.2.28
Uname: Linux 3.2.0-31-generic-pae i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Wed Oct 10 16:02:04 2012
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120822.4)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: unity-greeter
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ivan Osadchii (tepoga) wrote :
Revision history for this message
Ivan Osadchii (tepoga) wrote :

As a workaround I added session-setup-script to /etc/lightdm/lightdm.conf:

# /etc/lightdm/lightdm.conf
session-setup-script=/etc/lightdm/session-setup-script.sh

# /etc/lightdm/session-setup-script.sh
/sbin/udevadm trigger --subsystem-match=input --action=change

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-greeter (Ubuntu):
status: New → Confirmed
Revision history for this message
James Wilson (jmwilson) wrote :

Still happening through 15.04. Set XKBOPTIONS="ctrl:swapcaps" in /etc/default/keyboard, and did dpkg-recofigure + udevadm trigger commands, and also reboots. Everything is fine in virtual conoles and once logged in, but in the greeter the setting is never applied.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.