<br><br><div class="gmail_quote">On Fri, Jul 20, 2012 at 7:58 PM, <span dir="ltr"><<a href="mailto:bugzilla-daemon@freedesktop.org" target="_blank">bugzilla-daemon@freedesktop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=47920" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=47920</a><br>
<br>
--- Comment #1 from Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>> 2012-07-20 18:58:08 PDT ---<br>
Yeah, good point. We could add<br>
<br>
[environment]<br>
GDK_BACKEND=wayland<br>
<br>
to weston.ini.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br><br></div></div></blockquote><div><br>Perhaps you might still want to start with the X backend on some launchers and wayland backend on others? Typically,<br>I guess if you want to explicitly set an env var that's not part of your global environment, you'd run it from a terminal shell.<br>
A user can use a quick wrapper script to do what they want and call that from the launcher instead. Aside from that,<br>would it be feasible to have something like this? I'm not sure if it would be sane or easy to parse something like this<br>
but the idea is that you'd be able to set any number of arbitrary env vars for each launcher (probably easier to just use a<br>wrapper script at this point).<br><br><br>[launcher]<br>icon=/path/to/icon.ext<br>path=/path/to/program<br>
environment="ENV_VAR1=foo"<br>environment="ENV_VAR2=bar"<br></div></div><br>