Prefer to capture your screen as soon as your press ‘Print Screen’ key? Here’s how to rebind Gnome’s new screenshot UI to another key and set ‘Print Screen’ to take full-screen screenshot in Ubuntu 22.04 LTS.
Option 1: 2 Command to rebind Screenshot Keys
For those familiar with Linux command, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:
- Set ‘Print Screen’ key to directly capture full-screen without interaction:
gsettings set org.gnome.shell.keybindings screenshot ["'Print'"]
- Re-bind new screenshot UI to “Shift+Print” (change the shortcut as you prefer):
gsettings set org.gnome.shell.keybindings show-screenshot-ui ["'<Shift>Print'"]
Pay attention that there are two pairs of quotes in the code “” and ”.
To restore the shortcut keys, run commands:
gsettings reset org.gnome.shell.keybindings screenshot
gsettings reset org.gnome.shell.keybindings show-screenshot-ui
Option 2: Rebind Print-Screen via System Settings:
1.) Firstly, open ‘Settings’ (aka Gnome control center) from the upper right corner system menu:
2.) When it opens, navigate to ‘Keyboard’ from left pane, then click on ‘View and Customize Shortcuts’ in the right.
3.) In the pop-up dialog, click on the ‘Screenshot’ option.
4.) You can finally change the shortcut key for “Take a Screenshot” which captures the full-screen immediately. And, set another key for “Take a Screenshot interactively” which brings up the new screenshot UI.
That’s all. Enjoy!
and how about how to take a screenshot with a delay so that you can capture menus and drop down select boxes when they are open?
This finally got added to gnome-screenshot GUI in 21.10 and now in 22.04 they have a new tool missing this essential feature.
Seems no way to add a delay at the moment. But the screenshot is taken immediately when you press “Print Screen” on keyboard. The ‘Selection’, ‘Screen’, ‘Window’ options just tell which part to save in your disk. So, you may first open menus and/or select boxes, press “Print Screen” and select option to save.
Like Gnome Screenshot app, the “Window” mode somehow does not save some drop-down menus, instead you need to use full-screen or selection area.
Thanks for the suggestion but after trying it unfortantely it’s even worse.
1) right click in firefox
2) press print-screen
The screencapture tool comes up, but focus is lost, you can’t move the selection box or close it, to xsession is lost to you and have to reboot/kill X
1) click on a classic menu, e.g. File menu in Libre Office Writer
2) press print-screen
Nothing happens, the print-screen button is not invoking the screencapture tool
At least one can still install and manually run gnome-screenshot
Seems to be compatibility issue to the new Gnome version. Hope it will get better on final Ubuntu release. Someone has report similar issue at:
https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues/205
Not sure if GNOME will abandon this tool, but you may try reporting at:
https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues