Bug#676616: gnome-screenshot: No screenshot saved when running "gnome-screenshot"

Michael Biebl biebl at debian.org
Sat Jun 9 00:07:45 UTC 2012


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20120609/36e1d4bc/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list