Re: Launch bash script using desktop icon?



Umm I have checked the following now, the java process is created but it
does not die, if I check with the 'top' command the process is there!!!
but the GUI is not displayed :(

El mié, 25-02-2004 a las 10:38, Esther Parrilla Endrino escribió:
> Well, I have read all your responses and tried all possibilities but it
> does not work yet...
> My .desktop file looks like the following now:
> 
> [Desktop Entry]
> Name=dummy  
> Comment=dummy Script
> Exec=/home/foo/script.sh
> Type=Application
> Terminal=true
> 
> The script.sh just launches a Java application, including the following
> lines:
> 
> exec /usr/local/java -classpath . MyApp 
> 
> I have checked that the Java GUI is launched OK if I call directly the
> script, and the script has execute permissions for all users...
> I tried too to execute a 'cd' in the Exec field and after that call the
> script but I did not work... :(
> 
> As I said in my previous posting the terminal is opened and closed
> suddenly and the Java process is created but dies...
> 
> Any opinion?
> 
> Thanks,
> 
> e*
> 
> 
> 
> 
> 
> 
> 
> 
> El mar, 24-02-2004 a las 18:02, Esther Parrilla Endrino escribió:
> > Hi all,
> > 
> > I have created a desktop icon in my $HOME/.gnome-desktop folder that
> > launches a bash shell script, the code inside the *.desktop file is
> > something like:
> > 
> > [Desktop Entry]
> > Name=dummy 
> > Comment=dummy Script 
> > Exec=/home/foo/script.sh
> > Type=Application
> > 
> > When I double click the icon in my desktop it does nothing!
> > I have tried too to create the icon not manually but using the desktop
> > options to create a new launcher and it does not work either...
> > 
> > Is not possible to launch scripts from de Gnome desktop icons? Just
> > binary executable files such as /usr/bin/mozilla?
> > 
> > Thanks in advance,
> > 
> > regards
> > 
> > -- 
> > 
> > ~ Code matters more than comercials ~
> > 
> > --
> > 
> > _______________________________________________
> > gnome-list mailing list
> > gnome-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-list
> > 
> -- 
> 
> ~ Code matters more than comercials ~
> 
> --
-- 
Esther Parrilla Endrino
Ground Segment Systems Division
DEIMOS SPACE S.L. http://www.deimos-space.com
e-mail: esther parrilla deimos-space com
tel:    00 34 91 806 34 57

~ Code matters more than comercials ~

--




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]