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

recalling previous krunner calls

Tags: None
(comma "," separated)
User avatar
gdebure
Registered Member
Posts
117
Karma
1
OS

recalling previous krunner calls

Tue Aug 17, 2010 12:36 pm
Hi there,

I recently made the upgrade to 4.5.0 (great work, team, by the way :)), and I have a small issue. I'm using krunner a lot, and was used to recalling previous entries by hitting the "up" key. I can't get this to work in 4.5.0, am I missing something ?

Thanks in advance !

Guillaume


Skrooge, a personal finances manager powered by KDE4
http://skrooge.org
User avatar
google01103
Manager
Posts
6668
Karma
25
do you have text completion on? right click krunner search field to check


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
gdebure
Registered Member
Posts
117
Karma
1
OS
Thanks for the suggestion... tried that, but none of the proposed options seem to work.

Maybe I should start again from a clean config, I have a few of these small issues since upgrading.

Thanks anyway :)


Skrooge, a personal finances manager powered by KDE4
http://skrooge.org
User avatar
google01103
Manager
Posts
6668
Karma
25
"clean config" you mean wipe out ~/.kde4 (or ~/.kde depending)? How about just erasing the krunner rc file and see if that fixes it, much less drastic

~/.kde4/share/config/krunnerrc
there's a folder ~/.kde4/share/apps/krunner (but mine's empty)


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
gdebure
Registered Member
Posts
117
Karma
1
OS
Didn't work either... the file is recreated when starting krunner again, here is what it looks like:

Code: Select all
[EdgePositions]
Screen0=590,0

[General]
PastQueries=\\0

[Interface]
Size=420,309

[PlasmaRunnerManager]
LaunchCounts=1 services_kde4-kopete.desktop,1 windows_0_73400423,1 shell_kgpg,12 services_kde4-dolphin.desktop,2 shell_kdesu systemsettings,2 shell_kmail,14 services_kde4-konsole.desktop,8 services_kde4-kdesvn.desktop,2 services_kde4-konqbrowser.desktop,5 services_kde4-konversation.desktop,1 shell_gwenview,1 windows_0_96469031,11 services_kde4-KMail.desktop,9 services_kde4-rekonq.desktop,3 services_kde4-skrooge.desktop,1 services_kde4-ksysguard.desktop,14 services_kde4-systemsettings.desktop,6 services_kde4-kdevelop.desktop,1 shell_konsole,1 services_kde4-kmix.desktop

[Plugins]
PowerDevilEnabled=true
bookmarksEnabled=true
calculatorEnabled=true
desktopsessionsEnabled=true
killEnabled=true
krunner_kgetEnabled=true
locationsEnabled=true
nepomuksearchEnabled=true
org.kde.windowedwidgetsEnabled=true
placesEnabled=true
plasma-desktopEnabled=true
recentdocumentsEnabled=true
servicesEnabled=true
shellEnabled=true
solidEnabled=true
webshortcutsEnabled=true
windowsEnabled=true


Don't know if that is really useful, though...


Skrooge, a personal finances manager powered by KDE4
http://skrooge.org
User avatar
google01103
Manager
Posts
6668
Karma
25
Since you now have a clean rc file with no past entries the up button has nothing to display when pressed

how about you replace "PastQueries=\\0" with:

PastQueries=klipper,amarok,opera,digikam,kmix,plasma-desktop,kquitapp plasma-desktop,kget,konversation,kalarm,yast,kcalc,parti,nm-tool,knetw,pkill opera,freepopsd,kdesu systemsettings,krandrtray,kinfo,kwrite,amule,virtualbox,dolphin,vlc,krename,nvclock,nvidia-settings,konqueror,smplayer,audex,kdebugdialog,k3b,kaffeine,kuickshow,kid3,SpiderOak,picard,d4x,marble,systemsettings,ksystemlog,pkill klipper,pkill amarok,gwenview,waheela
QueryTextCompletionMode=5


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
gdebure
Registered Member
Posts
117
Karma
1
OS

Re: recalling previous krunner calls

Tue Aug 17, 2010 10:17 pm
Yep, that works :)

However, when I type other entries, they are not added to the history inside the krunnerrc. I don't think it's a permission issue:

Code: Select all
ls -la .kde4/share/config/krunnerrc
-rw------- 1 guillaume users 1596 17 août  23:59 .kde4/share/config/krunnerrc


And I see that the krunner process runs with my account's privileges... I am puzzled :-\

Oh well, night is a good councellor, they say... Thanks again for your help and taking the time :)


Skrooge, a personal finances manager powered by KDE4
http://skrooge.org
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: recalling previous krunner calls

Tue Aug 17, 2010 10:52 pm
there's a history bug and patch: Bug 247566 - "krunner "run command" doesn't keep any history"
https://bugs.kde.org/show_bug.cgi?id=247566

In my testing the history is there, somewhere, but not written to the rc file and not retained after a restart of kde

No idea when the patch will be available, is responsibility of packagers


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
gdebure
Registered Member
Posts
117
Karma
1
OS
Thanks ! Pointed this to the Archlinux community through their forum, hoping they will pick it up :)


Skrooge, a personal finances manager powered by KDE4
http://skrooge.org


Bookmarks



Who is online

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