The aimed application is `Turpial` and it connects to twitter. The problem is the needed window (to send the twits) just open with a right click (and select a option) on a systray icon. In the manual (man turpial) we don't find a command to open the twits window, just the timeline window. Obs.: after you open the window and send a twit, the window will be closed. I need this because I would like configure a global shorcut to open this window and then send my twits. So, some possibles solutions that I need is: Probably the better solution. How discover the command behind the application that performs the window to be opened by the right click (and selected a option) and then use it by terminal? How to open a window that can be open just with right click (and select a option) on a systray icon by terminal? How to enable a shorcut to open this window?