In Ubuntu 20.04 I could just press a shortcut, select an area and have that area in the buffer. Now it is gone and there is some annoying, irritating app.
How to delete it? If I delete it will screenshots in Ubuntu work?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityIn Ubuntu 20.04 I could just press a shortcut, select an area and have that area in the buffer. Now it is gone and there is some annoying, irritating app.
How to delete it? If I delete it will screenshots in Ubuntu work?
It functions pretty much the same now. You press PtrSc, then select the area you want a screenshot of, and hit Enter when done. The result is available both in the clipboard and as a file, so you do not need to worry ahead where you want the output.
You can reinstate the previous screenshot tool if you prefer, as indicated in the answer of BeastOfCaerbannog.
You can disable the default keyboard bindings to PrtScr (interactive screenshot), Shift+PrtScr (whole screen) and Alt+PrtScr (current window) in "Settings" - "Keyboard" - "Keyboard Shortcuts", section "Screenshot" and replace them by your own under the section "Custom Shortcuts".
Note, however, that the functionality to transfer the output to the clipboard will not work if you run Wayland, the default for Ubuntu 22.04. That could still be implemented by a small script, that has gnome-terminal
send a screenshot to a file, then uses wl-copy
to place the output on the clipboard:
wl-copy < ~/Pictures/screenshot.png
You cannot delete the new screenshot app, as it is built-in to GNOME Shell. However, you can install the gnome-screenshot
app, which is the app that was used in Ubuntu before 22.04, using this command:
sudo apt install gnome-screenshot
You also need to install xclip
, as suggested by Ben in this answer1:
sudo apt install xclip
Then go to Settings → Keyboard → View and Customize Shortcuts → Custom Shortcuts, click the + icon and add a new shortcut using the following as Command:
gnome-screenshot -a -c
The above command allows for selecting an area and saving directly to the clipboard, as you can find from man gnome-screenshot
:
-c, --clipboard
Send the grab directly to the clipboard.
-a, --area
Grab an area of the screen instead of the entire screen.
Note: Since xclip
is an X11 command, this answer does not work on Wayland.
1 Without xclip
the screenshot is not saved to the clipboard due to a bug. Related question: Gnome Screenshot Copy Clipboard not working on Ubuntu 20.04 (specifically Zexiang Liu's answer).