Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-02-16 14:45:00

jimwg
Member
Registered: 2011-12-11
Posts: 67

Changing backdrop cycle timing value in xfce4-desktop

Greetings:

I want to try to modify "uint" as a thirty seconds. .5 doesn't work. Any hints? I want to change cycle times with native XFCE ways without going third party as much as possible. It'd truly be appreciated! Thanks.

<channel name="xfce4-desktop" version="1.0">
  <property name="backdrop" type="empty">
    <property name="screen0" type="empty">
      <property name="monitor0" type="empty">
        <property name="image-path" type="string" value="/home/jimwg/.config/xfce4/desktop/backdrop.list"/>
        <property name="last-image" type="string" value="/usr/share/xfce4/backdrops/alone.jpg"/>
        <property name="last-single-image" type="string" value="/usr/share/xfce4/backdrops/alone.jpg"/>
        <property name="last-image-list" type="string" value="/home/jimwg/Pictures/Wallpapers/fem backdrops"/>
        <property name="backdrop-cycle-enable" type="bool" value="true"/>
        <property name="backdrop-cycle-timer" type="uint" value="1"/>
        <property name="image-style" type="int" value="4"/>

Last edited by jimwg (2013-02-16 14:46:09)

Offline

#2 2013-02-17 09:56:11

eric_the_idiot
Member
Registered: 2011-12-23
Posts: 58

Re: Changing backdrop cycle timing value in xfce4-desktop

The type doesn't support decimal places so you couldn't do it that way. To have a cycle timer in seconds instead of minutes you'd have to make a minor change in the code. In the current master branch of code it would be this line: http://git.xfce.org/xfce/xfdesktop/tree … rop.c#n779  You'd have to remove the * 60 part so that the backdrop-cycle-timer value would be in seconds instead of minutes. Then you could set it to 30, either in xfconf settings editor or xfdesktop-settings and it'd be 30 seconds.

Offline

#3 2013-03-21 03:25:27

jimwg
Member
Registered: 2011-12-11
Posts: 67

Re: Changing backdrop cycle timing value in xfce4-desktop

eric_the_idiot wrote:

The type doesn't support decimal places so you couldn't do it that way. To have a cycle timer in seconds instead of minutes you'd have to make a minor change in the code. In the current master branch of code it would be this line: http://git.xfce.org/xfce/xfdesktop/tree … rop.c#n779  You'd have to remove the * 60 part so that the backdrop-cycle-timer value would be in seconds instead of minutes. Then you could set it to 30, either in xfconf settings editor or xfdesktop-settings and it'd be 30 seconds.


Thanks for this! Wish I was a programming wiz!

Jim in NYC

Offline

Board footer

Powered by FluxBB