On 1/6/22 17:44, Michael Hennebry wrote:
What is the magic spell to get an application to show up on gnome's menu?

I've gone by an example on the internet and came up with this:
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Tomato
Comment=Tomato
Icon=org.gnome.Terminal
Exec=/home/hennebry/bin/tomato.sh
# Terminal=true
Categories=GNOME;GTK;System;TerminalEmulator;

I tried it as ~/.local/share/applications/wtf.desktopĀ  .
It doesn't work as /usr/share/applications/wtf.desktop either.

I do not mean that it craps out.
It just does not show.
Not if I restart gnome.
Not even if I reboot.

You don't need to do either of those. Gnome automatically detects changes. The most likely issue is that the .sh file either doesn't exist or isn't executable. That desktop file works for me with an adjusted Exec line. I don't have Application menus, so I don't know where it would show up in that case.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to