niomir.blogg.se

Start teamviewer 11 minimized
Start teamviewer 11 minimized




start teamviewer 11 minimized start teamviewer 11 minimized

Match = sum( for l in w_list if p in l] for p in proc], )Īlthough in general the second version should be more reliable, in cases when the application is started by a wrapper script, the pid of the command will be different from the application that is finally called. Proc = subprocess.check_output().decode("utf-8").strip().split() Just like the first script, it needs both wmctrl and xdotool The script #!/usr/bin/env python3 Return for w in l if w_name in w]Įxcept (Inde圎rror, subprocess.CalledProcessError): L = subprocess.check_output().decode("utf-8").splitlines()

start teamviewer 11 minimized

The script below does that and can be used as a general solution to startup an application in a minimized way. General solution to startup an application minimized Therefore, the command or script needs to be "smart" the second command should wait for the application window to actually appear. Starting up an application in a minimized way takes two commands:






Start teamviewer 11 minimized