You are not logged in.
Hello
I'm on bspwm and I want to inhibit the xscreensaver when a video is playing in chromium. I know that Xfce when a video a playing in normal or full screen, if I click on the Power manager Icon in the system tray, I have a message that chromium is inhibiting the screensaver!
I'm wondering which I package I have to install to get a feature like this in bspwm.
Thank you in advance
Last edited by kgavionics (2020-11-02 01:28:30)
Offline
Does
xset s offdo what you want?
Offline
Does
xset s offdo what you want?
Thank you
Yes, it does, but I'm looking for an automatic way to do it like in xfce!
Offline
This has nothing to do w/ xfce or bspwm and you cannot "install a package" to make it work.
Chromium inhabits the screensaver through a standardized dbus interface, https://people.freedesktop.org/~hadess/ … /re01.html
XScreenSaver simply doesn't implement any dbus interfaces so chromium cannot inhibit it this way.
There's a python based shim, but that only allows to trigger a lock via dbus: https://aur.archlinux.org/packages/xscr … creenlock/
On a superficial check, none of the standalone screensavers/lockers seems to implement that, only the DE integrated ones, so you've have to eg. use xfce4-screensaver
Offline
This has nothing to do w/ xfce or bspwm and you cannot "install a package" to make it work.
Chromium inhabits the screensaver through a standardized dbus interface, https://people.freedesktop.org/~hadess/ … /re01.html
XScreenSaver simply doesn't implement any dbus interfaces so chromium cannot inhibit it this way.There's a python based shim, but that only allows to trigger a lock via dbus: https://aur.archlinux.org/packages/xscr … creenlock/
On a superficial check, none of the standalone screensavers/lockers seems to implement that, only the DE integrated ones, so you've have to eg. use xfce4-screensaver
Thank you, Seth, for the explanation!!!
Last edited by kgavionics (2020-11-01 14:43:52)
Offline
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Thank you for the link, I'm gonna try it out!
Update:
The script is working good!
Last edited by kgavionics (2020-11-02 01:29:06)
Offline