Author Topic: auto wallpaper changing  (Read 2020 times)

watton

  • Newbie
  • *
  • Posts: 2
    • View Profile
auto wallpaper changing
« on: July 03, 2015, 02:33:51 PM »
Hi ,

I've switched to "wattOS-LXDE - R9 -64 bit" In previous Linux desktops i used a cron to change the file wallpaper.jpg every x minutes
After that, the command     DISPLAY=:0.0 /usr/bin/nitrogen --restore &
made sure the background is shown. In wattos with LXDE that does not work anymore :(
Also tried an random wallpaper from synaptic, but no luck there either :(

Anyone any suggestions to get it back to work again ?

Thnx
T0n

blaze

  • wattOS Veteran
  • Sr. Member
  • ****
  • Posts: 441
  • blazing away
    • View Profile
Re: auto wallpaper changing
« Reply #1 on: July 04, 2015, 07:06:56 AM »
Did a little Google, have you tried this?

http://www.webupd8.org/2012/10/keep-yout-desktop-fresh-with-variety.html

Or it seems that you have to set up some sort of script solution yourself. And welcome to the forums watton :)
« Last Edit: July 04, 2015, 07:31:32 AM by blaze »
How To Ask Questions The Smart Way; http://www.catb.org/~esr/faqs/smart-questions.html

... and when SOLVED, please edit thread title in first post! :)

leenie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 234
    • View Profile
Re: auto wallpaper changing
« Reply #2 on: July 04, 2015, 12:17:36 PM »
If you have to go lightweight, check this out: http://ubuntuforums.org/showthread.php?t=2076417

I had to take it out of autostart because it messes with the desktop manager. I put an icon for it in an application launch bar. I just click the icon when I want a new background.

blaze

  • wattOS Veteran
  • Sr. Member
  • ****
  • Posts: 441
  • blazing away
    • View Profile
Re: auto wallpaper changing
« Reply #3 on: July 04, 2015, 05:00:28 PM »
Interesting solutions you have found there leenie  :)
How To Ask Questions The Smart Way; http://www.catb.org/~esr/faqs/smart-questions.html

... and when SOLVED, please edit thread title in first post! :)

watton

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: auto wallpaper changing
« Reply #4 on: July 04, 2015, 06:53:19 PM »
Thnx leenie. Came across that one before but did not seem to work. Your commandline does the trick
 ;D

to run it from con requires the display reference in front of it
DISPLAY=:0.0 pcmanfm -w "$(find /home/foo/Pictures/ -type f | shuf -n1)" --wallpaper-mode=stretch

« Last Edit: July 05, 2015, 10:37:19 AM by watton »