all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs pgtk doesn't set WAYLAND-DISPLAY
@ 2024-02-08 16:18 Julien Cubizolles
  2024-02-15  8:05 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Cubizolles @ 2024-02-08 16:18 UTC (permalink / raw)
  To: emacs-devel

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 ?

-- 
Julien Cubizolles




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-17 10:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-08 16:18 emacs pgtk doesn't set WAYLAND-DISPLAY Julien Cubizolles
2024-02-15  8:05 ` Eli Zaretskii
2024-02-15  8:11   ` Po Lu
2024-02-15 10:09     ` Eli Zaretskii
2024-02-15 10:46       ` Po Lu
2024-02-17  9:11         ` Eli Zaretskii
2024-02-17 10:04           ` Po Lu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.