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?

More than 5 years have passed since last update.

gnome-session-inhibitを使って, mpvで動画を再生中に画面をロックしないようにする

Posted at

GNOME3 (archlinux) 環境において, mpvで動画を再生してしばらく経つと, GNOMEの省電力の設定に従って, 画面がロックされてしまう.

省電力設定を変更してロックしないようにして回避することはできるが, gnome-session-inhibit を使ってソフトウェアを起動してロックしないようにすることもできる.

$ gnome-session-inhibit mpv video.mp4

ゲームパッドを使うゲームでも, 遊んでる最中に画面がロックしてしまうことがあります.
試したわけではないけど, 同じやり方で回避できるんじゃないかな.

これまた確認したわけではないけど, GNOMEをベースにしているデスクトップ環境でも, 同じ方法はとれるのでは, と思います.

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?