[Thunar-dev] "Desktop" Directory

Mathias Brodala info at noctus.net
Fri Aug 1 01:46:10 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Brian J. Tarricone, 01.08.2008 01:28:
> David Berg wrote:
>> I recently switched to Xfce and one of the first things I tried to
>> change was location of the "Desktop" directory.  I was not able to
>> find any configuration settings that would allow me to do that.  There
>> are a number of posts to the form asking the same question.  All
>> without an answer.
>>
>> So I downloaded the code and poked around a liltle.  If my rusty
>> knowledge of C from college led me in the right direction the
>> directory location is hard coded into Thunar.  Is that right?  If so,
>> has there been any discussion of making this configurable?  If not,
>> how can I change it?
> 
> 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.

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?


Regards, Mathias

- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiSTsIACgkQYfUFJ3ewsJh9/wCgmCeZ3V//MzfXKTDQkQHhsd1f
1OcAnRgbuGNRC8qx9UiDhySZED6Ih+6M
=ClTS
-----END PGP SIGNATURE-----



More information about the Thunar-dev mailing list