xdg_user_dirs patches

Alexandre Julliard julliard at winehq.org
Fri Nov 30 05:42:47 CST 2007


Francois Gouget <fgouget at free.fr> writes:

> On Wed, 28 Nov 2007, Alexandre Julliard wrote:
> [...]
>> Also these variables should take priority over the default heuristics, 
>> and you most likely want to handle the desktop dir the same way.
>
> I'm not sure we want to handle the desktop directory the same way. It's 
> really a special case because applications often put their 'icons' on 
> the desktop. So if the Windows desktop is just a symbolic link to the 
> Unix one, the user will end up with a lot of 'xxx.lnk' files on his 
> desktop. In particular these files will show the wrong icon: they will 
> have the icon associated with 'lnk' files, instead of the one of the 
> application they are supposed to start.
>
> So I think it's best to keep the Windows desktop separate from the Unix 
> one, and let winemenubuilder put 'xxx.desktop' files on the Unix desktop 
> when appropriate.

You are right, that one doesn't need to be changed in shell32, but we
have to fix winemenubuilder (or rather wineshelllink) to also take the
xdg user dirs config into account for the desktop.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list