<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - weston-launch clears environment variables"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61877#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - weston-launch clears environment variables"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61877">bug 61877</a>
              from <span class="vcard"><a class="email" href="mailto:runesvend@gmail.com" title="Rune K. Svendsen <runesvend@gmail.com>"> <span class="fn">Rune K. Svendsen</span></a>
</span></b>
        <pre>Darxus, using /etc/environment is not an option if I want a custom
Weston/Wayland environment since it is system-wide, as far as I can tell.

Exporting, for example, GDK_BACKEND=wayland in /etc/environment will break GTK+
when I run them in Ubunutu+X+Compiz.

If weston-launch didn't clear environment variables, I could launch weston with
a simple script that looks like this:

source wayland-vars.sh
weston-launch

And everything in Weston would "just work". For example GTK+ programs launched
from the panel would use the Wayland GDK backend.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>