Re: launching apps from the menu

2011-10-04 Thread Richard
On Tue, 4 Oct 2011 13:29:04 + (UTC) Camaleón wrote: > On Sun, 02 Oct 2011 14:12:26 +0100, Richard Bown wrote: > > > The launcher in the menu points to this script:- > > (...) > > > From the CLI it works fine from any location and fails to run when > > started from the menu. > > It fails?

Re: launching apps from the menu

2011-10-04 Thread Camaleón
On Sun, 02 Oct 2011 14:12:26 +0100, Richard Bown wrote: > The launcher in the menu points to this script:- (...) > From the CLI it works fine from any location and fails to run when > started from the menu. It fails? Why do you think it fails? I mean, does the python script launches a GUI bas

Re: launching apps from the menu

2011-10-03 Thread Raf Czlonka
On Sun, Oct 02, 2011 at 05:32:19PM BST, Richard Bown wrote: > Do you mean something like > WSJT=/home/richard/SDR/wsjt-re2454 > then use $WSJT No. You know what defining the PATH means, don't you? First thing to do would be to swap the last line in the script from: python wsjt.py to: echo $PAT

Re: launching apps from the menu

2011-10-02 Thread Richard Bown
On Sun, 2011-10-02 at 16:50 +0100, Raf Czlonka wrote: > On Sun, Oct 02, 2011 at 03:01:34PM BST, Richard Bown wrote: > > On Sun, 2011-10-02 at 14:35 +0100, Raf Czlonka wrote: > > > If that doesn't help, define PATH in the script or use full path to the > > > binaries/scripts you're calling. > > [cu

Re: launching apps from the menu

2011-10-02 Thread Raf Czlonka
On Sun, Oct 02, 2011 at 03:01:34PM BST, Richard Bown wrote: > On Sun, 2011-10-02 at 14:35 +0100, Raf Czlonka wrote: > > If that doesn't help, define PATH in the script or use full path to the > > binaries/scripts you're calling. [cut] > The cd to that directory is due to it must start in its dire

Re: launching apps from the menu

2011-10-02 Thread Raf Czlonka
On Sun, Oct 02, 2011 at 02:12:26PM BST, Richard Bown wrote: > sleep 1 > cd /home/richard/SDR/wsjt-rev2454/ > python wsjt.py Drop the 'cd' and try: python /home/richard/SDR/wsjt-rev2454/wsjt.py If that doesn't help, define PATH in the script or use full path to the binaries/scripts you're calling

launching apps from the menu

2011-10-02 Thread Richard Bown
Hi The launcher in the menu points to this script:- # #! /bin/bash # # Shell script to start the WSJT SDR # application # # # ##