23 votes

How to copy image to clipboard, to paste to another application?

scrot + xclip You can use scrot with xclip to take a screenshot and copy it to clipboard. scrot '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' It will capture whole ...
Mandeep Singh's user avatar
7 votes

How to copy image to clipboard, to paste to another application?

Install xclip (be sure the version is 0.12+svn84, because 0.12 is not enough); then, add this line to the box in the compiz settings manager: xclip -selection clipboard -target image/png -i You ...
NeverGoodEnough's user avatar
4 votes

Why my ctrl+semicolon was bound globally?

I had the same issue with Debian GNU/Linux bookworm/sid and Gnome 42. It was driving me nuts since I had Ctrl-; bound in Emacs. I could not find the binding defined anywhere. Then, I ran, gsettings ...
scribe's user avatar
  • 206
4 votes

Why my ctrl+semicolon was bound globally?

The problem is caused by an addon in fcitx named Clipboard. To disable it, simply open Fcitx Configuration -> Addon -> Clipboard, then either disable it or change its trigger key.
vinc's user avatar
  • 91
2 votes

How to copy image to clipboard, to paste to another application?

Command line solution To just copy an image IMG.png stored at $DESTINATION as $DESTINATION/IMG.png, use xclip -in -selection clipboard -target image/png $DESTINATION/IMG.png Similarly for IMG.jpg ...
Chinmay Chhajed's user avatar
1 vote

How to copy image to clipboard, to paste to another application?

Updated answer of @Mandeep Singh You can use scrot and xclip to copy the image directly to clipboard. Unlike Mandeeps solution, there is a way to copy the output directly to clipboard without ever ...
Thoth's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible