@itsu-m

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

シェルを閉じたのにサスペンドできない

解決したいこと

Lenovo Thinkpad P14s Gen4において、デュアルブート機能を利用してUbuntu 22.04LTSを導入したが、どうしても「シェルを閉じたらサスペンド」が有効にならないので、なんとかしたいです。

当方は非システムエンジニアであり、これから勉強したいなと考えています。Ubuntuについても使い始めてから3日と経たないど素人です。

調べた・試したこと

まずは「端末」アプリを起動し、vimをインストール、その後

sudo vim /etc/systemd/logind.conf

を実行。その中で

#HandleLidswitch=suspend
#LidswitchIgnoreInhibited=yes

の二行を発見したので、それぞれ次のように書き換えた。

HandleLidswitch=suspend
LidswitchIngoreInhibited=no

その後再起動をかけてみたものの、シェルを閉じてもサスペンドしませんでした。

0 likes

3Answer

LidswitchIngoreInhibited=no
これは、質問する際のタイポですか?
実際の設定のコピペでしょうか。

NG: Ingore
OK: Ignore

0Like

Comments

  1. @itsu-m

    Questioner

    タイポです、すみません!

  2. This comment has been deleted for violation of our Terms of Service.

This answer has been deleted for violation of our Terms of Service.

Your answer might help someone💌