#650 Application launcher menu corrupted by QGIS2 .desktop file

None
closed-fixed
menu-cache (19)
5
2014-10-22
2014-05-22
megalithic
No

Hello, I installed QGIS2 from the OpenSuse 13.1 Geo repository. The application works fine but in doing this it wiped / corrupted half my LXDE app launcher menu.

I now only have Accessories, Development, Education, Games, Graphics, Run and then Logout at the bottom.

QGIS has been added to the app launcher menu in Graphics but it's at the bottom and all the graphics apps after Q are missing.
This would suggest that something QGIS has added is upsetting the menu launcher parser

I traced this to the qgis2.desktop file which is created like this

cat /usr/share/applications/qgis2.desktop

[Desktop Entry]
X-SuSE-translate=false
Encoding=UTF-8
Name=QGIS 2.2
GenericName=Geographic Information System
Comment=
Exec=qgis
Icon=qgis.png
Terminal=false
Type=Application
Categories=Graphics;Viewer;

I found that if I delete the line Type=Application and save then all the launcher menu options come back again and all is fine.

I don't get this problem in KDE or XFCE. The above .desktop file looks correct to me and I believe Type=Application is an allowable option so I don't know why lxpanel doesn't like this.

Many Thanks

Discussion

  • megalithic
    megalithic
    2014-05-28

    I did an automatic software update and the problem has come back. I solved it by deleting the Comment= line from qgis2.desktop

     
  • I'm sure this was a problem in menu-cache and it is fixed in 1.0.0~rc1 version. Upgrade it when possible and your issue will be fixed. Thank you very much!

     
    • labels: menu .desktop, lxpanel --> menu-cache
    • status: open --> closed-fixed
    • assigned_to: Lonely Stranger