Gnome screenshots weird behaviour

Hi there,

I’ve been using Manjaro for a couple of years, and I had never encountered a problem with screenshots until very recently (I can’t pinpoint the exact update causing it). It’s not a problem per se, instead it’s a very annoying behavior.

Previously whenever I tried to take a screenshot I would just press a shortcut (Super+Shift+S in my case) or the PrintScr key, which I had bound to /usr/bin/flameshot gui. That opened the rectangular selection tool of Flameshot, which I then used to take the desired screenshot.

Now, instead of going straight to the tool, a dialog called “Screenshot” opens in the middle of the screen, saying “Share this screenshot with the requesting application?”. I have to then press the “Share” button, which then allows me to use Flameshot, otherwise said program notifies me that it is “Unable to capture screen”.

It is highly annoying, an unnecessary intermediate steps which I do not know how to disable. I thought it was because that screenshot dialog could also be bound to those shortcuts, but apparently it is not, therefore I have no clue as to what triggers it. I would gladly accept any help you could provide me.

Thanks a lot.

PS1: I think it might have to do with Wayland, because in another (also Lenovo w/ Manjaro) laptop I have which doesn’t yet use Wayland doesn’t present this behavior, although it might be for a different reason.

PS2: The relevant info displayed with inxi -F is

System:
  Host: vintage Kernel: 5.10.79-1-MANJARO x86_64 bits: 64
  Desktop: GNOME 41.1 Distro: Manjaro Linux
Machine:
  Type: Laptop System: LENOVO product: 81BG v: Lenovo ideapad 320-15IKB
  serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN
  serial: <superuser required> UEFI: LENOVO v: 6JCN23WW date: 01/23/2018
Battery:
  ID-1: BAT0 charge: 8.1 Wh (34.9%) condition: 23.2/30.6 Wh (75.9%)
CPU:
  Info: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP cache:
  L2: 1024 KiB
  Speed: 1426 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 1400 2: 1400
  3: 1400 4: 1400 5: 1400 6: 1400 7: 1400 8: 1400
Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
  Device-2: NVIDIA GP108M [GeForce MX150] driver: nouveau v: kernel
  Device-3: Acer EasyCamera type: USB driver: uvcvideo
  Display: wayland server: X.org 1.21.1.1 driver: loaded: nouveau
  note: n/a (using device driver) - try sudo/root
  resolution: <missing: xdpyinfo>
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.5

the same behaviour on

System:
  Host: hp Kernel: 5.15.7-1-MANJARO x86_64 bits: 64 Desktop: GNOME 41.2
    Distro: Manjaro Linux
Machine:
  Type: Laptop System: HP product: HP ProBook 440 G7 v: N/A
    serial: <superuser required>
  Mobo: HP model: 869D v: KBC Version 02.2D.00 serial: <superuser required>
    UEFI: HP v: S71 Ver. 01.06.01 date: 10/19/2020
Battery:
  ID-1: BAT0 charge: 36.2 Wh (100.0%) condition: 36.2/36.2 Wh (100.0%)
CPU:
  Info: quad core model: Intel Core i5-10210U bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 800 min/max: 400/4200 cores: 1: 800 2: 800 3: 800
    4: 800 5: 800 6: 800 7: 800 8: 800
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel
  Device-2: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD
    Integrated Webcam
    type: USB driver: uvcvideo
  Display: wayland server: X.org 1.21.1.2 driver: loaded: vesa
    resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.

I think it might have to do with Wayland,

I think you are right :slight_smile:

for more see

https://github.com/flameshot-org/flameshot/issues/675

https://github.com/flameshot-org/flameshot/blob/master/docs/Sway%20and%20wlroots%20support.md

Thanks for the links! I have to say that with the latest update this issue was solved though. Hope it stays like this!