Hi Ray (and the gnome list),

You could try this perl script until that Gnome bug is fixed:

#!/usr/bin/perl

while (<>)
{
   if (/Exec=(.*)/)
   {
       exit (system $1) >> 8;
   }
}

and pass the name of the desktop file on the command line.
The script looks for the text behind "Exec=" and executes it.

Klaus

ray wrote:
Hi,
How to launch an application from a launcher file such as abc.desktop in the command line?
Thanks.
------------------------------------------------------------------------

_______________________________________________
gnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-list

_______________________________________________
gnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-list

Reply via email to