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
5
votes
2 answers

Simulating mouse and keyboard input on Wayland and X11

I am working on a small acceptance test for my OpenGL application written in C. So far, I'm only able to take screenshots and haven't found a way of simulating mouse and keyboard input on both Wayland and X11. Any suggestions on how to manipulate…
vinnylinux
  • 7,050
  • 13
  • 61
  • 127
5
votes
1 answer

Trouble setting up screen sharing on Fedora 27 Desktop

I'm running Fedora 27 Desktop edition with GNOME. I've tried instructions from all over the web, but haven't found anything that lets me set up sharing my screen with a remote user. Can anyone help me with this? Thank you very much in advance for…
jazcap53
  • 381
  • 5
  • 17
5
votes
2 answers

Retrieving active window from Mutter on Gnome/Wayland session

I'm trying to write an application that sends different dBus signals to different applications depending on what application is active. The idea is to pair it with Libinput-gestures, and allow per application gesture response. Problem is, it's…
5
votes
0 answers

Wayland surface position

I know Wayland protocol doesn't provide option to control shell surface position on the screen. I would like to find a way for controlling window/surface placement. I have tried tools like xdotool and wmctrl, but they only recognize XWayland…
5
votes
1 answer

How to capture screen on Wayland(Gnome) in Python code?

I'm trying to capture my screen using Python because I'll use it on OpenCV, but I couldn't find a way to make it work on Gnome, since Gnome uses Wayland and all libraries that I've found only work with X11. For now I'm not considering change my…
5
votes
1 answer

Does Tk provide support for Wayland display protocol?

This video introduced to me the issues with X and it's replacement by the Wayland protocol. The adoption of the Wayland protocol appears to be growing over the years. My questions: Is tkinter and tcl/Tk going to comply with the Wayland protocol?…
Sun Bear
  • 7,594
  • 11
  • 56
  • 102
5
votes
0 answers

Running Weston in a Docker container

I am currently trying to run a instance of Weston within a Docker container. My system is an Ubuntu 16.04, currently running native Weston with DRI backend (I don't want any X11 dependency). So for starters I would like to run another Weston…
japedo
  • 368
  • 3
  • 15
5
votes
4 answers

drmDropMaster requires root privileges?

Pardon for the long introduction, but I haven't seen any other questions for this on SO. I'm playing with DRM (Direct Rendering Manager, a wrapper for Linux kernel mode setting) and I'm having difficulty understanding a part of its…
rr-
  • 14,303
  • 6
  • 45
  • 67
4
votes
2 answers

How to add a background images to several screens for X11/Wayland using Go?

I make a custom wallpaper setter for window managers in Go. Currently I use github.com/xyproto/wallutils project, which in turn depends on feh. For one screen I can use its dimensions to create the image of exact size, and all works well, but if…
dimus
  • 8,712
  • 10
  • 45
  • 56
4
votes
2 answers

How to get absolute mouse cursor position in wayland

How does one go about finding the absolute mouse cursor position in wayland (Not X11). For example in windows we use the GetCursorPos() function from windows.h and that will give absolute X,Y positions starting from 0,0. I'm aware of /dev/input/mice…
DatGuy
  • 41
  • 2
4
votes
0 answers

How to get the position of a wayland window on the screen?

Can the position of a window be accessed from wayland? The only information available on this topic mentions accessing positional information based on a parent window, but this isn't always practical (when there are multiple top-level windows for…
ideasman42
  • 42,413
  • 44
  • 197
  • 320
4
votes
1 answer

Why wayland and xorg appearance of Qt6 are different?

I'm trying to use Qt to make a very simple window. My goal is to obtain something that looks like a native OS window (with the least effort), nothing more, but if possible nothing less. In order to make it easier, I'm using Qt python bindings, and I…
Annibale
  • 241
  • 3
  • 6
4
votes
0 answers

mate desktop environment marco window manager window focus not working

I am running : fedora32 mate desktop environment wayland marco window manager xterm emacs -nw (text mode) emacs dired+ mode emacs "openwith" mode When I start up "emacs -nw" in the xterm it uses "dired+" mode to give a directory listing. The emacs…
4
votes
0 answers

Select Wayland output for QT application

I am running QT 5.11.3 on a TI embedded platform (AM5728). My display manager is wayland 1.16 (weston). The QPA for my application is Wayland-Egl. The embedded system has both an LCD panel & HDMI output. Both are recognized and treated as…
vix
  • 111
  • 2
4
votes
1 answer

systemd and sway socket not detected

I am a new user of swaywm and fairly new with creating my own custom systemd services. I previously used Openbox, feh and systemd to created a scripted wallpaper change every 30 min. The below is a foo.service which functions fine in…
trentonknight
  • 261
  • 2
  • 11
1 2
3
22 23