Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: option to copy to clipboard #14

Open
TheZipCreator opened this issue Jan 15, 2023 · 1 comment
Open

Feature Request: option to copy to clipboard #14

TheZipCreator opened this issue Jan 15, 2023 · 1 comment

Comments

@TheZipCreator
Copy link

gnome-screenshot has a -c option that lets you copy to the screenshot to your clipboard. could something like that be added to scrot?

@N-R-K
Copy link

N-R-K commented Jun 11, 2023

X11 "clipboard" is tricky and it'd be a non-trival amount of work to implement it natively. However you can just pipe the image output to some clipboard tool, e.g xclip:

$ scrot - | xclip -selection clipboard -target image/png

This repo however doesn't seem to support output to stdout. The scrot fork over at resurrecting-open-source-projects/scrot does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants