You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Power Management applet.

Author (Read 4005 times)

0 Members and 2 Guests are viewing this topic.

Re: Power Management applet.
« Reply #5 on: February 03, 2024, 02:25:29 PM »
 

LarryB1607

  • Occasional Poster
  • **
  • 98
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel I5

  • MEMORY: 6Gb

  • VIDEO CARD: intel onboard
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.
 

Re: Power Management applet.
« Reply #4 on: February 03, 2024, 10:35:59 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 821
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
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: [Select]
xfce4-power-manager-settings
clueless
 

Re: Power Management applet.
« Reply #3 on: February 03, 2024, 08:40:17 AM »
 

LarryB1607

  • Occasional Poster
  • **
  • 98
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel I5

  • MEMORY: 6Gb

  • VIDEO CARD: intel onboard
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>
 

Re: Power Management applet.
« Reply #2 on: February 02, 2024, 04:53:55 PM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 821
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
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: [Select]
cat ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xmlThere 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: [Select]
xfce4-power-manager -cfollowed 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.
clueless
 

Power Management applet.
« Reply #1 on: February 02, 2024, 02:03:05 PM »
 

LarryB1607

  • Occasional Poster
  • **
  • 98
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: Intel I5

  • MEMORY: 6Gb

  • VIDEO CARD: intel onboard
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
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section