sudo apt-get install xclip
- Configure spectacle to use Rectangular Selection, default save to
/some/path/Screenshot_%Y%M%D_%H%m%S
- Configure PrintScreen for rectangular selection via custom shortcuts
- Try it - once you select the area and hit enter it should show the pop-up notification about saved file.
- On this notification select the settings button
- In the notification settings enable "Run command" and set it as
/usr/bin/xclip -selection clipboard -target image/png -i $(ls -1tr /some/path/Screenshot_*.png | tail -n 1)
-
-
Save Xarkam/26d40e98dbad314423c11a27e35aab47 to your computer and use it in GitHub Desktop.
I consider flameshot to be unmaintained. It has been 10 months since there were any more commits in the code and 51 pull requests are still pending.
Spectacle goes ahead, but it lacks that awesome option of being able to annotate an image before copying or saving it.
If you are using Wayland, you can't use xclip. You can choose to install wl-copy
instead and set the command as
/usr/bin/wl-copy < $(ls -1tr /home/rfaccount/Pictures/Screenshot_*.png | tail -n 1)
I don't use wayland.
Flameshot is very active again but in the meantime I have found ksnip which I find very good for the KDE environment.
ksnip supports partially wayland.
If you are using Wayland, you can't use xclip. You can choose to install
wl-copy
instead and set the command as/usr/bin/wl-copy < $(ls -1tr /home/rfaccount/Pictures/Screenshot_*.png | tail -n 1)
This is super helpful! KDE doesn't seem to have a way to copy to clipboard under wayland that I've found in any screenshot apps. So this is a great workaround in the meantime.
@igoro00 It works!