0
votes
1answer
279 views

bash log in windows and run cmd command using .sh script?

Ip of my Windows machine is 172.16.22.53, and it installed cygwin. I want write a bash script like that: #!/bin/bash sshpass -p 'myPassWord' ssh userNmae@172.16.22.53 #and some command to run cmd ...
4
votes
2answers
417 views

Wait for a X window to appear/disappear (in a sane way)

Inside a shell script, I need to wait for a window that has a string on its title to appear, do some action, and then wait for it to disappear, and do some other action. Until yesterday, I had this ...
5
votes
1answer
268 views

Shell script: find iconized programs , if found , activate it

Stardict uses a tray icon , also allows multiple instance of itself , but sadly , i don't use a panel , so no notification area available. But when I hit on close , it minimized to tray , is there a ...
1
vote
1answer
809 views

How to make progress dialog for Bash in XFCE?

Previously, in KDE, this was simple -- I called KDialog with number of steps, I got DCOP handle in return, then I called dcop with that reference and step, and progress dialog got updated. However, ...