Bug 172916

Summary: kpowersave screenlock not working on suspend
Product: [Frameworks and Libraries] solid Reporter: thekernel <kernelcruncher>
Component: powermanagement-daemonAssignee: Dario Freddi <drf>
Status: RESOLVED NOT A BUG    
Severity: normal CC: drf, gronslet, kojot350
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description thekernel 2008-10-16 06:49:38 UTC
Version:            (using KDE 4.1.2)
Compiler:          gcc 
OS:                Linux
Installed from:    SuSE RPMs

Running both kde3 and kde4

opensuse11 - Lenovo R61e Celeron
kde3.5.10
kde4.1.2

kde3 suspend on close lid - locks the screen, requires password on resume.

kde4 suspend on close lid - DOES NOT LOCK SCREEN
Lock screen from desktop buttons works fine.

The issue then is not it seems with kpowersave but with kde4??
Comment 1 Paweł Prażak 2008-10-16 18:29:46 UTC
I confirm this on openSuSE 11, KDE 4.1.2

IMHO the main problem is that currently there is no KDE4 version of kpowersave, but I'm sure devs are working on it already. (I hope so :)
Comment 2 MartinG 2008-11-07 08:36:55 UTC
Confirmed on Fedora Rawhide (kpowersave-0.7.3-3.fc9.i386, kdelibs-4.1.2-5.fc10.i386). I believe the reason is that KDE 4 is not using KScreensaver (or any of the other options in "Configure KPowerSave"/"General Settings"/"Lock screen"/"Lock screen with").

When I lock my KDE 4 desktop, it seems that the following command is used:

/usr/libexec/kde4/krunner_lock --forcelock

So, I believe this should be a quick fix - just add "KDE4 lock" or something to the list of lock commands.

Alternatively, change whatever script "KScreenSaver" is pointing to.
Comment 3 Jordi Polo 2008-11-25 18:06:23 UTC
Moved to a more meaningful place
Comment 4 Dario Freddi 2008-12-04 00:19:29 UTC
I'd say it is invalid, since this bug is related to KPowersave, and not powerdevil. Please use it, and your screen lock will be back
Comment 5 thekernel 2008-12-04 04:09:37 UTC
Yes. But.
I just moved on to Beta 4.2
Powerdevil is not packaged there yet. It was removed during upgrade and is not in the repo for my distro, OpenSuse 11.0