Ability to paste from GNOME Files application
dshoreman opened this issue · comments
Dave Shoreman commented
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