emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs pgtk doesn't set WAYLAND-DISPLAY


From: Eli Zaretskii
Subject: Re: emacs pgtk doesn't set WAYLAND-DISPLAY
Date: Thu, 15 Feb 2024 10:05:58 +0200

> From: Julien Cubizolles <j.cubizolles@free.fr>
> Date: Thu, 08 Feb 2024 17:18:36 +0100
> 
> In Wayland, the following environment variables are set in a shell
> 
> WAYLAND_DISPLAY=wayland-0
> DISPLAY=:0
> 
> In Emacs built with pgtk, only DISPLAY is set, with
> DISPLAY=wayland-0.
> 
> I don't know if there is a good reason for that but it causes the
> matplotlib python program to fail as it seems to expect a "valid" value
> for DISPLAY or WAYLAND_DISPLAY to be set (see
> https://github.com/matplotlib/matplotlib/issues/18377).
> 
> Maybe Emacs could just copy both the WAYLAND_DISPLAY and DISPLAY
> environment variables instead of merging both ?

Po Lu, any suggestions or comments?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]