VirtualBox

Opened 18 years ago

Closed 15 years ago

Last modified 15 years ago

#381 closed defect (fixed)

Linux desktop entry is broken

Reported by: mariuss Owned by:
Component: installer Version: VirtualBox 1.4.0
Keywords: Cc:
Guest type: other Host type: Linux

Description

The desktop entry file that gets installed to: /usr/share/applications/VirtualBox.desktop

Is broken and as a result no menu entry shows up under Applications / System Tools.

I am using Ubuntu Feisty, i386.

As a workaround you can start VirtualBox from the command line with: $ VirtualBox

I attached a .desktop file which does work for me. Please note:

  • Encoding key is obsolete, not needed
  • Version is dead wrong, it needs to be 1.0, the version of the .desktop entry standard, not the version of the product
  • No need for TryExec afaik
  • No such thing as DocPath
  • No need for empty Path
  • Categories should be just System (Application, Emulator and X-MandrivaLinux_System are not valid, at least in Ubuntu)

See: http://code.google.com/p/ant-deb-task/wiki/Reference

Attachments (1)

VirtualBox.desktop (195 bytes ) - added by mariuss 18 years ago.

Download all attachments as: .zip

Change History (9)

by mariuss, 18 years ago

Attachment: VirtualBox.desktop added

comment:1 by Frank Mehnert, 18 years ago

Thanks for these hints. Actually we use the same .desktop file for every distribution we provide, therefore the mandriva entries -- which shouldn't hurt since unknown categories are ignored, right?

comment:2 by Frank Mehnert, 18 years ago

I just installed VirtualBox 1.4.0 on Ubuntu Feisty and indeed there was a menu entry under "Applications / System Tools". Nevertheless we will consider some of your hints.

BTW: DocPath is a KDE extension and recognized by some distributions.

in reply to:  1 comment:3 by mariuss, 18 years ago

Replying to frank:

Thanks for these hints. Actually we use the same .desktop file for every distribution we provide, therefore the mandriva entries -- which shouldn't hurt since unknown categories are ignored, right?

Yes, many .desktop files have tons of non-standard categories, so they are ignored for sure. Since there is a finalized standard for these categories I think it is a good idea to stick with it. But if Mandriva really needs this extra category I guess is fine.

in reply to:  2 comment:4 by mariuss, 18 years ago

Replying to frank:

I just installed VirtualBox 1.4.0 on Ubuntu Feisty and indeed there was a menu entry under "Applications / System Tools". Nevertheless we will consider some of your hints.

You are right, eventually it did show up in the menu, but only after a reboot for me. So something is fishy with it for sure. The desktop entry I attached showed up right away.

BTW: DocPath is a KDE extension and recognized by some distributions.

I see, I did not know that. Breaking the standard again, but if it is needed...

comment:5 by Frank Mehnert, 17 years ago

Host type: otherLinux

comment:6 by Frank Mehnert, 17 years ago

Component: otherinstaller

comment:7 by Technologov, 15 years ago

Too old.

mariuss: Please retry with 3.1.0

-Technologov

comment:8 by Sander van Leeuwen, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette