Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Desktop (http://www.linux-archive.org/fedora-desktop/)
-   -   Where should Cups-PDF save its files now that we have no desktop icons? (http://www.linux-archive.org/fedora-desktop/504442-where-should-cups-pdf-save-its-files-now-we-have-no-desktop-icons.html)

Matthias Clasen 03-22-2011 09:39 PM

Where should Cups-PDF save its files now that we have no desktop icons?
 
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.

--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop


All times are GMT. The time now is 12:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.