I have been running the script at the following link to reload my xfdesktop every half hour with a background list (all JPGs approximately 1500x1000). However, after a few days, xfdesktop behaves strangely: high CPU for no apparent reason (and not when it's reloading) and freezing when right-clicking on the desktop. The latter causes a hard freeze (I must 'killall -9 Xorg') so I am unable to get a backtrace, but I will try to reproduce in other ways (refreshing many times manually?).
Sure enough, if I reload a lot (probably 50 times), the CPU is erratically (but constantly) high after that, almost like it snowballs. Let me know if there's anything I can do.
Created attachment 282 primitive way of having different wallpaper every 2 minutes i use this script to reload xfdesktop to have a slideshow as wallpaper in xfce4. it works fine for long time (tested for over 4 hours; every 2 min 2 new images (2 screens with 2 lists as backdrops)) so i cannot reproduce your crash. what i observe is that every time xfdesktop is run by this script, the CPU goes to 100% for about 2 seconds. this is not really cool behaviour as the machine is not really responsible for this short time every 2 minutes. a possible solution would be to implement in xfdesktop a flag to only reload the wallpaper and stay running. only loading new images do not need CPU that much. ... or the best solution would be to have a built-in option of slideshow in backdrops.
sorry, i forgot to mention: i use xfce 4.2.2
(In reply to comment #2) > Created an attachment (id=282) [edit] > primitive way of having different wallpaper every 2 minutes [...] Errr... looks like you're on the wrong bug...
Hey Andrew - if you happen to be using SVN, can you reproduce this problem with current SVN? I seem to remember I fixed a potentital crash problem a couple months ago that may be related. Or it may not...
I am on SVN and I'll check this soon. I haven't been using this script for a while now since it wasn't working. If I find anything, should I try to run it through gdb or something?
Hey Brian, We're looking at two days of xfdesktop being switched. I've been using the same pictures as before. For the last few hours, I've actually left it on to switch every minute. A nice slideshow. :) Mem usage is very low and has not increased at all. For what it's worth, I started a list from scratch, so I've been manually removing ones in the Desktop prefs that I don't want to see again. However, when I press Save, the image changes immediately, then quickly changes again. Want me to open another bug for that?
After a few weeks, no increased mem usage or crashes. I'm closing this.