Guest User

Untitled

a guest
Aug 8th, 2025
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. /etc/systemd/sleep.conf:
  2. # This file is part of systemd.
  3. #
  4. # systemd is free software; you can redistribute it and/or modify it under the
  5. # terms of the GNU Lesser General Public License as published by the Free
  6. # Software Foundation; either version 2.1 of the License, or (at your option)
  7. # any later version.
  8. #
  9. # Entries in this file show the compile time defaults. Local configuration
  10. # should be created by either modifying this file (or a copy of it placed in
  11. # /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
  12. # the /etc/systemd/sleep.conf.d/ directory. The latter is generally
  13. # recommended. Defaults can be restored by simply deleting the main
  14. # configuration file and all drop-ins located in /etc/.
  15. #
  16. # Use 'systemd-analyze cat-config systemd/sleep.conf' to display the full config.
  17. #
  18. # See systemd-sleep.conf(5) for details.
  19.  
  20. [Sleep]
  21. AllowSuspend=yes
  22. AllowHibernation=yes
  23. AllowSuspendThenHibernate=yes
  24. AllowHybridSleep=yes
  25. #SuspendState=mem standby freeze
  26. #HibernateMode=platform shutdown
  27. #MemorySleepMode=
  28. #HibernateDelaySec=
  29. #HibernateOnACPower=yes
  30. #SuspendEstimationSec=60min
  31.  
  32.  
  33. /etc/systemd/logind.conf
  34.  
  35. # This file is part of systemd.
  36. #
  37. # systemd is free software; you can redistribute it and/or modify it under the
  38. # terms of the GNU Lesser General Public License as published by the Free
  39. # Software Foundation; either version 2.1 of the License, or (at your option)
  40. # any later version.
  41. #
  42. # Entries in this file show the compile time defaults. Local configuration
  43. # should be created by either modifying this file (or a copy of it placed in
  44. # /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
  45. # the /etc/systemd/logind.conf.d/ directory. The latter is generally
  46. # recommended. Defaults can be restored by simply deleting the main
  47. # configuration file and all drop-ins located in /etc/.
  48. #
  49. # Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
  50. #
  51. # See logind.conf(5) for details.
  52.  
  53. [Login]
  54. #NAutoVTs=6
  55. #ReserveVT=6
  56. #KillUserProcesses=no
  57. #KillOnlyUsers=
  58. #KillExcludeUsers=root
  59. #InhibitDelayMaxSec=5
  60. #UserStopDelaySec=10
  61. #SleepOperation=suspend-then-hibernate suspend
  62. #HandlePowerKey=poweroff
  63. #HandlePowerKeyLongPress=ignore
  64. #HandleRebootKey=reboot
  65. #HandleRebootKeyLongPress=poweroff
  66. #HandleSuspendKey=suspend
  67. #HandleSuspendKeyLongPress=hibernate
  68. #HandleHibernateKey=hibernate
  69. #HandleHibernateKeyLongPress=ignore
  70. HandleLidSwitch=suspend
  71. HandleLidSwitchExternalPower=suspend
  72. HandleLidSwitchDocked=suspend
  73. #HandleSecureAttentionKey=secure-attention-key
  74. #PowerKeyIgnoreInhibited=no
  75. #SuspendKeyIgnoreInhibited=no
  76. #HibernateKeyIgnoreInhibited=no
  77. #LidSwitchIgnoreInhibited=yes
  78. #RebootKeyIgnoreInhibited=no
  79. #HoldoffTimeoutSec=30s
  80. #IdleAction=ignore
  81. #IdleActionSec=30min
  82. #RuntimeDirectorySize=10%
  83. #RuntimeDirectoryInodesMax=
  84. #RemoveIPC=yes
  85. #InhibitorsMax=8192
  86. #SessionsMax=8192
  87. #StopIdleSessionSec=infinity
  88. #DesignatedMaintenanceTime=
  89.  
Advertisement
Add Comment
Please, Sign In to add comment