SUMMARY I have compiled vkQuake and would like to add it to the applications launcher. I have added a new entry with the KDE Menu Editor, with Command field set to "/media/langley/Constellation/vkQuake/Quake/vkquake". However when trying to open it in the menu, it just opens a tab in the panel bar that disappears immediately again; vkQuake doesn't launch. vkQuake launches fine from terminal or Dolphin. STEPS TO REPRODUCE 1. Compile vkQuake as per their instructions 2. Add it to the KDE Menu Editor 3. Try to open it from menu; it doesn't open OBSERVED RESULT Doesn't open EXPECTED RESULT Program opens SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon 5.16 KDE Plasma Version: 5.16.1 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.3 ADDITIONAL INFORMATION Have also tried adding this file: https://build.opensuse.org/package/view_file/openSUSE:Factory/vkquake/vkquake.desktop?expand=1 to ~/.local/share/applications/, it doesn't even show up in the menu (even after running kbuildsycoca5 or rebooting)
(In reply to don.vhs from comment #0) > Have also tried adding this file: > https://build.opensuse.org/package/view_file/openSUSE:Factory/vkquake/ > vkquake.desktop?expand=1 to ~/.local/share/applications/, it doesn't even > show up in the menu (even after running kbuildsycoca5 or rebooting) The reason for this is probably simple: that .desktop file contains a "TryExec=vkquake" line, which means it's only displayed if vkquake actually exists, but it likely doesn't find it in your custom path. Removing the TryExec line should make it appear (though it won't start either). > I have compiled vkQuake and would like to add it to the applications launcher. > I have added a new entry with the KDE Menu Editor, with Command field set to > "/media/langley/Constellation/vkQuake/Quake/vkquake". However when trying to > open it in the menu, it just opens a tab in the panel bar that disappears > immediately again; vkQuake doesn't launch. TBH, this doesn't sound like a bug in kmenuedit (or anything KDE) to me... Maybe you'd need to cd into its directory first? Try to set the "Working Directory" on the Advanced tab.
Thank you, setting the Work Path solved it.