mate-desktop / mate-media

Media tools for MATE
https://mate-desktop.org
GNU General Public License v2.0
19 stars 25 forks source link

Fix desktop file validation warnings #171

Closed rbuj closed 3 years ago

rbuj commented 3 years ago
$ desktop-file-validate ./data/mate-volume-control.desktop
./data/mate-volume-control.desktop: hint: value item "Mixer" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: AudioVideo;Audio
./data/mate-volume-control.desktop: hint: value "AudioVideo;Mixer;Settings;HardwareSettings;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu

https://specifications.freedesktop.org/menu-spec/latest/apas02.html

flexiondotorg commented 3 years ago

@rbuj This change removes Sound from the Control Center.

lukefromdc commented 3 years ago

I can confirm that sound does not now appear in mate-control-center

rbuj commented 3 years ago

We can add a new rule in mcc: https://github.com/mate-desktop/mate-control-center/pull/665

rbuj commented 3 years ago

Or only display the sound menu item in system-hardwawe menu panel #176, in order to prevent it from being displayed twice in the main panel menu.