events - How can a background Python process not simply monitor but capture shortkeys? -
events - How can a background Python process not simply monitor but capture shortkeys? -
i want have little python programme run in background monitoring keystrokes. when detects shortkey, want capture (i.e. not allow propagate focussed application) , corresponding shortkey.
to specific, want programme watch key combinations , run little script snap windows around according shortkeys. let's it's terminal window want snap side of screen. key here not want shortkey propagate terminal; want programme capture it, not monitor it.
how done on ubuntu?
python events ubuntu key x11
Comments
Post a Comment