Xfce Not Loading .desktop File

Mark Kane mark at mkproductions.org
Tue Oct 25 20:52:07 CEST 2005


Hi everyone. I am setting up Xfce on another machine and I'm having a 
bit of trouble. For the most part, new applications that I install 
through the FreeBSD ports system create the .desktop files in the proper 
location. A few have not, so I created them manually in the right 
location (/usr/X11R6/share/applications/) and they all worked but one.

OpenOffice is a different story though. So far, I have been through 
about 15-20 different restarts of Xfce and maybe 5 reboots of the 
machine hoping that it would refresh and load the .desktop file to put 
the entries on the menu under "Office". As of yet, there are no entries 
or even an "Office" category on the Xfce menu.

Here is what the .desktop file I created looks like:

-------------------------------------------
openoffice.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=OpenOffice
Comment=Office Suite
Exec=openoffice-2.0.RC3
Icon=/usr/X11R6/share/icons/appicons/openoffice.png
Terminal=false
Type=Application
Categories=Application;Office;
--------------------------------------------

That is basically just copied from another one that worked and edited to 
fit OpenOffice.

Here is one of the ones that OO includes in it's install:

--------------------------------------------
draw.desktop:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Terminal=false
Icon=openofficeorg-20-draw
Type=Application
InitialPreference=2
Categories=Application;Office;X-Red-Hat-Base;X-SuSE-Core-Office;
Exec=openoffice.org-2.0 -draw %U
MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.$
Name=OpenOffice.org 2.0 Draw
Comment=Create and edit drawings, flow charts, and logos by using Draw.
Comment[en]=Create and edit drawings, flow charts, and logos by using Draw.

[translations follow]
--------------------------------------------

I'm not sure what's wrong here. The syntax in both looks correct. I've 
emptied the cache in ~/.cache/xfce4/desktop/ with no luck.

Thanks in advance.

-Mark



More information about the Xfce mailing list