You are not logged in.
Pages: 1
Hi,
I'm having much the same issue on two identical laptops (Asus Q405UA) where the laptop lid switch setting is not being respected by XFCE Power-manger. If I set Laptop Lid for either On Battery or Plugged In to "Switch off display" or "Lock screen" my system still goes in suspend mode when the lid is closed.
I checked setting xfce4-power-manager in Setting Editor, and the respective setting change with a changes made in Xfce Power-manger. However, the system still goes into suspend mode when the lid closes regardless of the Xfce Power-manager setting.
When I modify the setting in /etc/systemd/logind.conf
from
#HandleLidSwitchExternalPower=suspend
to
HandleLidSwitchExternalPower=ignore
the system does not go into suspend when the lid is closed.
All the other setting in power-manger seem to be working as expected.
Some system particulars are:
OS: Antergos
Power-Manager: 1.6.1-1
XFCE: 4.12
Any thoughts would be appreciated.
Thanks.
Last edited by Gotit (2019-04-14 22:25:41)
Offline
Try disabling logind usage from within xfce4-power-manager with this hidden setting:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false
See if that make a difference.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I does make a difference.
Setting close laptop lid action in power-manager to "Switch off display" and "Lock screen" I get the results expected. However, setting to "Suspend" is the same result as "Switch off display". i.e. suspend on close lid no longer works.
Update: after reboot, close laptop lid action is:
Switch off display = works as expected
Suspend = works as expected
Lock screen = suspend
All in all, better than before.
Last edited by Gotit (2019-04-15 01:07:52)
Offline
Lock screen = suspend
Which screen locker are you using?
Try also setting:
HandleLidSwitch=ignore
...in logind.conf. It shouldn't make a difference but maybe there is a bug somewhere.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
OK, very confusing...
Today, regardless if I'm on ac or battery I get:
Switch off display = suspend
Suspend = works as expected (suspend)
Lock screen = suspend
i.e. all settings = suspend
When I did:
HandleLidSwitch=ignore
Switch off display = works as expected
Suspend = switch off display
Lock screen = switch off display
i.e. all settings = switch off display
I think that was expected.
Which screen locker are you using?
light-locker
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false
Is this a transitory command or "fixed"? (once issued it stays until explicit change is made)
Offline
The command should be permanent unless otherwise changed. You can view it's value in xfce4-settings-editor or by running the command:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch
...check to see if it's changing.
This is interesting indeed. Since Antegeros is based on Arch, can you use the Arch AUR? If so, you can install the latest git version of the power manager using this AUR package. There have been many changes since the official repository version and it would be interesting to see if the issue persists with the newer version.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
If so, you can install the latest git version of the power manager using this AUR package.
I installed that version, 1.6.1+164 and got the same results. All setting = suspend on lid close.
Odd thing is, this used to work about 2 months ago. I checked my var/cache/pacman/pkg directory to downgrade, but there's no older version there. So, it seems it's not xfce4-power-manager per se causing the issue.
Offline
Odd thing is, this used to work about 2 months ago. I checked my var/cache/pacman/pkg directory to downgrade, but there's no older version there. So, it seems it's not xfce4-power-manager per se causing the issue.
Then something else changed that affected the power manager. I would suggest creating a bug report and seeing if a developer will have a deeper look.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Be happy to log a bug.
I'm assuming xfce4-power-manager is the package to log against as that's where the behavior is manifesting itself.
Offline
Yes, log it against xfce4-power-manager.
Thanks for helping.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Bug logged 15300
Offline
Update:
Power manager 1.6.2-1 has a minor improvement. If both "On Battery" and "Plugged In" are set to:
Switch off display
then lid action is as expected on either battery or AC.
However, any other combination results in Suspend. I can work with this.
Adding this note to the bug report.
Offline
Pages: 1
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 570.84 KiB (Peak: 587.69 KiB) ]