[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching de
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching despite being a native Wayland application |
Date: |
Sun, 4 Feb 2024 12:05:22 -0500 (EST) |
Follow-up Comment #5, bug#65251 (group octave):
When Octave starts, it tries to determine whether there is a graphical display
available. If there is, it attempts to open the graphical user interface.
Otherwise, it attempts to open a command-line interface in a terminal.
In the old days, a reasonable way to do that on a Unix-like system was to
check whether the DISPLAY environment variable was set.
The code is here:
http://hg.savannah.gnu.org/hgweb/octave/file/4b99c92fc2b2/src/display-available.c
There are currently three separate ways we attempt to detect whether a
graphical display is available. The code path to use is selected by the
configuration variables OCTAVE_USE_WINDOWS_API, HAVE_FRAMEWORK_CARBON, and
HAVE_X_WINDOWS. If we need another special case for Wayland, what should the
code be and how do we detect that case?
See also
http://hg.savannah.gnu.org/hgweb/octave/file/4b99c92fc2b2/libinterp/corefcn/cdisplay.c
http://hg.savannah.gnu.org/hgweb/octave/file/4b99c92fc2b2/configure.ac#l1784
http://hg.savannah.gnu.org/hgweb/octave/file/4b99c92fc2b2/configure.ac#l1804
http://hg.savannah.gnu.org/hgweb/octave/file/4b99c92fc2b2/oct-conf-post-private.in.h#l54
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65251>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching despite being a native Wayland application, itshog, 2024/02/04
- [Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching despite being a native Wayland application, Markus Mützel, 2024/02/04
- [Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching despite being a native Wayland application, itshog, 2024/02/04
- [Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching despite being a native Wayland application, Markus Mützel, 2024/02/04
- [Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching despite being a native Wayland application, itshog, 2024/02/04
- [Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching despite being a native Wayland application,
John W. Eaton <=
- [Octave-bug-tracker] [bug #65251] Octave needs Xwayland for launching despite being a native Wayland application, itshog, 2024/02/04