Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

カード読み込み時にスリープを解除する #146

Open
wancom opened this issue Jun 5, 2019 · 0 comments
Open

カード読み込み時にスリープを解除する #146

wancom opened this issue Jun 5, 2019 · 0 comments
Labels
enhancement New feature or request later

Comments

@wancom
Copy link
Member

wancom commented Jun 5, 2019

RaspberryPiのディスプレイを自動スリープするようにしたのでカードを読み込んだ時にディスプレイのスリープを解除したい。

カードを読み込んだ時にコマンドを実行するような機能をつけるなど。

下記の通りにするとディスプレイをスリープ・スリープ解除できる。

# DISPLAY環境変数を設定してディスプレイを操作できるようにする
DISPLAY=:0.0
# ディスプレイをスリープにする
xset dpms force off 
# ディスプレイのスリープを解除する
xset dpms force on  
@wancom wancom added later enhancement New feature or request labels Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request later
Projects
None yet
Development

No branches or pull requests

1 participant