Using Fedora 36 workstation.
I cannot find the setting to only lock te desktop but not suspend.
How to I do that? Say after 15 minutes of no activity, the desktop should lock automatically.
- it will be nice if Gnome knows I am playing a video, then it will pause the count down.
The gnome settings panel → privacy → screen lock
gives you the ability to change the screen lock and screen blank settings.
I don’t know exactly what criteria gnome uses to determine activity or inactive as far as playing a video.
It already does that, but it may depend on applications inhibiting the screensaver. For example, the builtin video player does inhibit the screensaver. Also, playing Twitch in Firefox inhibits the screensaver.
If you’re using mpv you’ll want to start with gnome-session-inhibit.
Another related question - which tools I can use to find out if any apps are inhibiting the screensaver timer?
It seems when I am running DosBox Staging, the screensaver is not activating even the machine is idle overnight.
$ systemd-inhibit --list
WHO UID USER PID COMM WHAT WHY MODE
ModemManager 0 root 1024 ModemManager sleep ModemManager needs to reset devices delay
NetworkManager 0 root 1059 NetworkManager sleep NetworkManager needs to turn off networks delay
UPower 0 root 932 upowerd sleep Pause device polling delay
GNOME Shell 1000 fcc 48372 gnome-shell sleep GNOME needs to lock the screen delay
fcc 1000 fcc 48701 gsd-media-keys handle-power-key:handle-suspend-key:handle-hibernate-key GNOME handling keypresses block
fcc 1000 fcc 48701 gsd-media-keys sleep GNOME handling keypresses delay
fcc 1000 fcc 48704 gsd-power sleep GNOME needs to lock the screen delay
kaka 1006 kaka 36469 gsd-media-keys handle-power-key:handle-suspend-key:handle-hibernate-key GNOME handling keypresses block
kaka 1006 kaka 36469 gsd-media-keys sleep GNOME handling keypresses delay
kaka 1006 kaka 36472 gsd-power sleep GNOME needs to lock the screen delay
This is the output of
systemd-inhibit --list. My Gnome do not lock after idle for a few hours.
Which application is responsible?
can you look at:
and change screesaver from auto to allowed
Changing screensaver to allowed works.
Thank you very much for your kind assistance!