[Wayland-bugs] [Bug 47920] [bug] Apps that default to X backend can't be launched from weston launcher
Scott Moreau
oreaus at gmail.com
Fri Jul 20 14:41:43 PDT 2012
On Fri, Jul 20, 2012 at 7:58 PM, <bugzilla-daemon at freedesktop.org> wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=47920
>
> --- Comment #1 from Kristian Høgsberg <krh at bitplanet.net> 2012-07-20
> 18:58:08 PDT ---
> Yeah, good point. We could add
>
> [environment]
> GDK_BACKEND=wayland
>
> to weston.ini.
>
> --
>
>
Perhaps you might still want to start with the X backend on some launchers
and wayland backend on others? Typically,
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.
A user can use a quick wrapper script to do what they want and call that
from the launcher instead. Aside from that,
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
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
wrapper script at this point).
[launcher]
icon=/path/to/icon.ext
path=/path/to/program
environment="ENV_VAR1=foo"
environment="ENV_VAR2=bar"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20120720/d2c49bd8/attachment.html>
More information about the Wayland-bugs
mailing list