Open euh2 opened 5 years ago
Fantastic! Like some extension can update desktop background automatically.
this should become a part of extension !
pgrep --euid $EUID gnome-session
3696
3937
3957
grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ
grep: /proc/3696: Is a directory
grep: 3937: No such file or directory
grep: 3957/environ: No such file or directory
Is it ok ?
Thanks for this extension! I just want to share how I implemented it to suit my needs. I wanted a screen curtain/ screen shield with rotating photos (slideshow/ carousel), just like an idle Chromecast Display. I created a script which changes two
gsettings keys
. One key from this extension:org.gnome.shell.extensions.unlockDialogBackground picture-uri
and one standard Gnome Shell key:org.gnome.desktop.screensaver picture-uri
. This extensions key changes the unlock screen, while the standard (screensaver) key changes the screen shield. I have both set to the same photo every 5 min (trough a cron job) for consistency. The photos are randomly selected from a specified folder.Here is the script (locks.sh):
And the cron job every 5 min (command:
crontab -e
):(For testing I piped the output to a logfile:)
I really enjoy the result!