![]() |
2009-08-15
, 08:03
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
The Following 2 Users Say Thank You to qwerty12 For This Useful Post: | ||
![]() |
2009-08-15
, 08:45
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2009-08-15
, 09:07
|
Posts: 67 |
Thanked: 13 times |
Joined on Feb 2008
@ U.S.A.
|
#4
|
- source /etc/osso-af-init/af-defines.sh
or- Prefix the maemo-summoner command with "run-standalone.sh"
/usr/bin/maemo-summoner /usr/bin/osso-xterm.launch \ -e "tail -f <file>"
![]() |
2009-08-15
, 09:13
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#5
|
![]() |
2009-08-15
, 09:21
|
Posts: 67 |
Thanked: 13 times |
Joined on Feb 2008
@ U.S.A.
|
#6
|
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.)
Here's the main:
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.