bindsym with laptop lid closing event
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.
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.
Asked: 2015-10-08 14:10:02 +0000
Seen: 67 times
Last updated: Oct 08
Copyright i3, 2012 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
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.
Search this FAQ for "lid close", there should be a few things.