![]() |
What commandline args are supported by osso-xterm?
There's no documentation on osso-xterm, so I'm looking through the source to try to find out what CLI arguments are supported.
Here's the main: Code:
int Code:
void My goal at the moment is to simply launch an xterm window from a script, and have it execute something (in this case, "tail -f <some log file>") My blind guess was to try: osso-xterm -x "tail -f /var/log/file" osso-xterm -c "tail -f /var/log/file" /usr/bin/maemo-summoner /usr/bin/osso-xterm.launch -x "tail -f /var/log/file" All those attempts have failed. |
Re: What commandline args are supported by osso-xterm?
osso-xterm -e "tail -f /home/user/ledcolor.py"
^^ Opens an osso-xterm and keeps the window open here. (-e was actually a guess :\) |
Re: What commandline args are supported by osso-xterm?
In reply to your question over IRC (before you got disconnected),
either:
|
Re: What commandline args are supported by osso-xterm?
Quote:
Code:
/usr/bin/maemo-summoner /usr/bin/osso-xterm.launch \ I thought "run-standalone.sh" was supposed to make the maemo-invoker work, but it doesn't seem to. I have yet to see maemo-invoker work; but I'm not sure why it matters at this point, since maemo-summoner works. [EDIT] I've discovered that "source /etc/osso-af-init/af-defines.sh" is needed in order to launch from an openvpn script for some reason. This actually fixes another issue I was having ( http://talk.maemo.org/showthread.php?t=30809 ) |
Re: What commandline args are supported by osso-xterm?
Source isn't a script. It's a command that you include in the script (before maemo-summoner).
(I know source works because I've used it in scripts that run as root and run dbus-send, not even maemo-summoner.) |
Re: What commandline args are supported by osso-xterm?
Quote:
But where it helped was when the call to maemo-summoner had to be embedded within an openvpn config file. |
All times are GMT. The time now is 02:08. |
vBulletin® Version 3.8.8