I had a problem setting up some automation on Ubuntu and was hoping for some help. I need to run chrome, set up a full screen, run another window, set it always on top, and then set focus back to chrome. This should end with a small window on top of the chrome, but the chrome receives all user inputs.
I have done a lot to dig, and the best I can think of is to use wmctrl:
// Set chrome as fullscreen<br/>
wmctrl -r [ChromeWindowTitle] -b add,fullscreen
// Set the app as always on top<br/>
wmctrl -r [AppWindowTitle] -b add,above
// Activate chrome<br/>
xdotool search
Always running at the top and fullscreen, but when the application is in fullscreen, it seems to always replace on the top stack. I was able to verify this through a bunch of experiments. Basically, I was able to check:
1) I can force the application to be fullscreen 2) I can force the application to always be at a height 3) I cannot do both, always on the top application on top of the fullscreen application. A full-screen application is always displayed on top.
So the question is, is it possible (and how is it possible) to have a window floating above a full-screen window? I am running pretty vanilla Ubuntu 14.04, so there shouldn't be any big surprises there.
Thanks in advance.
-Mike
source
share