On 09.06.2012 00:53, Michael Biebl wrote:
> On 08.06.2012 10:58, Mike Hommey wrote:
>> This is probably related to me not using gnome, but gnome-screenshot
>> attempts to save screenshots in /:
>>
>> strace -f -eopen gnome-screenshot 2>&1 | grep \\.png
>> [pid 15190] open("/Screenshot from 2012-06-08 10:57:42.png",
>>  O_WRONLY|O_CREAT|O_EXCL, 0666) = -1 EACCES (Permission denied)
> 
> 
> what is XDG_PICTURES_DIR (~/.config/user-dirs.dirs) set to?

In case it is not set, g-screenshot should fall back to $HOME [1].
It would be helpful to know what
get_default_screenshot_dir() resp get_fallback_screenshot_dir() return
in your particular case.

Michael

[1]
http://git.gnome.org/browse/gnome-screenshot/commit/?h=gnome-3-4&id=f7c1bbc87361452769b6f15914181a1fc1e12632
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to