[Thunar-dev] "Desktop" Directory

Brian J. Tarricone bjt23 at cornell.edu
Fri Aug 1 01:58:57 CEST 2008


Mathias Brodala wrote:
> Brian J. Tarricone, 01.08.2008 01:28:
 >
>> No, you want xfdesktop/src/xfdesktop-file-icon-manager.c.  I had planned 
>> to support making this configurable for 4.6 (via the xdg-user-dirs 
>> spec), but never had the time.
> 
> But his assumption, that the path of the Desktop directory is hardcoded
> into Thunar, is also correct. Thus, if somebody changes this path in
> Xfdesktop, he should also do it in Thunar.

Yeah, good point.  I suppose Thunar will need to be updated to support 
xdg-user-dirs as well.

> And grepping Xfdesktop’s source i was not able to find references to the
> Desktop directory in the file you mentioned but in
> xfdesktop/src/xfce-desktop.c instead:
> 
>>                 gchar *desktop_path = xfce_get_homefile("Desktop",
>>                                                         NULL);
> 
> Did I miss something?

No, that's correct.  Guess I don't know my own code as well as I thought 
^_~.

	-brian




More information about the Thunar-dev mailing list