It’s a reasonable expectation, but that’s now how altercate works. To be honest I’ve never bothered with it. It feels like it maybe doesn’t get much attention. With GNOME 3 there isn’t even a menu with applications on by default anyway. There’s an Application menu in GNOME Classic mode, but GNOME Classic Mode exists because of negative feedback about GNOME 3. GNOME 3 wasn’t designed with having an application menu in mind, or icons on the Desktop. (Select ‘GNOME’ as the login session to see what I mean.)
If you want something to appear in the Accessories submenu you need to specify relevant Categories in to the .desktop file. And figure out what relevant Categories are. One crude way would be to look at the .desktop file for something already in Accessories, e.g. Calculator, then copy it’s Categories:
mike@linux-pgyf:~> grep ^Name=Calculator /usr/share/applications/*desktop
mike@linux-pgyf:~> grep ^Categories= /usr/share/applications/gnome-calculator.desktop
Though clearly you don’t want to copy the Calculator category. Unless you’re making a custom launcher for some sort of calculator. A better way to figure it out is to look at the file /etc/xdg/menus/gnome-applications.menu In there there’s a section which reads
blah blah cut
So from that we can see that something with category Utility will appear in the Accessories menu. (As illogical as that may sound given existence of a Utilities sub-menu.) So if I change the .desktop file created with alacarte that I posted earlier to
mike@linux-pgyf:~> cat ~/.local/share/applications/alacarte-made.desktop
it now shows up until the Accessories menu. As far as I can see, altercate doesn’t provide a way to specify categories.
Where would you put an invalid entry and what about it would make it invalid?
I love Linux for servers but I’m not cut out for these new desktops. Seem to be a step backwards to do the most basic of things. So much effort to create a shortcut right? Maybe I should try KDE?
You could try KDE. It’s not included in SLED though. It’s included in openSUSE.
Thanks for your solutions - I think I might just keep a template on stand by for when I need a shortcut. lol- makes sense for if-cfg-* not so much for a shortcut instantiation.
Once again - thanks for your reply.[/QUOTE]
BTW, what you’re referring to is commonly called launchers. Or just .desktop files. They’re not the same as shortcuts in Microsoft Windows. You wouldn’t use them to create a shortcut on your Desktop to a file you commonly use but which lives elsewhere, like you would use a shortcut in Windows for.