dbus service org.freedesktop.ScreenSaver in slackware?
by perrin4869 from LinuxQuestions.org on (#5KCR1)
One annoyance I've had with Linux since forever has been that watching youtube videos on Firefox has never stopped the screensaver from going off and making me have to move my mouse.
After all these years and making a fresh -current install I had a chance to delve into this, and I realized that Firefox uses dbus to inhibit the screensaver using something akin to the following:
Code:dbus-send --session \
--dest=org.freedesktop.ScreenSaver \
--type=method_call \
--print-reply \
--reply-timeout=20000 \
/org/freedesktop/ScreenSaver \
org.freedesktop.ScreenSaver.Inhibit \
string:program string:reasonIn my system (running i3-gaps from SlackBuilds.org), the above returns:
Code:Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service filesI dug through my system and google but I can't figure out which program would install this dbus service.
Was wondering if someone on these forums has any insights into this situation ^^;;
How would you go about making sure this inhibit command works?
After all these years and making a fresh -current install I had a chance to delve into this, and I realized that Firefox uses dbus to inhibit the screensaver using something akin to the following:
Code:dbus-send --session \
--dest=org.freedesktop.ScreenSaver \
--type=method_call \
--print-reply \
--reply-timeout=20000 \
/org/freedesktop/ScreenSaver \
org.freedesktop.ScreenSaver.Inhibit \
string:program string:reasonIn my system (running i3-gaps from SlackBuilds.org), the above returns:
Code:Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service filesI dug through my system and google but I can't figure out which program would install this dbus service.
Was wondering if someone on these forums has any insights into this situation ^^;;
How would you go about making sure this inhibit command works?