DeskChanger is a gnome-shell wallpaper slideshow extension with multiple profile support. The extension allows you to switch profiles on the fly without reloading the daemon.
The requirements are for the most recent version of the plugin. Previous versions support older versions of gnome-shell.
- gnome-shell 3.32 or higher
- gjs 1.54 or higher
First clone the repo and run the following install instructions.
git clone -b develop [email protected]:BigE/desk-changer.git
cd desk-changer
make all
Once the make process is complete, you can then run make install
to install
the extension to your local directory. If you want to install it to the
system, just copy the [email protected] folder to your
/usr/share/gnome-shell/extensions/
folder.
# cp -r [email protected]/ /usr/share/gnome-shell/extensions/
Then restart gnome-shell and enable the extension. Once it is enabled, you can use the extension to start the daemon with the built in toggle switch.
The daemon is now part of the extension itself and has no command line interface. The only interface available to the daemon now is the DBus interface.
Name: org.gnome.Shell.Extensions.DeskChanger.Daemon
Path: /org/gnome/Shell/Extensions/DeskChanger/Daemon
Load(String profile)
Loads the specified profile and respective locationsNext()
Switches to the next wallpaper, returns the uriPrev()
Switches to the previous wallpaper, returns the uriQuit()
Terminates the daemon process.Start()
Enables automatic rotation and makes the daemon availableStop([Boolean quit])
Disables automatic rotation and makes the daemon unavaialble for use. Ifquit
istrue
then the daemon process will be terminated.
- History - Read only array of history
- Preview - Read only URI of the next wallpaper
- Queue - Read only array of the queue
- Running - Read only boolean value if the daemon is stopped or started
- Changed - Emitted when the wallpaper is changed, uri to wallpaper file
- Preview - Emitted when a new preview is available, uri to preview file
- Running - Emitted when the daemon is stopped and started
To view the settings in dconf-editor, just use the GSETTINGS_SCHEMA_DIR=
environment variable to open dconf-editor with the extensions schema available
to the editor.
$ GSETTINGS_SCHEMA_DIR=~/.local/share/gnome-shell/extensions/[email protected]/schemas/ dconf-editor /org/gnome/shell/extensions/desk-changer
Then navigate to /org/gnome/shell/extensions/desk-changer
and you will see
all of the available settings for the extension and daemon.