! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfdesktop doesn't obey fd.o variable XDG_DESKTOP_DIR
Status:
RESOLVED: DUPLICATE
Severity:
enhancement
Product:
Xfdesktop
Component:
General

Comments

Description Tomasz Paweł Gajc 2008-05-05 09:38:28 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080208 Mandriva/2.0.0.14-1mdv2009.0 (2009.0) Firefox/2.0.0.14
Build Identifier: 

With fd.o xdg-user-dirs-update you can have localised few folders in your home directory. Anyways looks like xfdesktop doesn't obey this, and always uses $HOME/Desktop. I noticed that $HOME/Desktop is being created only by xfdesktop so this means, that this path is hardcoded. It would be nice if this could be fixed.

Reproducible: Always
Comment 1 Brian J. Tarricone (not reading bugmail) 2008-05-05 09:51:20 CEST
Yes, I have plans to implement this for 4.6, but there are other things that need to get done first.
Comment 2 Tomasz Paweł Gajc 2008-05-05 12:13:52 CEST
Created attachment 1617 
Use XDG_DESKTOP_DIR
Comment 3 Tomasz Paweł Gajc 2008-05-05 12:14:47 CEST
Ok i've created a patch, for this.

Also i've commited this for Mandriva cooker, so people could test this:

http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/?view=rev&revision=201352
Comment 4 Tomasz Paweł Gajc 2008-05-05 15:32:54 CEST
Looks like this is short term solution.

I think that libxfce4util should check where is Desktop(XDG_DESKTOP_DIR) folder and then just export this to Thunar, xfdesktop and few plugins, WDYT?
Comment 5 Brian J. Tarricone (not reading bugmail) 2008-05-05 17:58:08 CEST
There's a bit more necessary than just checking XDG_DESKTOP_DIR.  I'd prefer to integrate this properly rather than just adding a hacky short-term solution.
Comment 6 Tomasz Paweł Gajc 2008-05-05 18:44:40 CEST
Anyways i will continue using this hacky patch, i just need it asap.

It would be nice if you drop a line when you were about to start implementing it on svn.
Comment 7 Tomasz Paweł Gajc 2008-08-10 16:16:10 CEST
Looks like Fedora has found solution:

https://bugzilla.redhat.com/show_bug.cgi?id=457740

Works like expected ;)
Comment 8 Tomasz Paweł Gajc 2008-09-08 13:57:36 CEST

*** This bug has been marked as a duplicate of bug 4365 ***

Bug #4062

Reported by:
Tomasz Paweł Gajc
Reported on: 2008-05-05
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Use XDG_DESKTOP_DIR (2.47 KB, patch)
2008-05-05 12:13 CEST , Tomasz Paweł Gajc
no flags

Additional information