Where should Cups-PDF save its files now that we have no desktop icons?
Matthias Clasen
mclasen at redhat.com
Tue Mar 22 22:39:55 UTC 2011
On Tue, 2011-03-22 at 17:50 -0400, Paul W. Frields wrote:
> On Tue, Mar 22, 2011 at 09:36:55AM -0700, Jesse Keating wrote:
> > On 3/22/11 8:27 AM, Jared K. Smith wrote:
> > > In previous versions of Fedora, the Cups-PDF package has saved the
> > > PDFs on the Desktop. Now that Gnome Shell defaults to not showing
> > > icons for files in the Desktop folder, do we need to point Cups-PDF at
> > > another folder? I personally find it confusing to have Cups-PDF
> > > saving files to the Desktop folder, but not having those items
> > > displayed on the desktop.
> > >
> > > --
> > > Jared Smith
> > > Fedora Project Leader
> >
> > Isn't there some sort of xdg magic you can do to figure out where the
> > "Documents" type folder is and default to that? One of my biggest pet
> > peeves is apps that save document type files and default to something
> > other than my Documents folder.
>
> +1, and I believe the answer to your question is "yes":
> http://freedesktop.org/wiki/Software/xdg-user-dirs
>
If you are using glib, then
g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS)
will give you the xdg documents directory.
More information about the desktop
mailing list