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
213 questions
7
votes
0 answers

Transform virtual screen in Wayland

The top of my laptop screen is broken and I am unable to view anything within a 1600x82 rectangle. Is it possible in Wayland/XWayland to transform the virtual screen so that only the visible area of my monitor is used? I managed to hack together a…
MetaDark
  • 1,030
  • 3
  • 12
  • 27
7
votes
2 answers

get the list of active windows in wayland weston

How to get the list of active windows in wayland.. ie, in my window one terminal is active and a calculator is also active, I need to get the details of these windows in terminal , how can I get it ?
Akhil V Suku
  • 850
  • 9
  • 33
6
votes
3 answers

Gnome-shell wayland, rotate screen

Assuming I'm using intel's driver. Gnome-shell allows to rotate screens in Settings -> Display when using Xorg. Is it possible to rotate when using Wayland?
crispin
  • 61
  • 1
  • 2
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
  • 327
  • 3
  • 15
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…
4
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
  • 6,580
  • 11
  • 56
  • 110
4
votes
1 answer

How to set up nested Wayland Desktop Environment with systemd-nspawn container, like VirtualBox

This is Q&A to share my hack about the title based on the stackoverflow rule/encouragement https://stackoverflow.blog/2011/07/01/its-ok-to-ask-and-answer-your-own-questions/ https://stackoverflow.com/help/self-answer Can I answer my own…
user1028880
4
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
  • 5,117
  • 5
  • 30
  • 71
4
votes
1 answer

setting a virtual resolution in wayland

Is it possible to set a virtual resolution of a screen, meaning increasing its resolution over its normal resolution (say, I've got a 1920x1080 screen, can I use it like it was a 3640x2160 screen)? With X it was easy, just xrandr --scale 2x2, but…
dodormeur
  • 51
  • 4
4
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
  • 338
  • 2
  • 13
4
votes
0 answers

Use Qt 5 Wayland QPA plugin to set window transparency with wl_surface

I have three Qt 5 applications that work fine independently on the BeagleBone X-15 using the Qt 5 Wayland plugin on the TI SDK image. When I launch them, they fill the whole screen so that the first app launched is covered by the second, and the…
PhilBot
  • 1,344
  • 17
  • 70
  • 143
4
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-
  • 12,630
  • 6
  • 42
  • 62
4
votes
2 answers

Wayland cross compiling makefile error

I am trying to cross compile wayland for an arm-linux platform. During the make, I am getting following error.. CC src/scanner.o CC src/connection.lo CC src/wayland-util.lo CC src/wayland-os.lo CCLD …
4
votes
1 answer

How to determine in which window events are coming

I have two EGL windows belonging to the same Wayland display. Windows are only displayed on the full screen. Mouse and keyboard events come into the display. How to determine which window belongs to which came the event? It seems to me to be…
Nicolas Chabanovsky
  • 268
  • 1
  • 1
  • 29
3
votes
2 answers

WPE WebKit Cog isn’t working: “Could not open EGL display”

I’m trying to run WPE WebKit on Ubuntu using VMware and host macOS, but I’m receiving the following error message: ➜ flatpak run org.wpe.Cog -P fdo http://www.example.com (cog:2): GLib-CRITICAL **: 09:34:38.938: g_source_destroy: assertion 'source…
macabeus
  • 3,268
  • 2
  • 28
  • 49
1
2
3
14 15