You are not logged in.
Pages: 1
Topic closed
Hi all; this is I suspect an XFCE issue more than an arch issue, but here goes:
Although it is suggested elsewhere that there is a "Do nothing" option for closing the laptop lid in the XFCE power manager (see http://askubuntu.com/questions/407287/c … -terminal) I have no such option; only Lock Screen, Blank Screen, Suspend, and Hibernate. The Blank Screen option blanks the external monitor on lid close.
I want to connect to an external monitor, then be able to close my laptop lid, and I have a preference for affecting this change via CLI, because I'm writing a script to run when I connect the external that will include this change along with some xrandr changes.
I have tried setting the xfce power manager laptop lid behaviour via CLI to zero (which blanks screen) and numbers outside the range (which also blank screen), using this command
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/lid-action-on-ac -s (number)
thanks for any comments!
xfce version: 4.12
xfce4-power-manager version 1.4.4
laptop: asus ux32VD
Offline
Check the settings in the file at /etc/systemd/logind.conf
"It's impossible for a white person to believe in capitalism and not believe in racism. You can't have capitalism without racism."
— Malcolm X
Offline
ah should have mentioned; I also stopped systemd from handling the event
from my logind.conf:
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
Offline
You could try setting
IgnoreLid=true
in /etc/UPower/UPower.conf
As xfce4-power-manager depends on upower that might work.
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
thanks; that worked perfectly
Offline
I set the following as suggested and restarted. It worked. Thanks !
HandleLidSwitch=ignore in /etc/systemd/logind.conf
IgnoreLid=true in etc/UPower/UPower.conf
Offline
Glad you've solved your problem, but please avoid bumping old threads.
https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed