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 ...
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 ...
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 ...
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.
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
compiz × 83ubuntu × 47
linux × 24
gnome × 11
window-manager × 7
multiple-monitors × 5
ubuntu-10.04 × 5
ubuntu-9.10 × 5
keyboard-shortcuts × 4
nvidia-graphics-card × 4
desktop × 4
virtual-desktop × 4
virtualbox × 3
drivers × 3
xorg × 3
metacity × 3
debian × 2
graphics-card × 2
display × 2
hotkeys × 2
kde × 2
window × 2
gui × 2
desktop-customization × 2
nvidia-geforce × 2