← Back to team overview

desktop-packages team mailing list archive

[Bug 1392064] Re: lightdm ignores .conf file in /usr/share/lightdm/lightdm.conf

 

Here is a video of the bug, LightDM ignores the settings and moves the pointer to the right
https://drive.google.com/file/d/0B4c5GbInagPqZEZvUlQxZ01qX0U/view?usp=sharing


Here is a video of a working user session after logging in from LightDM, proving that the script works.
https://drive.google.com/file/d/0B4c5GbInagPqNW5BU1BsWGV2cDA/view?usp=sharing

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1392064

Title:
  lightdm ignores .conf file in /usr/share/lightdm/lightdm.conf

Status in “lightdm” package in Ubuntu:
  New

Bug description:
  Setup:
  Ubuntu 14.04.1LTS
  IIyama 19" Pro-Lite Touchscreen
  Dell 17" regular monitor

  Due to another bug in the detection of input devices I had to write a
  script to tell Ubuntu which screen to use the touch from the
  touchscreen.

  so I put the following two entries into a basic bash script based on xinput list and xrandr -q 
  ========
  #!/bin/bash
  xinput map-to-output 12 DVI-I-1
  xrandr --output DVI-I-1 --primary
  =========

  I added this script to /usr/share/lightdm/lightdm.conf.d/50-dualscreen-touch.conf
  and the contents look like this.
  ============
  [SeatDefaults]
  greeter-setup-script=/usr/local/bin/iiyama-touchscreen.sh
  session-setup-script=/usr/local/bin/iiyama-touchscreen.sh
  ============
  When I start a user session the touchscreen is calibrated and works normally with the touch happening on the touchscreen.
  As soon as I logoff into LightDM the touch calibration is off moving the pointer a logarithmic distance from the left of the touchscreen. 

  As soon as I log in again, no problems, touch works great, log back
  out into the lightDM greeter and boom touch is all crazy.

  Can lightdm please detect that a touchscreen can only accept touch input and output to the touchscreen device??
  Or at least have lightdm actually run the script when given?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: lightdm 1.10.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
  Uname: Linux 3.13.0-39-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Nov 12 22:11:38 2014
  InstallationDate: Installed on 2014-11-03 (8 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  LightdmConfig:
   [SeatDefaults]
   autologin-user=boerske
  SourcePackage: lightdm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1392064/+subscriptions


References