Skip to content

Instantly share code, notes, and snippets.

@Fef0
Created January 9, 2020 16:31
Show Gist options
  • Select an option

  • Save Fef0/fb0b09321f0ccf2935235f71a3cc97b7 to your computer and use it in GitHub Desktop.

Select an option

Save Fef0/fb0b09321f0ccf2935235f71a3cc97b7 to your computer and use it in GitHub Desktop.
Fix Thinkpad going to sleep when docked and lid is closed using Arch Linux and Systemd
Open /etc/systemd/logind.conf, then uncomment and edit these fields:
```
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment