Windows 10 Spotlight Screensaver and Background images for Gnome
-
Install dependancies: This script depends on jq binary. You need to install it before launching the script:
# Fedora sudo dnf install jq # Ubuntu and Debian sudo apt-get install jq # Centos sudo yum install jq
-
Clone the projet:
sudo git clone https://github.com/remyj38/spotlight.git /opt/spotlight
-
Create links for scripts:
sudo ln -s /opt/spotlight/spotlight.{service,timer} /etc/systemd/system/ sudo ln -s /opt/spotlight/spotlight.sh /usr/bin/
-
Change the target user in the
spotlight.service
file -
Enable and start the timer:
sudo systemctl daemon-reload sudo systemctl enable spotlight.timer sudo systemctl start spotlight.service
-
Enable the screensaver image:
gsettings set org.gnome.desktop.screensaver picture-options "zoom" gsettings set org.gnome.desktop.screensaver picture-uri "file://$HOME/.spotlight/.screensaver.jpg"
-
Enable the background image:
gsettings set org.gnome.desktop.background picture-uri "file://$HOME/.spotlight/.background.jpg" gsettings set org.gnome.desktop.background picture-options "zoom"