How to make HandleLidSwitch=ignore permanent?
#1
Hi all,

I have problem configuring HandleLidSwitch permanently?

I edit /etc/systemd/logind.conf and add HandleLidSwitch=ignore, however it gets removed after activating new kernel and reboot and the laptop goes to sleep after I close the lid.

How can I make this switch configuration permanent?

Thanks
Bela
Reply

#2
(30-Jun-2019, 08:55 PM)bela.pecsek Wrote: Hi all,

I have problem configuring HandleLidSwitch permanently?

I edit /etc/systemd/logind.conf and add HandleLidSwitch=ignore, however it gets removed after activating new kernel and reboot and the laptop goes to sleep after I close the lid.

How can I make this switch configuration permanent?
Snakeoil don't modify that file.

Run this command after you have modified the above file. That should make your changes "stick".
Code:
sudo systemctl restart systemd-logind
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDPlease make forum more mobile friendly Snoopy8 7 2,620 02-Jul-2022, 06:51 AM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
SOXR resampler and DSD
Last Post: agent_kith
Today 01:10 PM
» Replies: 3
» Views: 46
A ripping project ideae/help
Last Post: agent_kith
Today 01:09 PM
» Replies: 7
» Views: 83
Glibc 2.36 missing
Last Post: jetski
04-Mar-2025 03:23 AM
» Replies: 5
» Views: 122
Snakeoil 1.4.0 (High End)
Last Post: knottydreadbr
03-Mar-2025 11:42 PM
» Replies: 63
» Views: 4637
Using Ubuntu low latency & real time ker...
Last Post: hkphantomgtr
26-Feb-2025 12:13 AM
» Replies: 12
» Views: 576
My Snakeoil-powered system
Last Post: petemac110
24-Feb-2025 04:30 AM
» Replies: 7
» Views: 593
Snakeoil 1.4 and Squeezelite R2 - not re...
Last Post: petemac110
23-Feb-2025 07:47 PM
» Replies: 4
» Views: 127
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
21-Feb-2025 04:38 PM
» Replies: 9
» Views: 320
Progress update on High End U1
Last Post: agent_kith
21-Feb-2025 10:43 AM
» Replies: 8
» Views: 636
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 733

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.