Posts: 122
Joined: Mon May 28, 2012 12:18 pm

Keyboard shortcut (single key) to run python script ?

Sat Jun 15, 2013 4:21 pm

How do I set up a single press keyboard shortcut to run a python script ?


Posts: 143
Joined: Tue Jan 08, 2013 10:35 am
Contact: Website

Re: Keyboard shortcut (single key) to run python script ?

Sun Jun 16, 2013 12:43 am

most special function keys, to the computer, arent actually a single key, but a combination of keys. Like the email button may be ctrl+alt+F8 or something like that, you'd just have to google it. If you found the combo for the key you want to assign it to, you can use openbox configuration, like this:

It is for screenshots, but it shows how to set up printscreen button to run an shell script when the printscreen button is pressed.
If it isnt smoking and blown into pieces, it's not pushed far enough yet. :P

Return to “Python”