YAQ desktop files: Exec= multiline
David Faure
faure at kde.org
Sun May 2 12:38:57 BST 2004
On Saturday 01 May 2004 12:37, Mikolaj Machowski wrote:
> Dnia sob 1. maja 2004 01:36, David Faure napisał:
> > On Saturday 01 May 2004 00:29, Mikolaj Machowski wrote:
> > > Dnia pią 30. kwietnia 2004 23:25, David Faure napisał:
> > > > On Friday 30 April 2004 20:29, Mikolaj Machowski wrote:
> > > > > Hello,
> > > > >
> > > > > Is it possible to create multiline Exec= commands?
> > > >
> > > > No. Why would you want to do that? To run multiple commands you can
> > > > use ";"
> > >
> > > I'd like to make kdialog with loong text. Of course it works with one
> > > looong line and \n but is hard to read and modfication.
> >
> > You can use a helper shell script as intermediary, of course.
>
> Yeah. Exec=kdialog --inputbox "`cat blah`" ...
>
> Don't like tricks...
No I meant
Exec=mydialog.sh
where mydialog.sh contains
kdialog --inputbox "..................."
No trick, just separation between the shellcode and the desktop file.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list