PDA

View Full Version : Launch app gui without taking focus? (window management)



Dragon45
August 20th, 2009, 11:18 AM
I'm running a stock Ubuntu installation (so X + metacity + gnome), and i want to launch a gui app from the terminal (say, #> blackjack &) but I *don't* want to the launched GUI app to get focus away from my terminal window. Any idea how to do this? Do i need to write some sort of special wrapper for metacity or something? I've never done WM scripting before.

kpkeerthi
August 20th, 2009, 12:57 PM
Devilspie can help.

http://live.gnome.org/DevilsPie
https://help.ubuntu.com/community/Devilspie
http://linux.die.net/man/1/devilspie

Hint: Use below action