You are not logged in.
Pages: 1
Hi, I have a problem with the application menu. I want to add Matlab to the Education category in the Whisker Menu but this does not show up. I have never seen Education category maybe because no installed app is under that category.
I am on Debian 10 and xfce 4.12.5
This is cat /usr/share/applications/matlab.desktop
[Desktop Entry]
Version = R2020a
Type = Application
Terminal = false
Name = Matlab
MimeType= text/x-matlab
Exec = /usr/bin/matlab -desktop
Icon = /usr/local/MATLAB/R2020a/bin/glnxa64/cef_resources/matlab_icon.png
Categories = Education;Science;
StartupNotify = true
Last edited by Elment9_9 (2020-03-24 16:40:35)
Offline
Hello and welcome to the forum!
Is that space in:
Exec = /usr/bin/matlab -desktop
a typo? Maybe you have to enclose the command in quotes? Like:
Exec = "/usr/bin/matlab -desktop"
Not really sure... Other than that, the matlab.desktop file looks right, it should work.
If you have MenuLibre installed, you can right click on the Whisker Menu icon and edit the desktop files and categories with a GUI. There's a setting to hide/unhide items (categories too), so you could check if anything's off with a simple look.
Tell us how it's going, and welcome again.
Offline
Thank you for your answer. In Menulibre the switch "hide from menu" is disabled but the category does not appear. However I have seen that there is no app in that category and that even Games section is empty with the switch disabled and does not appear in the menu. So I think the problem is that the .desktop file doesn't work.
Creating a launcher with Menulibre "solved" the problem.
Should I put the Solved tag even if this is more a workaround then a solution?
Offline
Should I put the Solved tag even if this is more a workaround then a solution?
Haha, not sure, your call.
You could add a "Worked around" tag lol
Offline
Just throwing this out there.
None of my desktop files have spaces around the = sign. Also, any that have version always use version=1.0
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 528.07 KiB (Peak: 530.98 KiB) ]