LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Power Management applet.
#1
Running LL 4.8.  I want to increase the time before the system goes to standby mode.  It is the mode after the display quits.  When I bring up the PM, it only stays on the desktop for about 1 second and then goes away.  Any other way to change these settings?

Thanks
Reply
#2
The settings are saved in xml files located in your home directory.  Power management settings are in this file and can be listed with cat.
For example
Code:
cat ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
There is a CLI tool to access and set values in these files - take a look at 'xfconf-query'

To try to find out what is going wrong with opening the utility itself try opening the power manager customisation GUI from a terminal session

Type or paste in
Code:
xfce4-power-manager -c
followed by enter

This should open the application window and if something odd is happening that closes it after 1 second there may be an indication in the terminal.
stevef
clueless
Reply
#3
Thanks so much for the reply, I used the xfce4-power-manager -c command, but am still seeing the applet close quickly.  No explanation given.  Here is what I got from the other command.  Not sure where to begin.

cat ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
<?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="uint" value="4"/>
    <property name="blank-on-ac" type="int" value="0"/>
    <property name="dpms-on-ac-sleep" type="uint" value="0"/>
    <property name="dpms-on-ac-off" type="uint" value="0"/>
    <property name="logind-handle-lid-switch" type="bool" value="false"/>
    <property name="lock-screen-suspend-hibernate" type="bool" value="false"/>
    <property name="dpms-enabled" type="bool" value="true"/>
    <property name="brightness-switch-restore-on-exit" type="int" value="1"/>
    <property name="brightness-switch" type="int" value="0"/>
  </property>
</channel>
Reply
#4
I wouldn't advise making manual changes - it is hard to make sense of the raw files and too much risk of breaking their functionality without a working GUI.

I guess this alternate command to open the GUI also closes straight away without any errors reported ?
Code:
xfce4-power-manager-settings
stevef
clueless
Reply
#5
Thanks again for the reply.  The reason I want to do this is my desktop screws up if I am away long enough for the PC to get to standby.  I have a 24" monitor attached to my 14" laptop. If I let the PC go to standby, the desktop splits into 3 sections.  The upper left corner is the desktop when I left it and the other 2 are the background.  I have tried a number of settings in display settings, even turning off the 14" and it still always happens.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)