! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[Feature request] Random change of background picture after some time
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfdesktop
Component:
General

Comments

Description Bulat Sibgatullin 2009-01-24 09:39:29 CET
For now it is possible to choose a list of background pictures in desktop settings. It would be great if pictures from this list are changed after some (user defined) time. This is implemented in GNOME and KDE, but not in XFCE.
Comment 1 Eric Koegel editbugs 2011-12-29 20:57:14 CET
Created attachment 4061 
[PATCH] Backdrop image cycling based on timer

This code adds the ability to change the backdrop image when it's
set to an image-list based on a backdrop-cycle-timer setting. Since this
isn't exposed via xfdesktop-settings the value can be changed through
the following xfconf-query command, where 10 is the number of minutes before switching. 
xfconf-query -c xfce4-desktop -np /backdrop/screen0/monitor0/backdrop-cycle-timer -t 'int' -s 10
Note: Your screen and monitor numbers maybe different.
Comment 2 Nick Schermer editbugs 2012-01-18 16:00:45 CET
I'm against this as a hidden property. I also doubt g_timeout_add_seconds() is inaccurate, so drop the GTimer. The timer id should be handled as well, so hold it in XfceBackdrop and run g_source_remove on finalize.

For 65535 you can use GMAX_INT.
Comment 3 Eric Koegel editbugs 2012-02-06 14:55:45 CET
Created attachment 4167 
[PATCH] Backdrop image cycling on a timer

Added a checkbox to enable backdrop cycling and a spinbox to set the number of
minutes to the settings app. Also switched to using the timer_id for
g_timeout_add_seconds(), somehow I managed to miss that completely. Switched to
G_MAXUSHORT since the cycle_timer will get multiplied by 60 to be in minutes.
Comment 4 Eric Koegel editbugs 2012-02-09 08:44:42 CET
Created attachment 4175 
[PATCH] Backdrop image cycling on a timer

In the settings app, there were a couple cases where the minutes spinner box was
sensitive when it wasn't intended to be, fixed.
Comment 5 Eric Koegel editbugs 2012-02-12 11:18:09 CET
Created attachment 4190 
[PATCH] Backdrop image cycling on a timer

Got my hands on a 2nd monitor to test with and found a bug.
Moved the backdrop list from desktop to the backdrop, this
way you can have independent lists per monitor to cycle on
and do things like only cycle on one (or more) monitor(s).

Bug #4850

Reported by:
Bulat Sibgatullin
Reported on: 2009-01-24
Last modified on: 2012-02-13

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
2 users

Version

Version:
4.5.99.1 (4.6 rc 1)

Attachments

Additional information