Quantcast
Channel: I do NOT want screenshots to be saved to file - Ask Ubuntu
Viewing all articles
Browse latest Browse all 7

Answer by Dhruv for I do NOT want screenshots to be saved to file

$
0
0

Flameshot and xfce4 were not working for me, so after some digging here is what I came up with. From the gnome discussion, here is a simple code that will copy screenshots to clipboard without saving.

While creating a custom keyboard shortcut in settings, add the following code in Command section:

bash -c "gnome-screenshot -af ~/Pictures/Screenshots/_custom_screenshot && xclip ~/Pictures/Screenshots/_custom_screenshot -selection clipboard -target image/png; rm ~/Pictures/Screenshots/_custom_screenshot"

Make sure you have gnome-screenshot and xclip installed.


Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>