Re: launcher question

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

 



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

_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux