feh icon indicating copy to clipboard operation
feh copied to clipboard

Copy Image To Clipboard

Open kyx0r opened this issue 5 years ago • 9 comments

I have not found a way to do this in docs. If this is implemented already, let me know! Thank you.

kyx0r avatar May 05 '20 19:05 kyx0r

C.f. https://askubuntu.com/questions/759651/how-to-copy-an-image-to-the-clipboard-from-a-file-using-command-line and https://github.com/derf/feh/issues/155#issuecomment-40683903 best chance at the moment would be something like this:

feh --action1 'xclip -selection clipboard -t image/png -i %F'

Of course that's not gonna work as a "screenshot" feature, it'll only copy over from the file.

Ferada avatar May 05 '20 22:05 Ferada

can you also bind this to a hotkey inside of feh -> imagine the following situation ... opening a picture you like with feh and want to share with a friend feh open's picture press button change window (alt+tab) press insert

PS: -> even in slideshow modus i only want the current visible picture

Glog78 avatar Dec 21 '22 03:12 Glog78

Why not simply add a "copy" option into the menu that appears when I right-click?

casperl avatar Mar 23 '23 06:03 casperl

Why not simply add a "copy" option into the menu that appears when I right-click?

Some people (tiling window managers for example) prefer to not even touch the mouse. I try to reduce my move actions too (reduce strain on my hands to reduce the risk of problems with the tendons)

Glog78 avatar Mar 23 '23 14:03 Glog78

Why not simply add a "copy" option into the menu that appears when I right-click?

Some people (tiling window managers for example) prefer to not even touch the mouse. I try to reduce my move actions too (reduce strain on my hands to reduce the risk of problems with the tendons)

That's like saying "Hey, sorry, our OS doesn't have keyboard support because some users prefer to just use the mouse". The fact that some people prefer to use the keyboard most of the time (me included) is not a valid reason for not adding a cursor option.

8dcc avatar Aug 02 '23 22:08 8dcc