org-download icon indicating copy to clipboard operation
org-download copied to clipboard

Error "Could not obtain desktop path or name"

Open ghost opened this issue 8 years ago • 1 comments

Any idea why I'm seeing this error on Linux (Ubuntu), with current package from MELPA.

Tried with default `org-download-screenshot-file" and setting it explicitly. When it's wrong (i.e. it's set to the name of a diretory rather than a file name) I get the expected error, but anything else, including the default tmp location, produce this error:

** (gnome-screenshot:8878): WARNING **: AT-SPI: Could not obtain desktop path or name

ghost avatar Nov 29 '17 10:11 ghost

This looks like some bug in gnome-screenshot. The Elisp part here is very simple: have gnome-screenshot save the image to the file, and copy the file. Very little can go wrong on the Emacs side.

Do other settings of org-download-screenshot-method work for you?

abo-abo avatar Nov 29 '17 15:11 abo-abo