bindsym with laptop lid closing event

asked 2015-10-08 14:10:02 +0000

a_flamethrowing_duck gravatar image

updated 2015-10-08 19:05:44 +0000

oberon gravatar image

Is it somehow possible to catch the lid closing event of a notebook and use bindsym to run a command when the lid is closed?

edit: I tried xev, because I thought it might catch some event, but without effect.

edit retag flag offensive close merge delete

Comments

1

This might depend on your hardware and/or configuration whether "LID close" emits a keypress event at all. If xev doesn't show anything you will have to search elsewehere first.

sur5r gravatar imagesur5r ( 2015-10-08 15:19:09 +0000 )edit
1

Search this FAQ for "lid close", there should be a few things.

Airblader gravatar imageAirblader ( 2015-10-08 17:19:40 +0000 )edit