![]() I mentioned the environment variable GDK_BACKEND before in a previous post. ![]() If, for example, allowed backends is set to “x11,wayland” then either can be used but it will run on X11 instead of Wayland if both are available (opposite the default). The first backend in the comma-separated list is tried first. gdk_set_allowed_backends()Īpp developers can set which backends they support and in what order GTK will try them using gdk_set_allowed_backends(). Some apps support both platforms, but work better on one. However, some apps only support one platform or the other. By default GTK apps run natively on Wayland, or X11 if Wayland’s not available. As a result, apps which support both backends can choose which they connect to. Many (but not all) Wayland desktops support X11 apps via XWayland. This post will explain how GTK backend selection works, and how it can be controlled by desktop developers, application developers and users. At first this may seem simple, but a number of factors complicate matters. ![]() GTK apps on Linux can use either X11 or Wayland, depending on what type of desktop environment they’re running on. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |