I use a laptop from linovo where they replaced the Menu key with PrtScn. I restored the menu key through XKB - which fortunately still works with Wayland Gnome - but lost the dedicated print-screen key as a result. See this question for a picture of the problem.
To get around the lack of a PrtScn key, I used to run gnome-screenshot -i
from the terminal. Unfortunately, this command was removed in whatever version of Gnome that shipped with Ubuntu 22.04. I tried guessing the command in Gnome's "Run a Command" dialog (i.e Alt+F2`) with little success.
How do access the screenshot functionality in modern versions of gnome without using the dedicated keyboard key?