0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Debain 12 で自動サスペンドしてしまうのをやめたい

Last updated at Posted at 2025-11-08

Debian 12で最新のgnomeに更新すると、15分で勝手にサスペンドするようになり、サーバ運用で困ったので、勝手にサスペンドされないように設定を変更。

/etc/gdm3/greeter.dconf-defaultsのファイルを編集する

$ sudo nano /etc/gdm3/greeter.dconf-defaults

下記のように変更
sleep-inactive-ac-timeout が1200になっているので、これを0に変更。これで電源に接続している時のサスペンドが無効になる

# Automatic suspend
# =================
[org/gnome/settings-daemon/plugins/power]
# - Time inactive in seconds before suspending with AC power
#   1200=20 minutes, 0=never
 sleep-inactive-ac-timeout=0 #電源に接続されている時サスペンドを無効に
# - What to do after sleep-inactive-ac-timeout
#   'blank', 'suspend', 'shutdown', 'hibernate', 'interactive' or 'nothing'
# sleep-inactive-ac-type='suspend'
# - As above but when on battery
# sleep-inactive-battery-timeout=1200
# sleep-inactive-battery-type='suspend'

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?