12.04 [Print Screen] key not prompting for file location anymore

NoOp glgxg at sbcglobal.net
Thu Jun 21 19:58:17 UTC 2012


On 06/21/2012 09:45 AM, Dave Woyciesjes wrote:
> On 06/21/2012 09:36 AM, Dave Woyciesjes wrote:
>> On 06/21/2012 08:13 AM, Alexander Skwar (ML) wrote:
...
>>> $ gsettings set org.gnome.gnome-screenshot auto-save-directory
>>> ~/Dropbox/Photos/Screenshots/
>>> $ gsettings get org.gnome.gnome-screenshot auto-save-directory
>>> '/home/a.sk/Dropbox/Photos/Screenshots/'
>>>
>>> However, when I now press <Print Screen>, the file still gets
>>> created in ~/Bilder and not in /home/a.sk/Dropbox/Photos/Screenshots/
>>> as I would've expected.
>>>
>>> Ubuntu 12.04 Gnome Shell (not Unity)
>>>
>>> Alexander
>>
>> That's what I'm seeing. I found that if you look in
>> ~/.config/user-dirs.dirs, and comment out the XDG_PICTURES_DIR line:
>>
>> XDG_PICTURES_DIR="$HOME/Pictures"
>>
>> ...it saves the pics in your home folder. But that seems to remove all
>> refences in the system to any default Pictures folder.
>>
>> I would like to restore the function where it prompts for a location
>> when you hit the [Print Screen] key.
>> Like mentioend before, if you use the gnome-screenshot gui, it does ask...
>>
> 	So, just did a fresh install of 12.04x64 on a spare Latitude D620...
> 	Now it's getting interesting. After the install, the [Print Screen] key 
> pops up the location box like I want.
> 	Via Synaptic, I install Gnome and remove Unity. Now the prompt doesn't 
> occur. Via Synaptic, add Unity (yuck) & Ubuntu-Desktop back in. Still no 
> prompt when using Gnome Shell, but when I login to Unity, it does prompt.
> 	So, what the fuck is Gnome doing?
> 

I loaded up dconf and notice that in the 'last save directory' the
format is 'file:///home/<username>/<directory>. So I change to that
format (this is GNOME Shell/Classic) in the org.gnome.gnome-screenshot
auto-save-directory key, and it now saves to my prefered directory. So
not using dconf, but using the cli, the command is:

$ gsettings set org.gnome.gnome-screenshot auto-save-directory
file:///home/<user>/<directory>

Now on to figuring out how to get it to run gnome-screenshot -i
(interactive) with GNOME Classic...






More information about the ubuntu-users mailing list