Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XFCE 4.2 RC2 wallpaper script
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Fri Jan 14, 2005 7:15 am    Post subject: XFCE 4.2 RC2 wallpaper script Reply with quote

I was just wondering if anyone had worked out a script similar to some I've seen for Gnome and Enlightenment, which would provide a "rotating/changing wallpaper" feature that KDE has in kdesktop. What I'm looking for is similar to this post: https://forums.gentoo.org/viewtopic.php?t=240859&highlight= . suburbanizedgeek suggested a script farther down the page that uses what I am looking for, but since I no longer am using enlightenment I was wondering what a proper xfce substitute might be.
Back to top
View user's profile Send private message
zsoltika
l33t
l33t


Joined: 13 Nov 2003
Posts: 634
Location: Budapest, Hungary

PostPosted: Fri Jan 14, 2005 4:13 pm    Post subject: Reply with quote

I'm wondering why anyono need a script for this?
Just read this section of the documentatuion.
In short:
Create a backdrop (a.k.a. wallpaper) list in the settings, then
add
Code:
xfdestop -reload
to your crontab.
Or run manually
Code:
xfdesktop
from your console while xfce running.
Hope this helps.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Fri Jan 14, 2005 9:53 pm    Post subject: Reply with quote

zsoltika wrote:
I'm wondering why anyono need a script for this?


I have a great deal of personal pictures with friends which I want to cycle through, so that's why I am trying to do this. Just keeping some good memories going =).

//EDIT:
Just taking that into consideration, I thought that this method was better... cron would be called a lot and it would try to bring up the display although I might just be operating in a terminal window, ie not very efficient. So I just used the old script suggestion from my other thread, but just modified it with your note.

Code:


#!/bin/bash
#

timeint=300; # number of seconds
while true
do
        sleep ${timeint};
        xfdesktop -reload;
done


To anyone else interested (not sure anyone will mind, but just in case for future readers): All that needs to be done is add it to .xinitrc and you're done, ie...

Code:

xfce4-session & nice -n 19 rotate_wallpaper.sh &
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum