! 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 !
Spin down hard disks not keeping checked
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description 3r0s 2011-06-04 16:56:37 CEST
Created attachment 3715 
Power Manager setting "Spin down hard disks" on AC

Using Xubuntu 11.04.

Tried many times to set "Spin down hard disks" on both AC and Battery panel, but the box is not checked when re-opening the Power Manager.

See attached.

Power Manager setting "Spin down hard disks" works if using Gnome or KDE.
Comment 1 3r0s 2011-06-04 16:57:37 CEST
Created attachment 3716 
Power Manager setting "Spin down hard disks" on Battery
Comment 2 Ali Abdallah editbugs 2011-06-27 16:34:13 CEST
This bug have been fixed already, it seems that you are not running the 1.1.10
please attach the output of: 

xfce4-power-manager -V
Comment 3 3r0s 2011-06-27 16:52:43 CEST
$ xfce4-power-manager -V

Xfce Power Manager 1.0.10

Part of the Xfce Goodies Project
http://goodies.xfce.org

Licensed under the GNU GPL.
----
I'm using XFCE latest update as provided in Xubuntu 11.04.
It seems that Xubuntu 11.04 ships with an older Xfce Power Manager.
How can i get the latest?
Comment 4 Ali Abdallah editbugs 2011-06-28 13:17:17 CEST
My problem is that i'm not able to reproduce here with the same setup as yours, can you please re-run the test and report back.
Comment 5 3r0s 2011-06-28 17:46:27 CEST
Hi Ali,

Here below the result of "xfce4-power-manager -V" run in terminal:

----
$ xfce4-power-manager -V

Xfce Power Manager 1.0.10

Part of the Xfce Goodies Project
http://goodies.xfce.org

Licensed under the GNU GPL.
----

I'm using Xubuntu 11.04 (latest version) fully updated, and it seems the xfce4-power-manager distributed with Xubuntu 11.04 is the 1.0.10.

You say xfce4-power-manager 1.1.10 fixes this bug, but Xubuntu repository does not contain this xfce4-power-manager 1.1.10.

Can this xfce4-power-manager 1.1.10 be included in Ubuntu/Xubuntu software repository for updates?
Comment 6 3r0s 2011-06-28 17:53:19 CEST
Also http://goodies.xfce.org/projects/applications/xfce4-power-manager offer version 1.0.10.
Comment 7 Ali Abdallah editbugs 2011-06-28 18:34:58 CEST
(In reply to comment #6)
> Also http://goodies.xfce.org/projects/applications/xfce4-power-manager offer
> version 1.0.10.

Yes, the correct version is 1.0.10, i was wrong.

can you try to close the power manager:
xfce4-power-manager -q

then delete its configuration file:
rm $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml

the launch the power manager with:
xfce4-power-manager --debug

And then open the configuration dialog, check the "spin down on AC", then uncheck it and attach me the output of the power manager from the terminal.

(Also run 'whereis xfce4-power-manager-settings' and attach me the output here)
Comment 8 3r0s 2011-06-29 11:25:59 CEST
This is the xfce4-power-manager.xml before applying your troubleshooting:
----
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-power-manager" version="1.0">
  <property name="xfce4-power-manager" type="empty">
    <property name="power-button-action" type="empty"/>
    <property name="spin-down-on-ac" type="bool" value="true"/>
    <property name="lid-action-on-ac" type="uint" value="0"/>
    <property name="dpms-on-ac-sleep" type="uint" value="0"/>
    <property name="critical-power-action" type="uint" value="2"/>
    <property name="lid-action-on-battery" type="uint" value="0"/>
    <property name="spin-down-on-battery" type="bool" value="true"/>
    <property name="dpms-on-battery-sleep" type="uint" value="0"/>
    <property name="inactivity-sleep-mode" type="string" value="Hibernate"/>
    <property name="dpms-sleep-mode" type="string" value="suspend"/>
  </property>
</channel>
----
spin-down- attribute values are already set to true.

I followed your instructions, attached thefiles you need.

The spin-down- check boxes not showing checked.
Comment 9 3r0s 2011-06-29 11:27:12 CEST
Created attachment 3767 
Debug results
Comment 10 3r0s 2011-06-29 11:27:34 CEST
Created attachment 3768 
Whereis results
Comment 11 3r0s 2011-06-30 14:34:39 CEST
The new xfce4-power-manager.xml looks as below:
----
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-power-manager" version="1.0">
  <property name="xfce4-power-manager" type="empty">
    <property name="power-button-action" type="empty"/>
    <property name="lid-action-on-ac" type="uint" value="0"/>
    <property name="inactivity-on-ac" type="uint" value="14"/>
    <property name="spin-down-on-ac" type="bool" value="true"/>
    <property name="critical-power-action" type="uint" value="2"/>
    <property name="lid-action-on-battery" type="uint" value="0"/>
    <property name="inactivity-on-battery" type="uint" value="14"/>
    <property name="spin-down-on-battery" type="bool" value="true"/>
    <property name="inactivity-sleep-mode" type="string" value="Hibernate"/>
  </property>
</channel>
----
Comment 12 Ali Abdallah editbugs 2011-07-01 15:08:22 CEST
You right, the problem still exists in the 1.0.10, i thought that the fix went already into this release, will release a bug fix version that will go shortly into the xubuntu repository.

The commit that fixes the problem is:
(http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=f7a48533e198f3bb8d1ff5cffc1d2ec3bfdca6e6)

Thanks.

Bug #7691

Reported by:
3r0s
Reported on: 2011-06-04
Last modified on: 2011-07-01

People

Assignee:
Ali Abdallah
CC List:
0 users

Version

Version:
1.0.10

Attachments

Additional information