This way, you can bring the old gnome-screenshot utility back.
First, install gnome-screenshot
sudo apt install gnome-screenshotThen, install xclip
sudo apt install xclipThen, make a script file containing the following,
#!/bin/bash TMPFILE=`mktemp -u /tmp/screenshotclip.XXXXXXXX.png` gnome-screenshot -af $TMPFILE && xclip $TMPFILE -selection clipboard -target image/png; rm $TMPFILE || echo ""Then, go to keyboard shortcuts, and make a shortcut of your choice for the script.
No comments:
Post a Comment