Re: Enviroment variable in .desktop
Mark McLoughlin <[email protected]>
| Newsgroups | gmane.comp.gnome.lib.gconf |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Thu, 2004-08-05 at 19:29, Qihua Wang wrote: > Is there any way to put in text in the xxx.desktop for Exec= that would pick up, not the literal text, but a value from > elsewhere? Like an environment variable? > I'd like to have the launch location specified in .desktop using environment variable since I don't know where the user > installs the application for launcher. (Where's the relevance to GConf? gnome-list would be the right place for this question?) Try putting "bash -c 'foo $BAR'" in the Exec line. Cheers, Mark.