Created attachment 181211 [details] with krunner it does not start, but with the menu it does SUMMARY KRunner does not execute custom added applications, while the menu does STEPS TO REPRODUCE 1. Open menu editor and add new entry 2. Add this kind of configuration [Desktop Entry] Comment= Exec=/home/username/.godot/4.4.1/godot GenericName=A 2D and 3D Game Engine Icon=/home/username/.godot/icon.png Name=Godot 4.4.1 (C#/.NET) NoDisplay=false Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-KDE-SubstituteUID=false X-KDE-Username= 3. Try to start it using krunner OBSERVED RESULT Krunner closes, but does not start, or at least it seems, the application EXPECTED RESULT The application should start just like in the menu SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0 Kernel Version: 6.14.6-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 7 9800X3D 8-Core Processor Memory: 64.9 GB of RAM Graphics Processor 1: AMD Radeon RX 7900 XT Graphics Processor 2: AMD Radeon Graphics ADDITIONAL INFORMATION A recording can be found as a attachment. Other applications start through krunner
can you run `krunner --replace` in a terminal window and try again? Then see if anything suspicious is printed to the terminal window when you attempt to use KRunner to launch this app and it fails. Thanks!
Created attachment 181277 [details] krunner replace
(In reply to Nate Graham from comment #1) > can you run `krunner --replace` in a terminal window and try again? Then see > if anything suspicious is printed to the terminal window when you attempt to > use KRunner to launch this app and it fails. > > Thanks! There seems to be no output at all. I've recorded it. Here and added the video to the attachments
Darn. Thanks for trying anyway! Does the same thing happen using the Kickoff application launcher/start menu? Or is it specific to only KRunner itself?
(In reply to Nate Graham from comment #4) > Darn. Thanks for trying anyway! > > Does the same thing happen using the Kickoff application launcher/start > menu? Or is it specific to only KRunner itself? Unfortunately I had to reinstall my computer, so I can no longer test things. I'll try to reproduce it. However to answer your question: In every other menu the application was just started fine. Only when calling through KRunner nothing happened. Note that other applications worked within KRunner...
(In reply to chniucg from comment #5) > (In reply to Nate Graham from comment #4) > > Darn. Thanks for trying anyway! > > > > Does the same thing happen using the Kickoff application launcher/start > > menu? Or is it specific to only KRunner itself? > > Unfortunately I had to reinstall my computer, so I can no longer test > things. I'll try to reproduce it. > However to answer your question: In every other menu the application was > just started fine. Only when calling through KRunner nothing happened. Note > that other applications worked within KRunner... I could reproduce the issue, by doing the stuff I did before
Hi - just to double-check, is this issue occurring with any application entries that were created using the Menu Editor, or was it only specific ones? If it was the latter, are there examples you could share of ones that did work? Thanks!
(In reply to John Kizer from comment #7) > Hi - just to double-check, is this issue occurring with any application > entries that were created using the Menu Editor, or was it only specific > ones? If it was the latter, are there examples you could share of ones that > did work? > > Thanks! It has only happened with godot. Here is my desktop file: [Desktop Entry] Comment= Exec=/home/ivo/.godot/godot GenericName=A 2D and 3D Game Engine Icon=/home/ivo/.godot/godot.png Name=Godot 4.4.1 (C#/.NET) NoDisplay=false Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-KDE-SubstituteUID=false X-KDE-Username=
Thanks! And do you have an example you could share of an entry you've created in the menu editor that does launch successfully through Krunner?
Created attachment 181527 [details] Menu Editor Entry
(In reply to John Kizer from comment #9) > Thanks! And do you have an example you could share of an entry you've > created in the menu editor that does launch successfully through Krunner? Here you go: [Desktop Entry] Comment= Exec=/home/ivo/test.sh Name=Test NoDisplay=false Path= PrefersNonDefaultGPU=false StartupNotify=true Terminal=true TerminalOptions= Type=Application X-KDE-SubstituteUID=false X-KDE-Username= I've also added screenshots of the entries inside the menueditor
Created attachment 181528 [details] Menu editor working
Is it possible Kruenner requires the execute bit on the file?
(In reply to Kai Uwe Broulik from comment #13) > Is it possible Kruenner requires the execute bit on the file? The file is executable: ➜ 4.4.1 la total 123M -rw-r--r-- 1 ivo users 112 19. May 18:19 blender -rwxr-xr-x 1 ivo users 123M 26. Mar 08:42 godot drw-r--r-- 4 ivo users 4,0K 26. Mar 01:40 GodotSharp and it does launch when using the default launcher or executing the desktop file manually. Only krunner does not execute it
Thanks - this seems to be a tricky one!
(In reply to John Kizer from comment #15) > Thanks - this seems to be a tricky one! This issue is reproducible in the 6.4 beta. I can also reproduce it after reinstalling my OS.