Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Plasma-Can't sleep on lid close while on lockscreen
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
seqizz
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2008
Posts: 103

PostPosted: Sat Dec 17, 2016 10:02 am    Post subject: [Solved] Plasma-Can't sleep on lid close while on lockscreen Reply with quote

Hi everyone,

Currently using stable amd64 with plasma desktop, amazed by stability so far.

With a small glitch: When the screen is locked, closing the lid doesn't make system go to sleep (suspend to ram). Don't have problems when screen is not locked.

Any ideas/tips to start looking for?
_________________
what about an answer here?


Last edited by seqizz on Sat Dec 17, 2016 9:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1631
Location: United Kingdom

PostPosted: Sat Dec 17, 2016 4:45 pm    Post subject: Reply with quote

Hmm... It works for me with amd64 Stable and Plasma 5 on my Clevo W230SS laptop. I'm using LightDM rather than SDDM, but I doubt that would account for it. I'm not sure where you should look, but below is the situation on my laptop in case it gives you any ideas:

Code:
# ls -la /etc/polkit-1/localauthority/10-vendor.d/
total 28
drwxr-xr-x 2 root polkitd 4096 Dec 16 04:57 .
drwxr-x--- 7 root polkitd 4096 Jul 11 21:34 ..
-rw-r--r-- 1 root root     325 Dec 16 04:57 10-org.freedesktop.upower.pkla
-rw-r--r-- 1 root root     329 Dec 16 04:57 20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
-rw-r--r-- 1 root root     325 Dec 16 04:57 30-org.freedesktop.consolekit.system.restart-multiple-users.pkla
-rw-r--r-- 1 root root     368 Dec 16 04:57 40-org.freedesktop.consolekit.system.suspend-multiple-users.pkla
-rw-r--r-- 1 root root     309 Dec 16 04:57 50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla

Code:
# eix sys-power/upower
[I] sys-power/upower
     Available versions:  0.99.2-r1(0/3) ~0.99.3(0/3) 0.99.4(0/3) {doc +introspection ios selinux KERNEL="FreeBSD linux"}
     Installed versions:  0.99.4(00:02:45 12/07/16)(introspection -doc -ios -selinux KERNEL="linux -FreeBSD")
     Homepage:            https://upower.freedesktop.org/
     Description:         D-Bus abstraction for enumerating power devices, querying history and statistics

* sys-power/upower-pm-utils
     Available versions:  0.9.23-r2 {+introspection ios KERNEL="FreeBSD linux"}
     Homepage:            https://upower.freedesktop.org/
     Description:         The upstream upower 0.9 git branch for use with sys-power/pm-utils

Found 2 matches

Code:
# eix powerdevil
[I] kde-plasma/powerdevil
     Available versions: 
     (4)    4.11.22(4/4.11)
     (5)    5.8.3 ~5.8.4
       {aqua debug +handbook +pm-utils systemd +wireless}
     Installed versions:  5.8.3(5)(04:57:17 16/12/16)(handbook wireless -debug -systemd)
     Homepage:            https://projects.kde.org/projects/kde/workspace/powerdevil
     Description:         Power management for KDE Plasma Shell

Code:
# rc-update -v show | grep dbus
                 dbus |      default

Code:
# grep pam_ck_connector /etc/pam.d/system-login
session         optional        pam_ck_connector.so nox11

_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
seqizz
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2008
Posts: 103

PostPosted: Sat Dec 17, 2016 9:17 pm    Post subject: Reply with quote

Thanks @Fitzcarraldo !

I'm not using OpenRC. But re-enabling button handling on power settings from kde settings did the trick. Guess it was a one-time upgrade problem.
_________________
what about an answer here?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum