Skip to content

ParrotSec/parrot-menu

Repository files navigation

Providing Parrot specific desktop files
---------------------------------------

You can add as many desktop files as you want in the desktop-files
sub-directory. Each desktop file must have an entry "X-Parrot-Package=foo"
where foo is the name of the binary package that is associated to this
desktop file. Note that you can associate multiple binary packages to
the same desktop file if needed, just put a space-separated list of
packages in the X-Parrot-Package field.

Those desktop files will be installed in /usr/share/applications
by update-Parrot-menu as soon as the corresponding package is installed. And
they will be removed afer the corresponding package has been removed.

If you want to override an existing desktop file instead of adding a new
one, make sure to reuse the same filename. When Parrot-menu detects the
conflict, it will transparently use dpkg-divert to move away the official
desktop file and put the Parrot one in place.

It's possible to remove/hide an existing desktop file, by overriding it and
adding "NoDisplay=true" to the overridden desktop file.