<div dir="ltr"><div>(Oops, sent too soon by accident.)<br><br>Yep, DISPLAY always needs to be set - and I figured, there's a reason it is that way, so that's actually why I thought it made sense to use the same convention for WAYLAND_DISPLAY.<br><br></div>Also, regarding Bill's first comment: yeah, that certainly works, but it feels like a workaround. It only gets more complicated if the app supports more backends - framebuffer, etc.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 1:45 AM, Dima Ryazanov <span dir="ltr"><<a href="mailto:dima@gmail.com" target="_blank">dima@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yep, DISPLAY always needs to be set - and I figured, there's a reason<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 2:59 AM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, 26 May 2015 10:40:15 +0100<br>
Daniel Stone <<a href="mailto:daniel@fooishbar.org" target="_blank">daniel@fooishbar.org</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> On 26 May 2015 at 10:26, Giulio Camuffo <<a href="mailto:giuliocamuffo@gmail.com" target="_blank">giuliocamuffo@gmail.com</a>> wrote:<br>
> > 2015-05-26 12:21 GMT+03:00 Pekka Paalanen <<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>>:<br>
> >> I have a vague recollection this has been proposed before, but I can't<br>
> >> remember if there was any interest or discussion, nor what was the<br>
> >> original intent behind defaulting to "wayland-0".<br>
><br>
> Probably to match X11's behaviour of using :0 in the absence of a $DISPLAY.<br>
<br>
</span>Really? ;-)<br>
<br>
$ export -n DISPLAY<br>
$ xterm<br>
xterm: Xt error: Can't open display:<br>
xterm: DISPLAY is not set<br>
<br>
Geany and gqview fail to start, and konsole segfaults (lol).<br>
<br>
<br>
Thanks,<br>
pq<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>