[Tails-dev] On keeping Tails running with the laptop lid shu…

Delete this message

Reply to this message
Author: exit-1
Date:  
To: Tails Dev
Subject: [Tails-dev] On keeping Tails running with the laptop lid shut
Hello

After much searching and failing with systemd, I have just found out how
to close the laptop lid in a Tails session, without it even cutting the
network connection, and thought it was worth sharing:

gsettings set org.gnome.settings-daemon.plugins.power
lid-close-ac-action nothing

Note this is for 'ac' not 'battery'. Perhaps someone can work this
option into System Settings, in case running a server for example in
Tails would be an interest. If shutting down in a hurry is a concern,
one can always just pull out the USB stick :)

--
exit-1