0

I have 2 scripts running once desktop loads both running a python script call them A & B

script B looks for keypress so has to remain on top always.

How can I boot both A & B but make sure B is always on top

This is a desktop setup but headless

  • What do you mean by "to remain on top"? – techraf Dec 30 '16 at 8:47
  • Yes I need to make sure B is always on top ready to type into – shaggs Dec 30 '16 at 10:21
  • @techraf I think he means that he wants the program to launch on boot and cover the top half of the screen on boot – Mohammad Ali Dec 31 '16 at 17:17
0

Found a way using wmctrl

So changed my terminal title using

-t title-name

Then added

wmctrl -a title-name

To my .sh script

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.