You are not logged in.
Pages: 1
Topic closed
Hello everybody
I use scrot to take screenshots. Usually i need them directly as an image file (.png or so).
Sometimes i like them directly in my clipboard. So: Is it also possible to take a screenshot directly into my local clipboard?
I like doing something like this:
$ scrot -s foo.png
$ xclip foo.png
Then I'd like to paste the image from the clipboard into Gimp/LibreOffice/${YourGuiSoftware}.
The only thing I saw was a Python Script (http://stackoverflow.com/questions/3571 … n-in-linux). Is there no Software in the Arch Linux Repositories to do this task?
Thanks for your answers.
Mindfuckup
Offline
Not exactly what you want, but editing ~/.bashrc and adding the following alias might (not sure) work
alias scrotclip= 'scrot -s ~/foo.png && xclip ~/foo.png && rm ~/foo.png'
On the next login, your user should be able to run scrotclip, which should run the posted commands on order.
Offline
<necro>
import png:- | xclip -selection c -t image/png
</necro>
Last edited by trollie (2015-08-05 10:43:47)
Offline
Trollie,
First, Welcome to Arch Linux. Although your post is on relevant, I note that you know this is an old thread.
I shall, therefore, use this as an opportunity to bring this thread to a close.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed