Bug 171723 - 'Run in terminal' option in Minicli uses Konsole instead of my terminal of choice (urxvt)
Summary: 'Run in terminal' option in Minicli uses Konsole instead of my terminal of ch...
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-27 03:53 UTC by Jacek Roszkowski
Modified: 2008-12-10 20:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Roszkowski 2008-09-27 03:53:49 UTC
Version:            (using KDE 3.5.10)
Compiler:          gcc version 4.3.2 (GCC) 
OS:                Linux
Installed from:    Unlisted Binary Package

My terminal of choice is urxvt and it is set in kcontrol as my default terminal emulator, but when I use the Execute Command applet (Alt+F2) it ignores this selection and falls back to the default (Konsole), which is hard-coded in kdesktopsettings.cc.

I think it's because the line

itemTerminalApplication = new KConfigSkeleton::ItemPath( currentGroup(), QString::fromLatin1( "TerminalApplication" ), mTerminalApplication, QString::fromLatin1( "konsole" ) );

is in the wrong place. It is preceded by line

setCurrentGroup( QString::fromLatin1( "Mouse Buttons" ) );

So it searches for "TerminalApplication" entry in "Mouse Buttons" group, which doesn't make much sense.

Workaround:
You must insert line:

TerminalApplication=your_term_of_choice

in ~/.kde/share/config/kdesktoprc file inside the [Mouse Buttons] group

Expected Behaviour:
kdesktop should respect TerminalApplication entry in ~/.kde/share/config/kdeglobals made by kcontrol.
Comment 1 FiNeX 2008-12-10 14:02:03 UTC
Is this interesting for the new krunner?
Comment 2 Aaron J. Seigo 2008-12-10 20:02:11 UTC
no, it's not. we use KToolInvocation::invokeTerminal which Does The Right Thing(tm).

i'm really not sure moving reports from minicli to krunner makes any sort of real sense since they are *completely different applications*. it's like moving reports between kolourpaint and krita because they both happen to be paint apps =P
Comment 3 FiNeX 2008-12-10 20:18:52 UTC
Yes, I'm overusing bugzilla, but in this way I've got a fantastic feedback :-) :-) :-)