Doesn't appear in Hardy's Applications menu

Bug #195933 reported by Stephen Drake
6
Affects Status Importance Assigned to Milestone
subtitleeditor (Debian)
Fix Released
Unknown
subtitleeditor (Ubuntu)
Fix Released
Low
Stephan Rügamer

Bug Description

Binary package hint: subtitleeditor

I've installed subtitleeditor on Hardy Heron Alpha 5 and it doesn't appear in the Gnome Application menu.

After looking at the /usr/share/applications/subtitleeditor.desktop file I can see that it has a mistake in the Type line. It should be Type=application, not Type=audio because this is not a valid entry according to the freedesktop.org spec.

The icon value is also wrong. It should be Icon=subtitleeditor.png

Tags: bitesize
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

There appears to be two different .desktop files:

subtitleeditor-0.20.0/debian

[Desktop Entry]
Encoding=UTF-8
Name=Subtitle Editor
GenericName=Subtitle Editor
Comment=A subtitle editor based to GStreamer and Gtk+
Exec=subtitleeditor
Terminal=false
Type=Audio
Icon=subtitleeditor-icon.png
Categories=Audio;AudioVideo;AudioVideoEditing;
StartupNotify=true

subtitleeditor-0.20.0/share

[Desktop Entry]
Encoding=UTF-8
Name=Subtitle Editor
GenericName=Subtitle Editor
Comment=A subtitle editor based to GStreamer and Gtk+
Exec=subtitleeditor
Terminal=false
Type=Application
Icon=subtitleeditor
Categories=GNOME;GTK;Application;AudioVideo;
StartupNotify=true

Changed in subtitleeditor:
status: New → Confirmed
Changed in subtitleeditor:
importance: Undecided → Low
Revision history for this message
Paul Martrenchar (pmartrenchar) wrote :

Here is a debdiff to fix it.

It changes both .desktop files, and it works on my computer.

May the Ubuntu Sponsors for universe team add it to the depot.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Thanks for the debdiff. A couple of notes.

You shouldn't patch the source outside of the debian directly, you should use debian/patches for that. (See here for information on that: https://wiki.ubuntu.com/PackagingGuide/PatchSystems ) In this case though it might not be necessary to touch that file at all. If the .desktop file in /debian is the one that is being installed , you should only have to fix that.

Also I think that the Categories field in the .desktop file in /debian better as it is. I think all you need to fix is the Type and Icon fields:

[Desktop Entry]
Encoding=UTF-8
Name=Subtitle Editor
GenericName=Subtitle Editor
Comment=A subtitle editor based to GStreamer and Gtk+
Exec=subtitleeditor
Terminal=false
Type=Application
Icon=subtitleeditor
Categories=Audio;AudioVideo;AudioVideoEditing;
StartupNotify=true

Revision history for this message
Paul Martrenchar (pmartrenchar) wrote :

thanks for the advice.

Here is a cleaner version of the patch. It works on my hardy.

May the Ubuntu Sponsors for universe team add it to the depot.

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

@Andrew: I don't know where you got it , but packages without a patch system shouldn't introduce a new build-dep on a patch system.
diff.gz is enough for that...

Changed in subtitleeditor:
assignee: nobody → shermann
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package subtitleeditor - 0.20.0-1ubuntu1

---------------
subtitleeditor (0.20.0-1ubuntu1) hardy; urgency=low

  * debian/*.desktop:
    - fixed desktop file to show up in gnomes app menu. (LP: #195933)
    - Thx to Paul Matrenchar for the initial fix, but I had to redo some of
      the fixes to be desktop-file-validate compliant.
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

 -- Stephan Hermann <email address hidden> Mon, 07 Apr 2008 09:01:53 +0200

Changed in subtitleeditor:
status: Confirmed → Fix Released
Changed in subtitleeditor:
status: Unknown → New
Changed in subtitleeditor:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.