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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -