109
submitted 11 months ago by manito_manopla@lemmy.ml to c/linux@lemmy.ml

I am looking for programs to put animated wallpapers on Linux, the ones I know for now are: Xwinwrap, paperview and komorebi. If you know of another program that can do this, leave it in the comments so that others can read it and give their opinion about the program.

you are viewing a single comment's thread
view the rest of the comments
[-] TechieDamien@lemmy.ml 1 points 10 months ago

I set mpv as the root window which worked well. I stopped using it a while back, but if you are interested, I could dig up the simple script for you (literally one or two lines iirc).

[-] manito_manopla@lemmy.ml 1 points 10 months ago

Ok, give me the script, please

[-] TechieDamien@lemmy.ml 2 points 10 months ago

Sure. If you are using an nvidia optimus laptop, you should also add __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia at the start of the last line when running in hybrid mode to run mpv on the dgpu. You should have a file at ~/.wallpaperrc that contains wallpaper_playlist: /path/to/mpv/playlist. You may want to add this script to your startup sequence via your wm/de.

#!/bin/sh

WALLPAPER_PLAYLIST=$(cat ~/.wallpaperrc | grep -v '^\w*#' | grep 'wallpaper_playlist' | sed "s/wallpaper_playlist: //")


xwinwrap -g 1920x1080 -ov -- mpv -wid WID --no-osc --no-audio --loop-playlist --shuffle --playlist=$WALLPAPER_PLAYLIST

Hope this helps!

this post was submitted on 24 Dec 2023
109 points (99.1% liked)

Linux

48334 readers
657 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS