Advertisement
opencard

Включение ноутбука с закрытой крышкой

Feb 10th, 2024 (edited)
923
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.44 KB | None | 0 0
  1. #  cat /etc/systemd/logind.conf >>> HandleLidSwitch=ignore
  2.  
  3. #  This file is part of systemd.
  4. #
  5. #  systemd is free software; you can redistribute it and/or modify it under the
  6. #  terms of the GNU Lesser General Public License as published by the Free
  7. #  Software Foundation; either version 2.1 of the License, or (at your option)
  8. #  any later version.
  9. #
  10. # Entries in this file show the compile time defaults. Local configuration
  11. # should be created by either modifying this file, or by creating "drop-ins" in
  12. # the logind.conf.d/ subdirectory. The latter is generally recommended.
  13. # Defaults can be restored by simply deleting this file and all drop-ins.
  14. #
  15. # Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
  16. #
  17. # See logind.conf(5) for details.
  18.  
  19. [Login]
  20. #NAutoVTs=6
  21. #ReserveVT=6
  22. #KillUserProcesses=no
  23. #KillOnlyUsers=
  24. #KillExcludeUsers=root
  25. #InhibitDelayMaxSec=5
  26. #UserStopDelaySec=10
  27. #HandlePowerKey=poweroff
  28. #HandleSuspendKey=suspend
  29. #HandleHibernateKey=hibernate
  30. HandleLidSwitch=ignore
  31. #HandleLidSwitchExternalPower=suspend
  32. #HandleLidSwitchDocked=ignore
  33. #HandleRebootKey=reboot
  34. #PowerKeyIgnoreInhibited=no
  35. #SuspendKeyIgnoreInhibited=no
  36. #HibernateKeyIgnoreInhibited=no
  37. #LidSwitchIgnoreInhibited=yes
  38. #RebootKeyIgnoreInhibited=no
  39. #HoldoffTimeoutSec=30s
  40. #IdleAction=ignore
  41. #IdleActionSec=30min
  42. #RuntimeDirectorySize=10%
  43. #RuntimeDirectoryInodesMax=400k
  44. #RemoveIPC=yes
  45. #InhibitorsMax=8192
  46. #SessionsMax=8192
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement