Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: HowTo: Wallpaper Changer for Xubuntu (Xfce)

  1. #21
    Join Date
    Nov 2008
    Location
    Netherlands
    Beans
    159

    Re: HowTo: Wallpaper Changer for Xubuntu (Xfce)

    Quote Originally Posted by Kangarooo View Post
    I would suggest easyr is this.
    After putting wallpaper list and installing cron
    just open crontab -e
    paste there just */5 * * * * export DISPLAY=:0; /usr/bin/xfdesktop -reload
    save and exit with ctrl+shift+X and then Y and Enter
    and thats it.
    it will make every minute that can be divided by 5 to reload xfdesktop so basicly every 5 minuts
    Old thread, but people might still be using this
    I agree, reloading prevents any flickering from occurring. Also, killing the process about 5/6 times doesnt make it startup again for me. This does work however.
    "Just let the spinning wheel spin,
    and let your life begin!" - Arch Enemy

  2. #22
    Join Date
    Jun 2006
    Location
    Parker, CO USA
    Beans
    9
    Distro
    Ubuntu

    Re: HowTo: Wallpaper Changer for Xubuntu (Xfce)

    Quote Originally Posted by BlackTopBum View Post
    Thank you, this is somewhat sweet. I say "somewhat" because if I'm not logged in cron sends the following message (25 of them last night alone <g>):

    Cron <cmo@codybeau> killall -USR1 xfdesktop
    xfdesktop: no process killed

    Know of a way around this and yet allow switching images? i *REALLY* like the changing wallpaper.
    [dave@petard ~]$ crontab -l
    */5 * * * * /usr/bin/who | /bin/grep -E "dave *tty1" 2>&1 > /dev/null && /usr/bin/xfdesktop --display=:0 --reload 2>&1 > /dev/null

    If I'm logged in, I get a tty. The grep -E matches what comes back from the who command. If the grep fails, I'm not logged in and the result is "false" so the && short circuits and fails without executing the right side of the &&. If I'm logged in, the grep succeeds and the right side of the && has to be evaluated.

    Cheers,
    Dave

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •