iye/lightsOn

There is no kscreensaver in current kde4

Opened this issue · 1 comments

Hi, there's no kscreensaver in current KDE4 (4.12.4). However, I have no idea how to detect if kde4's screensaver facility is actually is use (at least I can't find a process that would be running). The script works otherwise, if I force screensaver=kscreensaver (the simulateuseractivity etc.).

Here's some pgrep output (while KDE4's screensaver is actually in use):

$ pgrep -l kde
19 kdevtmpfs
2699 startkde
2761 kdeinit4
2764 kded4
3575 polkit-kde-auth
$ pgrep -l screen
3626 screen
3627 screen

Can be detected using

qdbus | grep org.kde.screensaver

as KDEs screensaver has a DBus service named org.kde.screensaver.