nextshot icon indicating copy to clipboard operation
nextshot copied to clipboard

Ability to paste from GNOME Files application

Open dshoreman opened this issue 5 years ago • 0 comments

Could also affect other GUI file managers, no idea.

When you copy an image in Nautilus/GNOME Files, the result of xclip -selection c -o is something like this:

x-special/nautilus-clipboard
copy
file:///run/media/dshoreman/data/pictures/foo.jpg

To be able to paste from Nautilus we'd need some way of detecting and parsing that syntax. xclip doesn't seem to offer any image targets, and none of the given options are obviously distinct:

$ xclip -selection clipboard -o -t TARGETS
TIMESTAMP
TARGETS
MULTIPLE
text/uri-list
UTF8_STRING
COMPOUND_TEXT
TEXT
STRING
text/plain;charset=utf-8
text/plain

dshoreman avatar Feb 13 '19 09:02 dshoreman