Bug 408894 - Application added to Applications launcher (start menu) doesn't open
Summary: Application added to Applications launcher (start menu) doesn't open
Status: RESOLVED NOT A BUG
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.16.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-19 02:02 UTC by don.vhs
Modified: 2019-06-23 12:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description don.vhs 2019-06-19 02:02:03 UTC
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)
Comment 1 Wolfgang Bauer 2019-06-21 08:49:49 UTC
(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.
Comment 2 don.vhs 2019-06-23 12:31:20 UTC
Thank you, setting the Work Path solved it.