Hi all
Been pulling my hair out trying to change the wallpaper programmatically.
Using desktop V3.0 (kernel 3.13.6-porteus) and using lxde.
I need to change wallpaper with different SVG images which are dynamically generated.
Any assistance in this regard would be greatly appreciated.
T.I.A.
Dave.
[Solved]Programmatically change wall paper
[Solved]Programmatically change wall paper
Last edited by Dave99 on 14 Apr 2016, 22:11, edited 1 time in total.
- ncmprhnsbl
- DEV Team
- Posts: 3936
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: Programmatically change wall paper
a tricky one
some questions:
can you set a .svg wallpaper using pcmanfm(rightclick>desktop settings)?
what's dynamicly generating the images and where are they put?
edit: feh can use .svg ... https://wiki.archlinux.org/index.php/Feh "Note that you need imagemagick "
some questions:
can you set a .svg wallpaper using pcmanfm(rightclick>desktop settings)?
what's dynamicly generating the images and where are they put?
edit: feh can use .svg ... https://wiki.archlinux.org/index.php/Feh "Note that you need imagemagick "
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Re: Programmatically change wall paper
Hi ncmprhnsbl
Yes I can set a svg using the rightclick--> desktop settings.
The svg's are being generated by a Bash script and I can set them to be put anywhere.
Will look into feh, thank you.
Dave
Yes I can set a svg using the rightclick--> desktop settings.
The svg's are being generated by a Bash script and I can set them to be put anywhere.
Will look into feh, thank you.
Dave
- ncmprhnsbl
- DEV Team
- Posts: 3936
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: Programmatically change wall paper
here we go:
"You can change the wallpaper using "pcmanfm --set-wallpaper=" in a terminal"
from http://crunchbang.org/forums/viewtopic.php?id=19901
so something like:
a script that:
1. runs you svg generator every x mins (cron?)
2. runs "pcmanfm --set-wallpaper=/to/your/wallpaper.svg"(or include this in the generator script maybe)
"You can change the wallpaper using "pcmanfm --set-wallpaper=" in a terminal"
from http://crunchbang.org/forums/viewtopic.php?id=19901
so something like:
a script that:
1. runs you svg generator every x mins (cron?)
2. runs "pcmanfm --set-wallpaper=/to/your/wallpaper.svg"(or include this in the generator script maybe)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Re: Programmatically change wall paper
Hi ncmprhnsbl
Fantastic, exactly what I was looking for, a simple solution without the need to download anything else
as feh is not shipped with desktop version by default.
pcmanfm --set-wallpaper /to/your/wallpaper.svg
Many thanks, works a treat.
Dave
Fantastic, exactly what I was looking for, a simple solution without the need to download anything else
as feh is not shipped with desktop version by default.
pcmanfm --set-wallpaper /to/your/wallpaper.svg
Many thanks, works a treat.
Dave