[openbox] Setting an environment var in menu.xml?
Alexander Futasz
acid.punk at gmx.net
Fri Oct 3 18:50:18 EDT 2003
On Fri, 3 Oct 2003 23:07:37 +0200 (CEST), Mikael Magnusson wrote:
> On Fri, 3 Oct 2003 roland at steeltorch.com wrote:
>
> > Hello, I'm trying to get this to work:
> >
> > <item label="here">
> > <action name="Execute"><execute>DISTCC_DIR=/var/tmp/.distcc sudo
> > distccmon-gnome</execute></action>
> > </item>
> >
> > But it won't execute. That works fine if I do it on my command
> > prompt. I see this on my console window when I try to do run the
> > command via openbox's menu:
> >
> you want <execute>sh -c 'YOURVAR=foo command blefargs'</execute> or
> something like that
>
<execute>env YOURVAR=foo command blefargs</execute>
More information about the openbox
mailing list