比例道

ubuntu 22.04/23.04 の suspend を止める

2023年8月22日 13:11 ・ linux ・ 元の記事
以前書いた方法より簡単で確実な方法を知った。

ubuntuの自動サスペンドを止める方法は

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

再び自動サスペンドさせる方法は

sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

だ。

2023年の記事 ・ トップ