Xfce Forum

Sub domains

You are not logged in.

#1 2013-07-07 21:35:37

Registered: 2013-07-07
Posts: 2

[Solved] Toggle xfce4-power-manager/dpms-enabled with xfconf-query

I'm trying to write a script that will toggle power manager settings as mentioned above.  What I think should work is

xfconf-query -c xfce4-power-manager -p /dpms-enabled -T

but this just returns

Property "/dpms-enabled" does not exist on channel "xfce4-power-manager".

even though running

xfconf-query -c xfce4-power-manager -l -v


/xfce4-power-manager/dpms-enabled                   true
/xfce4-power-manager/dpms-on-ac-off                 25
/xfce4-power-manager/dpms-on-ac-sleep               20
/xfce4-power-manager/general-notification           false
/xfce4-power-manager/inactivity-on-ac               40
/xfce4-power-manager/lock-screen-suspend-hibernate  false
/xfce4-power-manager/power-button-action            3
/xfce4-power-manager/show-tray-icon                 3
/xfce4-power-manager/spin-down-on-ac                true

  Any suggestions?

It seems that

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/dpms-enabled -T

works, though properties for other channels do not require that longer path.  Possible bug?  I'll mark this as solved.

Last edited by llogg (2013-07-08 11:55:04)


Board footer

Powered by FluxBB