Sadly, there doesn't seem to be a simple way.
It appears you need to do something like this (from https://www.kubuntuforums.net/showthread.php/66762-Right-click-wallpaper-changer?p=387392&viewfull=1#post387392):
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file:///media/sda2/Background/SpaceWall/Escape_Function.jpg")}'
or, another example, formatted more nicely (adapted from https://github.com/bharadwaj-raju/libdesktop/issues/1:
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript '
var allDesktops = desktops();
print (allDesktops);
for (i=0;i<allDesktops.length;i++) {{
d = allDesktops[i];
d.wallpaperPlugin = "org.kde.image";
d.currentConfigGroup = Array("Wallpaper",
"org.kde.image",
"General");
d.writeConfig("Image", "file:///path/to/imagefile")
}}
'
I also found a pythonic solution.
VLC has a wallpaper mode that allows to set any media it's currently playing as a wallpaper - the documentation mentions "DirectX" but I'm pretty sure that option exists on all platforms.
Now you need a way to open the stream directly inside VLC, unfortunately nothing is that easy and every streaming platform will do whatever they can to use their awful Flash-based solution.
However, they also need to provide streams for mobile devices that don't support Flash, and here's what this undocumented URL is for : http://iphone-streaming.ustream.tv/uhls/17074538/streams/live/iphone/playlist.m3u8.
Once you have the URL, you just need to put the VLC command line (with the wallpaper option) inside a shortcut in the Startup folder of your start menu.
Here's a preliminary command line I came up with, however it has several issues like not being fullscreen, so you'll have to tinker with the --zoom
parameter (--width
and --height
have no effect unfortunately).
vlc --video-wallpaper --zoom 2 --no-osd --qt-start-minimized --qt-notification 0 --qt-system-tray http://iphone-streaming.ustream.tv/uhls/17074538/streams/live/iphone/playlist.m3u8
Open your Startup
folder, you can just use copy/paste this path directly in your start menu to open it : %AppData%\Microsoft\Windows\Start Menu\Programs\Startup
.
Create a new shortcut in that folder, it should point to vlc.exe
, the path itself should be quoted and the options should be appended after the quoted path, like this :
"C:\Program Files\VideoLAN\VLC\vlc.exe" --video-wallpaper --zoom 2 --no-osd --qt-start-minimized --qt-notification 0 --qt-system-tray http://iphone-streaming.ustream.tv/uhls/17074538/streams/live/iphone/playlist.m3u8
Finally you can test your changes by clicking on the new entry you just created in your start menu (it's in the Startup
folder), or log out and log back in.
Note that you have to enable display of the desktop icons, otherwise it won't work, not sure why.
Best Answer
On Ubuntu I use variety. It's "an automatic wallpaper changer, downloader and manager".
It can pull pictures from an RSS feed and automatically update your desktop.
Therefore, I'd imagine that if you setup an RSS feed that takes a screen shot of your website every x hours and hooked variety to it you'd have a solution.
I do not actually know how to set up a RSS feed but if you have any questions about variety let me know.
Edit:
Here is an other way to do what you want.
sudo apt-get install libqt5webkit5 python3-pyqt5.qtwebkit python3-pyqt5 python3
to install required librariesSetup a file with the following python3 code. This code takes a screen shot from WEBSITE_URL and updates your Ubuntu desktop.
In "Startup Applications" press add and type
watch -n 3600 python3 yourfilepath
under command. Replaceyourfilepath
with the path to where you saved the pythonscript. This will run the script every 3600 seconds = 1 hour.Note the delay variable in the wait_load function. Increase it's value if the web page doesn't have time to load.