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

Krunner not working

Tags: None
(comma "," separated)
iclestu
Registered Member
Posts
4
Karma
0
OS

Krunner not working

Wed Oct 19, 2011 7:29 pm
Hey, wondering if any of you guys can help me.

Since I upgraded Kubuntu, I can no longer bring up krunner with Alt-F2 on my netbook.

I checked the global shortcuts and it says ALT-F2 is associated with 'Run Command'

I brought up a konsole and typed

Code: Select all
krunner


and got this output:

Code: Select all
krunner(2189)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/stewart/.kde/share/apps/kabc"
QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.
I/O warning : failed to load external entity "/home/stewart/.qalculate/eurofxref-daily.xml"
I/O warning : failed to load external entity "/home/stewart/.qalculate/eurofxref-daily.xml"
krunner(2189)/libplasma Plasma::Package::isValid: Could not find required file mainscript


Googling sections of this revealed little.

Any help anyone can provide would be most welcome.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Krunner not working

Wed Oct 19, 2011 8:04 pm
rename ~/.kde/share/config/krunnerrc and try

can you create a new user and try as that user to determine if your config or the KDE upgrade


OpenSuse Leap 42.1 x64, Plasma 5.x

iclestu
Registered Member
Posts
4
Karma
0
OS

Re: Krunner not working

Sat Oct 22, 2011 7:25 am
Hey,

Thanks for taking an interest.

I had previously misunderstood the problem. When I first boot up, I cannot access krunner. However AFTER running

Code: Select all
krunner


in konsole and getting the above error messages, I CAN access it through alt+f2. (Apologies, I never thought to try it after the command 1st time round because I just assumed that it hadnt worked with those errors).

Also, if I key
Code: Select all
krunner
a second time, it just pops up without the errors.

Keying Alt+f2 several times after initial boot up does nothing.

deleting the config file has no effect and similarly with a temp user account. I have also re-installed (including a format of the partition) Kubuntu recently but still have the issue.

Any ideas would be most welcome?
iclestu
Registered Member
Posts
4
Karma
0
OS

Re: Krunner not working

Sat Oct 22, 2011 7:29 am
Maybe as a workaround I could have the system run the command

Code: Select all
krunner


on start-up?
User avatar
Wizard
Registered Member
Posts
99
Karma
0
OS

Re: Krunner not working

Sat Oct 22, 2011 9:33 am
Yeah, you could add it to the session, btw, it should be there by default. Check system settings → startup and shutdown → automatic start
flan_suse
Registered Member
Posts
41
Karma
0
OS

Re: Krunner not working

Sat Oct 22, 2011 2:31 pm
I recently had a similar issue, as the OP, but here is what I did to fix it.

For some reason, I had duplicate startup entries for krunner.destop and plasma-desktop.desktop in my ~/.kde4/share/autostart folder. I call these "duplicates" because they are found under the global /usr/share/autostart/ folder.

Check and see if you have such .desktop files under the following folders:

~/.kde4/share/autostart/
~/.config/autostart/
~/.kde4/Autostart/

If you see krunner.destop, plasma-desktop.desktop, or plasma-netbook.desktop under the above listed folders, remove them. Ignore other .desktop files that you might have manually created or configured yourself.

To play it safe, make sure you see krunner.desktop under the /usr/share/autostart/ folder.

Now log out and log back in, and see if it fixes the issue you were having.

Keep in mind that any entries located under /usr/share/autostart/ will not show up in Settings > Startup and Shutdown > Autostart

As for the keyboard shortcuts not working, they depend on the krunner service, which is why, ironically, ALT + F2 did not work. It's the same reason my other keyboard shortcuts did not work either, until I did the above fix for myself.
flan_suse
Registered Member
Posts
41
Karma
0
OS

Re: Krunner not working

Sat Oct 22, 2011 2:49 pm
This is a followup to my above post. I thought it would help to show the contents of my /usr/share/autostart/krunner.desktop file:

Code: Select all
[Desktop Entry]
X-SuSE-translate=true
Exec=krunner
X-DBUS-StartupType=none
Name=Command Runner
Type=Service
X-KDE-StartupNotify=false
OnlyShowIn=KDE;
X-KDE-autostart-phase=1


I removed the long list of translated names, since it would make this page too long to scroll down.
User avatar
NickElliott
Registered Member
Posts
258
Karma
3
OS

Re: Krunner not working

Mon Oct 24, 2011 10:47 pm
Krunner is just one of the things that broke on my system after I upgraded from Kubuntu 11.04 to 11.10 - I think the upgrade script was not as robust as it could have been.

The fix was a clean install and re-build from backups, time consuming but my system is MUCH better for it and Kmail is working properly (the KDE migration tool to Kmail2 didn't work well either).


NickElliott, proud to be a member of KDE forums since 2008-Oct.
User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS

Re: Krunner not working

Wed Dec 07, 2011 5:58 pm
i have the same problem
plasma-netbook
mageia 1 kde 4.6.5

i went to autostart menu , and i see that there is an entry krunner:desactivated so i check it to switch it to activated
i did nt do a such setting, maybe when we have plasma-netbook shell it happens automatically


«The magic continues...»
http://www.mageia.org
Image


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]