Questions tagged [wayland]

Wayland is protocol for providing graphical output to Linux/Unix users. It is intended to be a lightweight alternative to the X11 subsystem.

Wayland is a protocol for a compositor to talk to its clients as well as a C library implementation of that protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X application, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers.

Source: wayland.freedesktop.org

Implementations

The later lists are not exhaustive and subject to a lot of change.

Server-side dedicated libraries and compositors

  • Weston: The reference implementation.
  • swc: A library implementing a minimal wayland compositor.
  • Waysome: (in progress) A window manager.
  • wlc: (in progress) A compositor library.
  • Loliwm: A tiling window manager based on wlc
  • Velox: A window manager based on swc.
  • Clayland: A clutter-based compositor.

Client

Graphical libraries supporting Wayland:
  • Gtk+
  • EFL
  • SDL
  • Clutter
  • Qt 5
Programming language supporting libwayland:
  • C
335 questions
0
votes
0 answers

Using PyQt5 caused Ignoring XDG_SESSION_TYPE=wayland on Gnome Error

I am currently learning Python on Fedora. While I'm coding PyQt5 on Visual Studio Code, I got Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. error and couldnt find a way that works. So can…
0
votes
1 answer

gnome-session-wayland not found in ubuntu 21.10

I am trying to install the wayland session on gnome 40.5 and to do so they say to install the package gnome-session-wayland but as soon as I try to install it on Ubuntu 21.10 I get an error saying that the package could not be found and this is not…
it 2000
  • 11
  • 3
0
votes
1 answer

How to setup the screen size with dbus-run-session

When I debug a gnome shell extension, the gjs official documentation tell me use this command to test the new extension. dbus-run-session -- gnome-shell --nested --wayland But I got a 800x600 screen, so how can I change the screen size. man…
eexpress
  • 386
  • 1
  • 14
0
votes
0 answers

fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

I'm unable to get Linux GUI apps to run on my self-built CloudReady workstation. I have a Pixelbook Go where I am able to use Linux GUI apps without a problem. Steps Immediately After Enabling Linux and Starting Terminal jacob@penguin:~$ sudo apt…
Jacob Zwang
  • 71
  • 1
  • 4
0
votes
1 answer

Linker error: undefined reference to ‘xdg_popup_interface’

When trying to compile my code, I get a linker error: undefined reference to ‘xdg_popup_interface’ It seems to occur when trying to build wlr-layer-shell-v1-client-protocol.o, I think, or something like that, I’ll have to look at the output…
adlo
  • 63
  • 8
0
votes
1 answer

g++ not linking wayland methods

I was trying to create a Wayland window, and I keep getting these strange linkers errors. Header: #include #include #include #include namespace dmaf { class WINDOW …
del
  • 1
  • 2
0
votes
2 answers

How to prevent swayidle from execution while watching a film

I am trying to setup Sway with swaylock. My configuration in my ~/.config/sway/config is as follows: exec swayidle -w \ timeout 1800 'swaylock -f -c 000000' \ timeout 3600 'swaymsg "output * dpms off"' \ resume 'swaymsg "output *…
Sebastian Führ
  • 71
  • 1
  • 2
  • 11
0
votes
3 answers

SCons: Make sure a library gets built before a program

I'm trying to port my wayland compositor from make to scons, but I'm having trouble with the build order. I need xdg-shell-protocol to be generated with wayland-scanner and built before anything else. With make, something like this is all it…
Tooniis
  • 123
  • 1
  • 9
0
votes
0 answers

mkdir: cannot create directory '/run/user/1000': Permission denied Yocto useradd

I created a custom image using the openembedded/yocto project in which I created a custom user using the below contents in the bb file. inherit useradd USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "-u 1000 \ -d…
0
votes
1 answer

Application crashes using EGL on Wayland inside a Docker container

I am using an Apalis i.MX8QM module from Toradex. I installed Torizon, which is a Linux OS mantained by the manufacturer. It's designed to be used with debian-based Docker containers. They provide a container running Weston (Wayland + XWayland) to…
psyke1
  • 1
  • 1
0
votes
1 answer

TypeError constructor returned NULL in wayland session matplotlib

When trying to run matplotlib pyplot, and setting the backend to gtk3agg or gtk3cairo, the following error is encountered in wayland session. The same code works fine in Xorg, or using Qt backend Gdk-Message: 12:41:05.918: Unable to load fleur from…
liuyun
  • 111
  • 1
0
votes
1 answer

How to link Wayland header files in C?

I am starting out with coding for Wayland. I have been following many tutorials, but I am still stuck at compiling. I wrote this very simple code: #include #include int main(int argc, char *argv[]) { struct…
Puspam
  • 2,137
  • 2
  • 12
  • 35
0
votes
0 answers

Fullscreen GUI app from Docker container on Coral Dev Board

I'm trying to run a Python GUI app from a docker container, but when I'm trying to display on fullscreen, nothing shows up. If I'm not calling cv2.setWindowProperty("frame", cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN), the windows appears on…
0
votes
1 answer

Wayland and Kivy: how to set window position?

Following a previous StackOverflow answer I made additions to one of the basic Kivy tutorial apps to position the window at the top left corner of the screen. This works as expected under Xorg, but not under Wayland/xwayland. How do you change the…
Sixtyfive
  • 1,150
  • 8
  • 19
0
votes
1 answer

No window show up on SDL_CreateWindow on weston

I have this simple code to open a SDL window: #include #include #define WIDTH 800 #define HEIGHT 600 int main (int argc, char **argv) { SDL_Window *window = NULL; if (SDL_Init(SDL_INIT_VIDEO) != 0) { …
qand
  • 49
  • 1
  • 9