You are not logged in.
I often need to insert a screenshot into a html mail in iceweasel. Scrot can only save to a file, not to clipboard. I tried some commandline tools like xclip, but without success. The only working way was to open the file made by scrot with gthumb and let ghtumb copy it to clipboard. But that's very inconvenient.
xfce4-screenshooter also cannot copy to clipboard, offers me only to upload it to zimage, save it to file, or open it with application.
Is there an easy way to make screenshots to clipboard without overloaded tools like gnome-screenshot?
Offline
Do you have imagemagick installed? If you have, try
import png:- | xclip -selection c -t image/png
I found the code here: https://bbs.archlinux.org/viewtopic.php … 8#p1550758
This is what I tried: I ran the command, selected the area, opened LibreOffice writer and pressed Ctrl+V. I don't know if it will work with your specific use case.
Last edited by vasa1 (2015-10-12 15:07:30)
Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)
Offline
I tried that already, but Iceweasel seems to use some other clipboard. I tried all 3 possible X selections, none of them worked.
Offline
I tried that already, but Iceweasel seems to use some other clipboard. I tried all 3 possible X selections, none of them worked.
I just tested. Can't paste into the compose window of Gmail in Firefox but can paste successfully into the compose window of Gmail in Google Chrome. Hmmm...
Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)
Offline
gthumb has a method than can paste images successfull into iceweasel. Looks like I have to study the source code, and try to do the same with some python script.
Offline
Just an idea. I don't use IM so I didn't tested it myself, but launching iceweasel as x-www-browser instead of just iceweasel would make a difference.
Offline
Sorry, I confused Iceweasel and Icedove (silly names). What I meant was Icedove, the mail client.
Offline
I changed it to icedove in the thread title.
Offline
I found a working screenshot tool: https://github.com/Roger/escrotum
Offline
I found a working screenshot tool: https://github.com/Roger/escrotum
Great! Could you please explain how you installed it?
Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)
Offline
sudo pip install escrotum
Offline
I'm curious about this:
Because scrot has glitches when selection is used in refreshing windows
What does; 'when selection is used in refreshing windows' mean?
Pardon my noobish question.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline