I have made a desktop item in /usr/share/applications which reads:
[Desktop Entry]
Encoding=UTF-8
X-SuSE-translate=false
Type=Application
Name=mjpg-streamer
GenericName=Webcam Streamer
Comment=Streams JPEG files from the webcam to a viewer
Categories=AudioVideo;WebcamStreamer;
Exec=/bin/bash -i -- /usr/bin/mstreamer gui
Icon=webcamsend
StartupNotify=true
Terminal=false
The application launcher menu is in traditional menu style. The application is presented in level 3 of the menu tree (when level 1 is the top level, leftmost column):
Multimedia → Other Programs → mjpg-streamer
I want to have it appear within the list of serveral programs shown in level 2. How can I do that?
Hi
Easiest way is to use the menu configuration editor (alacarte for
Gnome, not sure what it’s called for KDE), then manually add it and
look at the resulting desktop file.
Thanks for both answers, which were very helpful. I finally got it straight looking at some examples. The problem was that “Categories=AudioVideo;Player;” ends up in the Audio Player section (as does MPlayer and others) where it should rather be in the Video Player section. The solution is “Categories=AudioVideo;Player;Video;”.
I will now pop up in the OBS forum again for some remaining questions.