japamax / gnome-kde-dynamic-wallpaper-catalina

Time based GNOME macOS Catalina wallpaper with real scheludes & Azimuth Elevation based KDE macOS Catalina wallpaper
24 stars 7 forks source link

Time based GNOME macOS Catalina wallpaper with real scheludes
& Azimuth Elevation based / Time based KDE macOS Catalina wallpaper

Catalina dynamic wallpaper is 8 based images wallpaper.
Catalina dynamic wallpaper is useable as Gnome/KDE background which changes during the day/night.
For Gnome, it's a timed based wallpaper with real scheludes with 90 minutes transitions.
For KDE, the 1st version is a Azimuth Elevation wallpaper based on real Azimuth Elevation of the Sun for the Catalina island on 21/06/2019.
For KDE, the 2nd version is a timed based wallpaper with real scheludes.

Dependencies

Parameters

Gnome

None but you must sync your system clock time (presented both in local time and UTC) as well as the RTC (hardware clock).

KDE

Select "Dynamic" wallpaper type, put your real coordinates and your timer for the solar version. You must sync your system clock time (presented both in local time and UTC) as well as the RTC (hardware clock) for the timed version.

Installation

Users of Arch Linux

Arch Linux users need only clone and build this repository.

git clone https://github.com/japamax/gnome-kde-catalina-dynamic-wallpaper.git
cd gnome-kde-catalina-dynamic-wallpaper
makepkg -si

Users of other distros

Users of other distros can manually complete these 7 steps:

1) Copy catalina directory from this repo to /usr/share/dynamicwallpapers/catalina-solar/contents/images and make it readable by running the following as the root user:

mkdir -p /usr/share/dynamicwallpapers/catalina-solar/contents/images && 
cp catalina/* /usr/share/dynamicwallpapers/catalina-solar/contents/images && 
chmod 755 /usr/share/dynamicwallpapers/catalina-solar/contents/images && 
chmod 644 /usr/share/dynamicwallpapers/catalina-solar/contents/images/*

2) Create /usr/share/dynamicwallpapers/catalina-timed/contents/images and make it readable by running the following as the root user:

mkdir -p /usr/share/dynamicwallpapers/catalina-timed/contents && 
chmod 755 /usr/share/dynamicwallpapers/catalina-timed/contents  && 
ln -s /usr/share/dynamicwallpapers/catalina-solar/contents/images /usr/share/dynamicwallpapers/catalina-timed/contents/images 

3) Link catalina directory from /usr/share/dynamicwallpapers to /usr/share/backgrounds/macOS by running the following as the root user:

mkdir -p /usr/share/backgrounds/macOS &&
ln -s /usr/share/dynamicwallpapers/catalina-solar/contents/images /usr/share/backgrounds/macOS/catalina

4) Copy catalina-solar.json from this repo to /usr/share/dynamicwallpapers/catalina-solar/metadata.json and make it readable by running the following as the root user:

cp catalina-solar.json /usr/share/dynamicwallpapers/catalina-solar/metadata.json && 
chmod 644 /usr/share/dynamicwallpapers/catalina-solar/metadata.json

5) Copy catalina-timed.json from this repo to /usr/share/dynamicwallpapers/catalina-timed/metadata.json and make it readable by running the following as the root user:

cp catalina-timed.json /usr/share/dynamicwallpapers/catalina-timed/metadata.json && 
chmod 644 /usr/share/dynamicwallpapers/catalina-timed/metadata.json

6) Copy catalina-timed.xml from this repo to /usr/share/backgrounds/macOS and make it readable by running the following as the root user:

cp catalina-timed.xml /usr/share/backgrounds/macOS/catalina-timed.xml && 
chmod 644 /usr/share/backgrounds/macOS/catalina-timed.xml

7) Copy catalina.xml from this repo to /usr/share/gnome-background-properties and make it readable by running the following as the root user:

mkdir -p /usr/share/gnome-background-properties && 
cp catalina.xml /usr/share/gnome-background-properties/catalina.xml && 
chmod 644 /usr/share/gnome-background-properties/catalina.xml