0
I'm using Debian with Gnome3 and I'd like to know if there is an elegant way to start one program when another one is started.
My use case is the following: I use keepass as my password manager and I don't want to start it manually when I start my favorite web browser (Iceweasel). Also Iceweasel is automatically started when I log in.
For now I use desktop files to auto start Iceweasel and Keepass at log in. The problem is that keepass starts before the web browser, I start typing my password on Keepass, Iceweasel starts and take the focus so I have to go back on Keepass to finish typing my password which is not really convenient.
So my main interrogations are:
- Does Gnome3 as a feature to automatically start a GUI program after another one is started?
- If Gnome3 doesn't provide such a feature, should I create a shell script to do it. And if so how can I do it? (I'm familiar with basic shell scripting but I have no idea how to do this actually)
- Is there a solution other than built-in Gnome3 feature and script?
Some notes about my question:
- I've found a similar question using Windows but none using Linux and more precisely Gnome.
- It would be great if the solution worked with the Iceweasel instance automatically started at login but also with others instances that I would have started later after closing the first instance.
- EDIT Due to my Vimperator configuration I don't have a navigation bar in my Iceweasel. This implies that using plugins like KeeFox isn't that convenient because I don't have a direct access to the plugin icon.