Menu

#1 Desktop menu entry does not meet xdg specification

open
nobody
None
5
2010-07-15
2010-07-15
Andy Piper
No

I installed outRec on Ubuntu 10.04 per the instructions on the OMG!Ubuntu! blog and then went looking for it. I expected to find it in the Sound & Video menu, but it appeared in the Other menu.

I validated the .desktop file and it does not use a valid category:

andyp@agrippa:~$ desktop-file-validate /usr/share/applications/outrecen.desktop
/usr/share/applications/outrecen.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
/usr/share/applications/outrecen.desktop: error: (will be fatal in the future): value "Audio" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: AudioVideo

So you should update the .desktop file to match the xdg specification.

Discussion

  • L L

    L L - 2010-07-16

    The package is automatically made by Gambas and it only put any program in that category (Others). About the desktop file, you can make a launcher with the following command: outrecEN.gambas

    I'll fix those and other things for the next version.

     
  • Andy Piper

    Andy Piper - 2010-07-16

    I just ran through the packaging wizard in the Gambas IDE and it lets me choose a Menu Entry category of AudioVideo so this should be easy to fix?

     
  • L L

    L L - 2010-07-16

    When you finish the wizard and install the .DEB it works? Because I have
    tried many times and nothing happen. Let me know.

    PD: Sorry for the grammatical errors in the last comment

     
  • Andy Piper

    Andy Piper - 2010-07-16

    Yes, it works for me. I can download the tar, clean it up, build the exe, run the packaging wizard, and set the Category in the Desktop file to AudioVideo. One thing I did though was change the category of the previous page to GNOME from Sound though. Anyway I have a version installed that is in the correct desktop category and shows up in the right menu.

     

Log in to post a comment.

MongoDB Logo MongoDB