Skip to main content
254 votes
Accepted

How can I tell if I am running Wayland?

Open the terminal and type in: echo $XDG_SESSION_TYPE Check if it prints wayland.
funicorn's user avatar
  • 3,956
71 votes
Accepted

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

When you boot your system and get to the GDM login screen you should find a cogwheel (⚙️) next to the sign in button. If you click on the cogwheel you should find an Ubuntu on Xorg option which will ...
pomsky's user avatar
  • 69k
64 votes

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

If you wish to do it permanently, edit /etc/gdm3/custom.conf and uncomment the line: #WaylandEnable=false by removing the # in front of it. Save the file and then on reboot you will never see the cog ...
Sam Thomas's user avatar
62 votes
Accepted

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

To disable GUI on boot, run: sudo systemctl set-default multi-user.target To enable GUI again issue the command: sudo systemctl set-default graphical.target To start Gnome session on a system ...
Bob's user avatar
  • 2,533
60 votes

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

Note this answer is specific to versions of Ubuntu using Wayland, 17.10 being the first release to use Wayland by default. It is a feature not a bug! It is a design feature of Wayland that you can ...
Panther's user avatar
  • 103k
46 votes
Accepted

How can I tell if an application is using XWayland?

TL;DR: xlsclients Running xlsclients in a terminal will list all the apps currently running which are using XWayland. For fun: Use xeyes! xeyes - a follow the mouse X demo When you launch xeyes, it ...
Error404's user avatar
  • 7,720
45 votes

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

You can enable the X using the terminal. Open the terminal and run the command: $ sudo nano /etc/gdm3/custom.conf there you will find WaylandEnable=true change it to WaylandEnable=false And restart ...
Shreedhar Hegde's user avatar
28 votes

How can I tell if I am running Wayland?

You could install mesa-utils-extra and run es2gears_wayland If the app runs, you are running Wayland. For a fun way to check whether a specific app is using Wayland or XWayland, run xeyes. The eyes ...
Jeremy Bicha's user avatar
  • 8,264
28 votes

Wayland in Ubuntu 20.04 (IntelGPU)

After doing much searching of the internet I have come up with this solution. This solution will enable Wayland even if you have proprietary NVIDIA drivers on Ubuntu 20.04. Execute sudo apt install ...
austanss's user avatar
  • 380
27 votes
Accepted

Screen sharing with Wayland

Ubuntu 22.04 Support may be working out of the box, but I did not have all the needed packages on upgrading from 20.04. I was able to have screen sharing working with the following: (!) if this breaks ...
eddygeek's user avatar
  • 1,719
25 votes
Accepted

IntelliJ crashing since latest update

It's not IntelliJ problem. Many more apps stopped working today (05.04.2024). It's X11/wayland update. While there's no patch, go back to previous versions (if you are sure nobody has access to your ...
artur's user avatar
  • 366
23 votes

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

Solutions In Wayland it is often difficult to run GUI application programs with elevated (sudo -H, gksu ...) permissions. It is a good idea to do such tasks with command line tools. But there are ...
sudodus's user avatar
  • 46.7k
23 votes
Accepted

How to disable wayland in 17.10 in gdm3 login screen

You need to edit /etc/gdm3/custom.conf, change this line: [daemon] # Uncoment the line below to force the login screen to use Xorg #WaylandEnable=false to [daemon] # Uncoment the line below to ...
Videonauth's user avatar
  • 33.5k
23 votes

Ubuntu on Wayland

at the graphical login screen, you may see an icon either next to the login name, or at the top of the screen on the right; the icon may look like a settings industrial toothed wheel icon, or it may ...
jmarina's user avatar
  • 1,025
22 votes
Accepted

When will Wayland support restarting the shell by command?

In an Xorg session one can restart GNOME shell without losing application state as applications are running against a separate server (X). But unlike Xorg in case of a Wayland session GNOME shell is ...
pomsky's user avatar
  • 69k
21 votes

How can I disable touchscreen while using Wayland?

Following steps in JNixus' answer on reddit gave me the result: touchscreen is disabled and touchpad still works: https://www.reddit.com/r/Dell/comments/76jm9x/...
Dmitry's user avatar
  • 211
21 votes

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

The problem does not lie with Ubuntu nor Linux. Teams is an app built on the electron framework, so basically it is one package consisting of html5 with javascript running on chromium. This makes it ...
Ferdi's user avatar
  • 527
21 votes
Accepted

Ubuntu 22.04 can't suspend

After a few days of searching for a solution, I finally found one of the solutions I tried yesterday, and it finally worked! But I haven't found out any further whether the impact on my laptop in the ...
Equinox's user avatar
  • 376
20 votes
Accepted

Screen sharing under wayland

I should note for those who come after me that this is partly fixed in Ubuntu 21.04, with the following caveats: Enabling WebRTC with pipewire works in Chrome / Chromium. To do so, open chrome://...
Tom's user avatar
  • 1,172
20 votes

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

Update: As @DanglingPointer mentioned in comments below, If you have upgraded the Ubuntu from older version you might be able to change it via the cog wheel as per the steps. If that's not the case, ...
Aravinth's user avatar
  • 657
19 votes
Accepted

Keyboard shortcut for rotating Ubuntu 17.10 Screen

I'm not sure if there's any by default, but You can easily set the one You like! Just tap Super to open Dash, search for Keyboard, go to hotkeys tab and create new one. The commands You need are: ...
kcpr's user avatar
  • 1,433
17 votes
Accepted

How to set per-monitor scaling on Wayland?

I figured out what was wrong. By default, I had a scaling factor set to handle the HiDPI screen on my laptop. When using Wayland, though, this scaling factor overrides for both screens. The solution ...
Computerish's user avatar
17 votes

Wayland how to set a custom resolution

You can try to set a custom resolution with wayland with some effort and mixed results. You should probably start by filing a bug report, including your graphics card and monitor(s), against wayland ...
Panther's user avatar
  • 103k
17 votes
Accepted

How do I enable Wayland on Ubuntu 21.10 (NVIDIA)?

I can see in the "/lib/udev/rules.d/61-gdm.rules" file that there are still a few things that can prevent Wayland from being selectable at the login screen (GDM): the system is running on a ...
JustALawnGnome7's user avatar
16 votes

How can I tell if I am running Wayland?

Use that command in the Ubuntu terminal: echo $DESKTOP_SESSION Look at the value returned. If on wayland it will return gnome-wayland ubuntu-wayland # Ubuntu 20.10
amano's user avatar
  • 185
16 votes
Accepted

How to get a Wayland session in Kubuntu?

Since 5.4 it is possible to start a complete Plasma session on Wayland. For this go to a tty, log in, end the running X server (otherwise startup might block) and run the following command: ...
Sumeet Deshmukh's user avatar
15 votes

How can I tell if I am running Wayland?

Settings > About > Windowing System On Ubuntu 21.04, you can also see it from the Settings GUI (Win key, type Settings, select. Executable name: gnome-control-center), which is nice. The default ...
Ciro Santilli OurBigBook.com's user avatar
14 votes
Accepted

Is there HDR monitor support in Ubuntu

Update 2024 03 OBS Studio 30.1 enabled HDR for HEVC over RTMP. Update 2024 01 Valve: Proton 8.0-5 brings more HDR gaming to Linux / Steam Deck plus lots of fixes (GamingOnLinux). Article's discussion ...
Filbuntu's user avatar
  • 13.3k
14 votes
Accepted

How to permanetely disable Wayland

I selected Xorg instead of Wayland according to the following link in my Ubuntu Desktop 22.04 LTS (now automatically 22.04.1 LTS). Method to switch from Wayland to X (to make Firefox work) Edit the ...
sudodus's user avatar
  • 46.7k

Only top scored, non community-wiki answers of a minimum length are eligible