Hello

I set an absolute symling to /usr/share/applications as Rene described.
Then it is possible to copy an libreoffice entry from menu to desktop.

Also there is no error message in the preferences of the new icon at the
desktop.

Regards

Mechtilde

Am 14.10.2012 12:07, schrieb Rene Engelhard:
> reopen 690336
> retitle 690336 relative symlinks of .desktops prevent copying entry from menu 
> to desktop
> thanks
> 
> On Sun, Oct 14, 2012 at 09:18:07AM +0200, Mechtilde wrote:
>> Am 14.10.2012 05:34, schrieb westlake:
>> If you create the Icon file for GEdit it is a copy of the the *.desktop
>> file.
>>
>> If you create the Icon file for LO Writer, it is a symlink to the
>> *.desktop file.
>>
>> I tried to reproduce the problem at my Wheezy system with XFCE
>>
>> For Gedit it works
>>
>> For Libreoffice it creates a symlink. In the preferences of this icon I
>> read the message like "defect link" (In Germen: Verknüpfung (fehlerhaft))
> 
> This is very well possible.
> 
> rene@frodo:/usr/share/applications$ ls -l gedit* libreoffice-*
> -rw-r--r-- 1 root root 17968 Mai 24 18:29 gedit.desktop
> lrwxrwxrwx 1 root root    44 Okt 12 19:40 libreoffice-base.desktop -> 
> ../../lib/libreoffice/share/xdg/base.desktop
> lrwxrwxrwx 1 root root    49 Okt 12 19:40 libreoffice-binfilter.desktop -> 
> ../../lib/libreoffice/share/xdg/binfilter.desktop
> lrwxrwxrwx 1 root root    44 Okt 12 19:40 libreoffice-calc.desktop -> 
> ../../lib/libreoffice/share/xdg/calc.desktop
> lrwxrwxrwx 1 root root    44 Okt 12 19:40 libreoffice-draw.desktop -> 
> ../../lib/libreoffice/share/xdg/draw.desktop
> lrwxrwxrwx 1 root root    47 Okt 12 19:40 libreoffice-impress.desktop -> 
> ../../lib/libreoffice/share/xdg/impress.desktop
> lrwxrwxrwx 1 root root    44 Okt 12 19:40 libreoffice-math.desktop -> 
> ../../lib/libreoffice/share/xdg/math.desktop
> lrwxrwxrwx 1 root root    51 Okt 12 20:36 libreoffice-startcenter.desktop -> 
> ../../lib/libreoffice/share/xdg/startcenter.desktop
> lrwxrwxrwx 1 root root    46 Okt 12 19:40 libreoffice-writer.desktop -> 
> ../../lib/libreoffice/share/xdg/writer.desktop
> lrwxrwxrwx 1 root root    50 Okt 12 20:36 libreoffice-xsltfilter.desktop -> 
> ../../lib/libreoffice/share/xdg/xsltfilter.desktop
> 
> That's the case for the original files, too. 
> 
> So I guess all of this does the equialvent of cp -a which then makes the files
> on your desktop point to ../../lib/libreoffice/share/xdg/<whetever>.desktop 
> which
> obviusly is not valid.
> 
> We can get out of this by:
> 
> - making the symlink absolute - would be against a "should" in debian policy 
> though
>   (10.5)
> - hack after the install of LO so that we move 
> /usr/lib/libreoffice/share/xdg/* to
>   /usr/share/applications.
> 
> The first one would be easiest and less intrusive, but given this bug is not 
> "important" or
> higher it's probably nothing we could fix in this freeze for wheezy.
> 
> Regards,
> 
> Rene
> 


-- 
To UNSUBSCRIBE, email to debian-openoffice-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/507a9bd4.8040...@mechtilde.de

Reply via email to