Open application in background without losing current window focus. Fedora 17, Gnome 3
Posted
by
Ishan
on Super User
See other posts from Super User
or by Ishan
Published on 2012-08-30T21:28:18Z
Indexed on
2012/08/30
21:41 UTC
Read the original article
Hit count: 199
I'm running a script in the background which loads an image with feh depending on which application is currently in focus. However, whenever the script opens the image, window focus is lost to feh. I was able to circumvent this by using xdotool to switch back to the application that was originally in focus, but this introduces a short annoying period of time where the focus is switched from feh to the application.
My question is this: is there any way to launch feh in the background such that window focus is NOT lost?
System: Fedora 17, Gnome 3, Bash
Thanks a ton!
© Super User or respective owner