Variety often struggles on KDE Plasma due to how the desktop environment natively handles wallpaper scripting and Wayland display sessions.To get Variety functioning on your CachyOS KDE setup, apply these three quick fixes:
-
Configure the Correct Display ServerVariety typically relies on X11 to change wallpapers dynamically. If you are running a Wayland session, it will fail to update your background. The Fix: Log out, click on your session in the login manager (bottom left/right corner), select Plasma (X11), and log back in.
-
Allow Variety to Trigger ScriptsBy default, KDE locks desktop widgets, preventing external applications like Variety from evaluating the set_wallpaper script. The Fix: Open your terminal and force KDE's plasmashell to unlock desktop modifications by running this command:
qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)" -
Check for Missing System Tray IconsIf Variety is running in the background but refuses to show an icon in your CachyOS systray, it usually means a dependency for indicator applets is missing. The Fix: Open a terminal and install libappindicator-gtk3 (or libayatana-appindicator), then restart Variety:
sudo pacman -S libappindicator-gtk3
Alternative Native SolutionIf Variety continues to give you trouble, you don't actually need it! KDE Plasma has a built-in automated wallpaper changer that is highly customizable. Right-click your desktop and choose Configure Desktop and Wallpaper.Under Wallpaper Type, change it to Slideshow.Add your folders, set the interval, and click Apply