kdeplasma-addons: add TryExec entry for konsolesessions runner

that way if konsole is not installed (for whatever the reason) then the
runner will not be loaded even

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-16 03:17:20 +03:00
parent 5cd80dddb1
commit 0ea6963344
2 changed files with 1 additions and 1 deletions

View file

@ -129,7 +129,6 @@ void KonsoleSessions::run(const Plasma::QueryMatch &match)
QStringList args;
args << QLatin1String( "--profile" );
args << session;
kDebug() << "=== START: konsole" << args;
KToolInvocation::self()->startProgram(QLatin1String("konsole"), args);
}
}

View file

@ -112,6 +112,7 @@ Icon=utilities-terminal
X-KDE-ServiceTypes=Plasma/Runner
Type=Service
TryExec=konsole
X-KDE-Library=krunner_konsolesessions
X-KDE-PluginInfo-Author=Laurent Montel
X-KDE-PluginInfo-Email=montel@kde.org