Re: launcher question



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 gnome-list gnome org http://mail.gnome.org/mailman/listinfo/gnome-list



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