View Single Post
Posts: 21 | Thanked: 6 times | Joined on Apr 2010
#24
Originally Posted by Copernicus View Post
I think explicitly calling osso-xterm with an exec flag from the shell script should do what you are saying here. Something like this:

Code:
#!/bin/sh
/usr/bin/osso-xterm -e "nohup x11vnc -forever"
Note: don't use the "&" flag, or the xterm will spawn off an independent x11vnc process and immediately close!

Edit: Or not. I just tried running osso-xterm -e "fennec &", and it worked exactly the same as just osso-xterm -e "fennec". Oh well, guess you can't use that sort of flag with -e...
Thanks for the tip, but not really there yet This works great!
Code:
#!/bin/sh
/usr/bin/osso-xterm -e "fennec"
This don't work, shows up on screen and the dissapears directly
Code:
#!/bin/sh
/usr/bin/osso-xterm -e "nohup x11vnc -forever"
Maybe I need to do something else when its a "terminal command"?
 

The Following User Says Thank You to raffe For This Useful Post: