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 1,938 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
Installation of SnakeOil OS 1.3.0 on RPi...
Last Post: agent_kith
Today 07:27 AM
» Replies: 13
» Views: 599
Dropping Measurements, Hello High-End.
Last Post: uglymusic
18-Dec-2024 12:02 AM
» Replies: 20
» Views: 711
CA Server issues
Last Post: Peter_F
16-Dec-2024 06:36 PM
» Replies: 13
» Views: 226
install Snakeoil on Audio Alchemy DMP-1 ...
Last Post: uglymusic
08-Dec-2024 08:48 PM
» Replies: 2
» Views: 214
Announcing Snakeoil Measurements 1.3.0
Last Post: hkphantomgtr
03-Dec-2024 09:55 PM
» Replies: 105
» Views: 12036
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 6000
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1804
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 189
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 180
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 514

[-]
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-2024. Theme © Melroy van den Berg.