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?
Next to the option you found yourself, there is another way. You can reassign the keybindings to take a screenshot in "Settings", "Keyboard", then "View and Customize shortcuts. You will find a "Screenshots" section there, where you can change the default keybindings to something else.
In Ubuntu 22.04, screenshots is not anymore a separate tool. It is a function integrated in the code of Gnome Shell itself (very much like Gnome Shell extensions also integrate into the Gnome Shell code).
Typing "screenshot" in Gnome's Start Menu - the screen that appears when you press the windows keys - did the trick.