I think there is still a problem with the inhibition mechanism on KDE4 (and maybe any DE that uses the DBus interface). The call to the Inhibit method can't work because the calling process (qdbus or dbus-send) exits immediately.
Here's what the specification states:
Name: Inhibit
Args: DBUS_TYPE_STRING "application-name" DBUS_TYPE_STRING "reason for inhibit"
Returns: INT cookie This is a random number used to identify the request. Description: Request that saving the screen due to system idleness be blocked until UnInhibit is called or the calling process exits.
This kind of sucks, and the screensaver indeed activates itself as if no call to Inhibit were passed. (no matter what value I use as "application-name")
Using qdbusviewer and a small Qt program (processes that do not exit), I have been able to prevent the screensaver activation.
Sorry, I have no patch this time, I don't see any way to pass a call
from a Shell script without exiting :-(
Hello guys,
I think there is still a problem with the inhibition mechanism on KDE4 (and maybe any DE that uses the DBus interface). The call to the Inhibit method can't work because the calling process (qdbus or dbus-send) exits immediately.
Here's what the specification states:
Name: Inhibit
DBUS_ TYPE_STRING "reason for inhibit"
This is a random number used to identify the
request.
Description: Request that saving the screen due to system
idleness be blocked until UnInhibit is called or the
calling process exits.
Args: DBUS_TYPE_STRING "application-name"
Returns: INT cookie
Found at: lists.freedeskt op.org/ archives/ xdg/2007- March/009187. html
http://
(no idea at what point this reflects the actual implementation)
This kind of sucks, and the screensaver indeed activates itself as if no call to Inhibit were passed. (no matter what value I use as "application-name")
Using qdbusviewer and a small Qt program (processes that do not exit), I have been able to prevent the screensaver activation.
Sorry, I have no patch this time, I don't see any way to pass a call
from a Shell script without exiting :-(
Best regards and thanks again.