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 3,156 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
Normal/Inverted Phase Playback
Last Post: hkphantomgtr
Today 12:45 PM
» Replies: 10
» Views: 3585
Snakeoil 1.4.3 (High End U3)
Last Post: Snoopy8
Today 10:49 AM
» Replies: 33
» Views: 1252
Work In Progress: 1.4.4
Last Post: agent_kith
23-Apr-2025 11:35 AM
» Replies: 13
» Views: 269
Wiki update - need your help!
Last Post: Snoopy8
22-Apr-2025 02:23 PM
» Replies: 7
» Views: 180
No audio devices on RPi5 with latests bu...
Last Post: miksi
21-Apr-2025 12:52 AM
» Replies: 16
» Views: 442
new install issues
Last Post: Snoopy8
19-Apr-2025 01:08 PM
» Replies: 7
» Views: 189
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 267
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 114
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 77
SQ difference - Raspberry Pi vs x86_64?
Last Post: agent_kith
09-Apr-2025 03:41 PM
» Replies: 15
» Views: 1083

[-]
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.