This forum has been archived. All content is frozen. Please use KDE Discuss instead.

What is the algorithm of Krunner application selection?

Tags: None
(comma "," separated)
User avatar
pavel
Registered Member
Posts
134
Karma
1
OS
I have installed Netbeans through its installer in my KDE 4.5 (openSuSE 11.3). It appeared in main menu as NetBeans IDE 6.9. But I cannot start it through KRunner: neither typing netbeans, nor NetBeans IDE 6.9.

How to force KRunner to start Netbeans?


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
google01103
Manager
Posts
6668
Karma
25
open the kmenu editor and find the entry for netbeans and determine what the actual executable used is

there are a number of reasons it may not work with krunner:
- path to executable isn't in the search path of krunner
- actual name of executable is different then what you expect
- it's a jar and must be executed "java -jar xxxxx.jar"


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
pavel
Registered Member
Posts
134
Karma
1
OS
Commandline is /usr/local/netbeans-6.9/bin/netbeans. This is, of course out of KRunner search, bu I think KRunner should seek for application name, which is NetBeans IDE 6.9 and suggest it to me, when I type netb. Am I right?


pavel, proud to be a member of KDE forums since 2008-Dec.
User avatar
google01103
Manager
Posts
6668
Karma
25
seems to me this is a packaging issue in that the executable should be in either /usr/bin/ or /usr/local/bin or course maybe they do this so multiple versions can be installed

why did you use the netbeans installer instead of your distro's? then it might have worked as expected - wait, because openSuse only has 6.8

you'd have to ask one of the developers why krunner doesn't seek (you could file a bug report)


OpenSuse Leap 42.1 x64, Plasma 5.x

pinotree
KDE Developer
Posts
222
Karma
7
OS
pavel wrote:Commandline is /usr/local/netbeans-6.9/bin/netbeans.

In a console, execute:
Code: Select all
echo $PATH

Does "/usr/local/netbeans-6.9/bin" appear in that list of directories?

Can you please also do
Code: Select all
find /usr/local/netbeans-6.9 -name \*.desktop
?


Pino Toscano


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]