work on any debian based distribution.
I have programmed a linux application. Currently it's only available as a portable but i want to
also distribute it als a .deb Package.
Everything works except i want the .deb package to automatically create my own folder in the start menu
and a program launcher in that folder. So i tried...
Creating a MyTestFolder.directory in /usr/share/desktop-directories with the following content:
Code: Select all
[Desktop Entry]
Name=MyTestFolder
Comment=My Test Folder Description
Icon=applications-office
Type=Directory
Code: Select all
[Desktop Entry]
Icon=/usr/share/icons/program_folder_name/the_icon.png
Exec=/usr/local/bin/"program folder name"/the_program.sh
Type=Application
Categories=MyTestFolder;
Name=Program Name
Comment=Short Program Description
Keywords=Program;Name;
desktop-file-validate output:
Code: Select all
/usr/share/applications/Program Name.desktop: error: value "MyTestFolder;" for key "Categories" in group "Desktop Entry" contains an unregistered value "MyTestFolder"; values extending the format should start with "X-"
/usr/share/applications/Program Name.desktop: hint: value "MyTestFolder;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
Code: Select all
/usr/share/applications/Program Name.desktop: hint: value "X-MyTestFolder;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
At this point im desperate and dont know what to do anymore.
Why doesn't this crap work?
Can anybody help?
I attached the latest version of my .deb package which you can "decompile" using:
Code: Select all
dpkg-deb -x ./path/to/test.deb ./path/to/destination
I already successfully created a entry in the standard "Office" category. That's not a problem.
The problem is creating my own category instead of using a standard one like "Office".
Deb File Download: https://easyupload.io/lcijn9