← Back to team overview

touch-packages team mailing list archive

[Bug 1292041] Re: Lockscreen doesn't turn off the screen

 

I'm running both Unity and Cinnamon in 14.04 with lightdm. That way unity-greeter takes over on logout from both.
To get display power off to work on my desktop I added (username) and root to lightwm in the /etc/group file.

lightdm:x:111:(username),root

Then I added the executable script /usr/bin/dpms-start :

#!/bin/sh
#
/usr/bin/xset +dpms
exit

In the /usr/share/lightdm/lightdm.conf.d/ directory I added the
50-dpms.conf file :

[SeatDefaults]
display-setup-script=/usr/bin/dpms-start

A bash script may also work by changing the user to lightdm before
executing "/usr/bin/dpms-start" :

sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash <<HERE
/usr/bin/dpms-start
exit
HERE

You then don't have to modify the /etc/group file. Hope this works for
others still having trouble.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1292041

Title:
  Lockscreen doesn't turn off the screen

Status in OEM Priority Project:
  Fix Released
Status in OEM Priority Project trusty series:
  Fix Released
Status in Unity:
  Fix Released
Status in “gnome-screensaver” package in Ubuntu:
  Invalid
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  The new Unity lock screen doesn't turn off the monitor screen.

  I can wait as long as 10 minutes after activating the lock screen and
  the monitor still doesn't trun off. Then when I unlock the screen and
  don't use mouse or keyboard monitor will turn off (it's about 5
  seconds after unlocking).

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1292041/+subscriptions