Questions tagged [wayland]

Wayland is a protocol that specifies the communication between a display server and its clients, as well as a reference implementation of the protocol in C language. It was initially authored by Kristian Høgsberg as a replacement for the X Window System.

The Wayland protocol is essentially only about input handling and buffer management. When running on Linux kernel, handling of the input hardware relies on evdev, while the handling of buffers relies on Generic Buffer Management (GBM); when running on other operating systems, Wayland compositors work with their respective components.

Weston is the reference implementation of a Wayland compositor, it is written in C and published under the MIT License.

Unlike the X clients, Wayland clients will render directly into their own buffer located in the graphics memory, through the use of EGL with some additional Wayland-specific extensions to EGL. The display server is responsible for the compositing, hence it will incorporate a large part of the functionality of current compositing window managers.

Wayland is intended as a simpler replacement for X, easier to develop and maintain. GNOME and KDE are expected to be ported to it.

1014 questions
251
votes
6 answers

Why is Wayland better?

As recently announced by Mark Shuttleworth, Ubuntu will be moving towards using Wayland as its display manager. What are biggest differences between X11 and Wayland? Why will Wayland make Ubuntu better?
Hillar
  • 3,040
173
votes
6 answers

How can I tell if I am running Wayland?

Wayland is the default display server for Ubuntu 17.10 "on supported systems". But how can I tell if my platform is supported and I'm actually using Wayland?
88
votes
4 answers

How do you switch from Wayland back to Xorg in Ubuntu 17.10?

Some of my applications don't work on Ubuntu 17.10 Wayland. How can I switch back to Xorg?
orschiro
  • 13,687
67
votes
3 answers

How do I use the X window manager instead of Wayland on Ubuntu 22.04?

I read posts that said you can switch at the login screen. But I have no option to switch there.
Scorb
  • 1,330
49
votes
8 answers

Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?

I installed Ubuntu 17.10. Now I am having trouble with gksu: $ gksu -dg synaptic No ask_pass set, using default! xauth: /tmp/libgksu-HgUjgQ/.Xauthority STARTUP_ID: gksu/synaptic/8760-0-alex-XPS-15-9530_TIME4974977 cmd[0]: /usr/bin/sudo cmd[1]:…
Alex Chapiro
  • 491
  • 1
  • 5
  • 5
44
votes
1 answer

How can I tell if an application is using XWayland?

I'm troubleshooting some issues to do with multiple monitors and HiDPI on Wayland. I've learnt from online resources that applications on XWayland may not handle this use-case as expected. So now I want to know which applications are using XWayland,…
Flimm
  • 44,031
42
votes
10 answers

Microsoft Teams and Wayland - will screen sharing be fixed in 21.04?

I've googled until my fingers bled, but unfortunately all I end up finding is either posts by Microsoft saying "Teams works on Linux" and posts in help forums that just end up telling people to use xorg instead of Wayland. But Wayland is going…
39
votes
4 answers

Equivalent to xdotool for Wayland

I'm looking for a solution working in Wayland to get mouse position, move it and click inside a bash script, all things xdotool can do for X server. xdotool getmouselocation is still working, but xdotool mousemove xdotool click have no impact…
mxdsp
  • 3,988
37
votes
3 answers

Maximized windows get under the Dock in Ubuntu 22.04

After upgrading from Ubuntu 18.04 to 22.04 maximized windows are not correctly restored - they get under the Dock when Ubuntu comes back from standby (maybe also after locking screen?). If I unmaximize and maximize the window again it correctly…
Valentas
  • 1,138
35
votes
4 answers

Screen sharing with Wayland

How is the status of screen sharing on Wayland? Recently this has become an essential topic for people who telecommute. I am trying to share my screen on Google Chrome 88 with WebRTC and I run GNOME 3.36 with Wayland with the following…
emandret
  • 643
31
votes
4 answers

Wayland how to set a custom resolution

Old title - "change resolution to 1280x1024 using xrandr gives: X Error of failed request: BadValue (integer parameter out of range for operation)" I have installed a fresh Ubuntu 17.10 and have a monitor with 5:4 resolution. settings has no…
30
votes
4 answers

How to disable GUI on boot in 18.04 (Bionic Beaver)?

It appears that sudo systemctl disable gdm3 && sudo systemctl disable gdm do not work in 18.04 to disable the windowing system at bootup. What's the method for doing this now?
ylluminate
  • 1,629
  • 3
  • 19
  • 27
29
votes
8 answers

How to change 2-finger touchpad scroll speed on Ubuntu 22.04

Is there a way to change how quickly (or how far) a laptop touchpad scrolls? This question is specific to 22.04 (Jammy Jellyfish). Although there are many similar questions, none asks specifically about 22.04. The answers for 22.04 will likely…
Randy Cragun
  • 457
  • 1
  • 4
  • 11
27
votes
7 answers

Does Wayland have an equivalent of xrandr for changing brightness and color temperature?

xrandr can be used to change the display brightness using the command line. For example, xrandr --output VGA-1 --brightness 0.4 Wayland does not support xrandr. Is there any similar tool in Wayland that can be used to control brightness and color…
26
votes
5 answers

External monitor randomly goes black on Ubuntu 20.04 LTS

I have a really irritating issue where my external monitors randomly goes black for a few seconds and then returns. This happens every other minute, but sometimes i can sit for 30 minutes before it happens again. It affects both my external…
Sapomex
  • 377
1
2 3
67 68