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

Re: On the matter of Wayland


Le 13/08/2025 à 03:00, gbWilly a écrit :
Question.

Is it possible to distribute gambas applications forcing the use of x11.
I don't plan on building on Wayland and would like my applications to require x11 pulled and installed.

If not possible then bad luck for the Wayland users.

gbWilly


You can force a GUI component to use X11 at runtime with the GB_GUI_PLATFORM environment variable.

$ GB_GUI_PLATFORM="x11" ./my-program

If you put that in the "environment" tab of the project properties dialog, then you will force your program to use X11 whatever.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: On the matter of WaylandgbWilly <gbWilly@xxxxxxxxxxxxxx>
References:
On the matter of WaylandgbWilly <gbWilly@xxxxxxxxxxxxxx>