Live wallpaper for Fedora 36 (Gnome)

Greetings,

I want to share how to add Live wallpaper to Fedora Workstation with a simple video-player app.

Installing the required video-app and libs for compling xwinwrap

sudo dnf install mpv xorg-x11-server-devel.x86_64 libXrender-devel.x86_64 libXext-devel.x86_64

Now downloading and compiling Xwinwrap

git clone https://github.com/ujjwal96/xwinwrap.git
cd xwinwrap
make
sudo make install
make clean

To set up a script that makes a Live Wallpaper possible

cd /usr/local/bin
sudo nano Live.sh

add:

xwinwrap -fs -fdt -ni -b -nf – mpv -wid WID --no-audio --loop “/path/to/your/videofile”

then:

sudo chmod +x Live.sh
nano ~/.config/autostart/LiveWallpaper.desktop

Add:

[Desktop Entry]
Type=Application
Exec=sh -c “/usr/local/bin/Live.sh”
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Live wallpaper

Hope you like it :slight_smile:
Note power Saving is disabled while having Live Wallpaper.

1 Like