cron – How to make `gnome-screenshot` or `flameshot` work in crontab under Wayland?

I am using Ubuntu 21.04 under GNOME on Wayland. I want to take the screenshot every minute and save them to a designated folder. The simplest thing I can think of is using crontab which is available out-of-the-box in Ubuntu. There are only a handful of programs that can take screenshots under GNOME on Wayland – including gnome-screnshot and flameshot. However despite the fact these programs work from the Ubuntu terminal, they do not work when run in a cron. I guess this problem is specific to Wayland as I was successful in taking screenshot in a cron under GNOME on Xorg using scrot which is a screenshot program working in X.

I would like to stick to GNOME on Wayland because it has some advantages over X. I would like to know:

  • What screenshot software works in crontab under GNOME on Wayland?
  • Any workarounds to make flameshot or gnome-screenshot work in crontab?

Thank you so much.

Ubuntu 21.04: how to enable Wayland?

Hello I have upgraded to Hippo (Ubuntu 21.04), but my session is still using X11. At the login screen, the only choice I have are «Unity» or «Ubuntu». I guess this is probably because my current install is really old, but upgraded every 6 months. On my others computer, Hippo is running under Wayland by default. But is there a way to force Hippo to use Wayland, or at least to have it available as an option at the login screen ?
Thanks a lot.

Ubuntu 21.04 (Wayland) visual glitches in GUIs

20.10 has no visual bugs and works fine but 21.04 has these visual bugs over all GUIs (Doesn’t seem to effect actual gameplay). I’ve tried switching back to xorg, but that made no difference. I have an AMD RX 6700 XT with the default AMD drivers included in Ubuntu 21.04.

Buggy Lunar client menu

Buggy steam menu

xorg – Wayland works with Nouveau driver but not X11

I am trying to login to gnome X11 with the Nouveau driver. This does not work (see attached xorg.log file). However wayland does work fine and I can login.

If I install the proprietary drivers for Nvidia, I can also login to X11.

What could be stopping me from loggin in to X11 with Nouveau? How would you troubleshoot this?

Log file:

gnome – What are the steps to run Wayland on 21.04 with nVIDIA?

The settings I adapted are:

options nvidia_drm modeset=1

ensure #WaylandEnable=false is commented in:

comment all lines with # in:


check (output should be wayland):

My experience with Wayland:

Matlab and VMWare Workstation Player complain about missing OpenGL hardware acceleration. But overall I am very happy with Wayland. No special tricks needed for many applications like Spotify and Matlab which previously did not scale in Xorg. With Wayland Matlab scales perfectly out of the box. Also resume from suspend to RAM now works for the first time on this laptop. Though it takes 1 minute 45 seconds from power button to lock screen. VLC full screen also works great, previously not possible in Xorg.

Waiting for nVIDA 470 series to have OpenGL hardware acceleration…

Up to now I only have one issue: connecting an external monitor to the HDMI connector freezes Ubuntu completely. Nothing is shown on the external monitor and power button hard reset is the only option.

Is there some configuration required for this?

xorg – Express keys not reflected in xournal++ using Ubuntu (wayland)

I am using the following:

  1. Ubuntu 21.04, Gnome 3.38.5, Wayland windowing system
  2. XP deco 01 v2 and installed the necessary driver
  3. I work with xournal++, version 1.1.0+

Problem I am facing is that the express keys of the pen tablet are registered (shown as the bottom of the screen) but not reflected in the corresponding action in the software. For example, express key 5 is mapped to Ctrl+Z. When I press it, Ctrl+Z is shown at the bottom of the screen, but it doesn’t result in the undo action in the software.

There is no such problem while using xorg as Windowing system.

Additional: How can I remove the cursor corresponding to the mouse while using the pen tablet in Wayland. I understand that it is by design, but is annoying for me.

Thanks in advance.

xorg – Wayland multiple users issue

I have a multiseat setup. It works fine with Xorg.
The issue is that only one user is able to run Wayland and another forced to use Xorg.

This is my configuration for the gdm:


This shows that 2 seats configured:

      2 1000 mykola   seat0 tty2
      6 1001 svetlana seat1   

This shows that one user uses Xorg and another is Wayland:

mykola@k-workstation:~$ loginctl show-session 2 -p Type
mykola@k-workstation:~$ loginctl show-session 6 -p Type

Is there any way how to configure Wayland for booth users?

Dock for wayland – Ask Ubuntu

I use cairo-dock and sometimes plank on x11. It is time to migrate from the veteran Windowing system -x11- to Wayland, but I cant find a suitable dock(other than dash to dock)

The dock I’m looking for:

  • zoom effect
  • lightweight

Ubuntu 20.04.2
Gnome 3.36.8
WM – Mutter

I can’t seem to open snaps, other than LibreOffice, when I’m in Ubuntu Wayland. Ubuntu Zorg works fine. (Ubuntu 20.10)

I’m absolutely new to AskUbuntu, and I’m having a problem.
I can’t seem to open snaps, except LibreOffice, when I’m in Ubuntu Wayland. Zorg works just fine. I use Ubuntu 20.10.

Thank you so much!