User directories integration - request for help

A S Alam aalam at redhat.com
Thu Mar 15 11:18:55 UTC 2007


Alexander Larsson ਨੇ ਲਿਖਿਆ:
> The basic user directories stuff discussed on fedora-desktop-list has
> now landed in rawhide (install the xdg-user-dirs and xdg-user-dirs-gtk
> packages to get it). I've created patches to the core desktop packages
> that needed it (nautilus, gnome-panel, gnome-user-share) to make it
> work. However, to fully make use of this we need to patch a bunch of
> applications to take advantage of this new feature.
> 
> The directories availible are:
> DESKTOP: the standard desktop dir
> DOWNLOAD: default location for downloads
> TEMPLATES: used by nautilus for templates
> PUBLICSHARE: This is ~/Public as used by gnome-user-share
> DOCUMENTS: default location for "documents"
> MUSIC: default location for music
> PICTURES: default location for pictures
> VIDEOS: default location for movies
> 
> The most common thing these are used for is for the default location of
> the file selector, or as a default for some setting (like download
> directory). I'd like to point out that the *best* default location for a
> file selector is whatever it was last time you opened it, so this should
> be used for the default default location.
> 
> The xdg-user-dirs sources contains a file called xdg-user-dir-lookup.c
> which has a very simple implementation of looking up user directories.
> It has no dependencies and a liberal license (MIT) and was made to be
> easily copied into apps for easy patchmaking. 
> 
> I've attached an example patch that i did for gftp to show how adding
> integration to an application can look.
> 
> Now I'd like to get some help with integrating this into the rest of our
> applications from package maintainers and the community in general. Both
> with patching and ideas of what can be done.
> 
> Here is an initial list of stuff we should try to do:
> 
> firefox/epiphany/any browser: default download directory
> 
> abiword, OOo, other word processors: Default to DOCUMENTS directory 
> (OOo is being worked on atm)
> 
> bittorrent: default download directory
> 
> rhythmbox: use MUSIC directory as default in file selector and maybe as
> the standard library location
> 
> totem: use VIDEOS as default in file selector
> 
> eog/gthumb/f-spot: PICTURES as default for file selector
> 
Any idea about KDE applications? are those usefuly for  kde?

Thanks
A S Alam




More information about the fedora-devel-list mailing list