Comment 22 for bug 977228

Revision history for this message
Frederick Billings (phonesyfreakies) wrote : Re: [Ubuntu 12.04] gnome-screenshot forgets "last-save-directory"

Auto save directory/last save directory both work for me if I call gnome-screenshot or gnome-screenshot --interactive from an xterm, but neither work when I press Print Screen. 'Screenshot of a window' and 'screenshot of an area' behave identically.

I worked around this issue by defining custom keyboard shortcuts to 'gnome-screenshot', 'gnome-screenshot -w', 'gnome-screenshot -a'. My hunch is that the default shortcuts are passing '--file=$FILENAME' to gnome-screenshot, after failing to define the filename properly (they shouldn't pass --file to gnome-screenshot at all, imo), but I'm not sure where to look to track down where this behavior is defined.