View Single Post
Posts: 11 | Thanked: 2 times | Joined on Jan 2011 @ Helsinki, Finland
#18
I have the newest modified desktop and keyboard-shortcuts, I'm using PR1.3 and everytime I open a browser window via ctrl-shift-i or ctrl-shift-b it seems to open two new browser windows instead of one. the same happens with pressing 'o' in the task nav.
I've been playing with the keyboard-shortcut script, and I was wondering why can't I use:
import webbrowser
webbrowser.open_new("")
to open a new window instead of the dbus call. seems to work fine in the interactive python shell but not when implemented in the keyboard-shortcut script.
Also I'd like to know how to make the python script launch e.g. conky so I could make it launch when ctrl-shift-c is pressed.
Any help would be appreciated.
 

The Following User Says Thank You to Husky For This Useful Post: