https://bugs.kde.org/show_bug.cgi?id=524380
Bug ID: 524380
Summary: [Feature Request] Use KTerminalLauncherJob to respect
system default terminal instead of hardcoded Konsole
Classification: Applications
Product: krusader
Version First 2.9.0
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
Currently, Krusader relies on a hardcoded call/default for konsole when
triggering the external terminal action ("F9 Terminal"). As a result, it
ignores the system-wide default terminal configured in KDE System Settings
(e.g., Alacritty, Kitty, Foot, WezTerm).
If Konsole is not installed on the system, the external terminal action fails
with an error, even if a valid default terminal is set and works natively in
Dolphin.
EXPECTED BEHAVIOR
Krusader should respect the user's system-wide default terminal application,
ensuring a consistent experience with Dolphin and other modern KDE Frameworks
applications.
PROPOSED SOLUTION
Migrate the external terminal invocation logic to KTerminalLauncherJob provided
by KIO (#include <KTerminalLauncherJob>).
A simple example of invoking the terminal:
/* C++ code -----------------------------------------------------------------
*/
auto *job = new KTerminalLauncherJob(QString());
job->setWorkingDirectory(currentPath);
job->setAutoDelete(true);
job->start();
/*
-------------------------------------------------------------------------------
*/
BENEFITS
Alignment with modern KDE Frameworks standards (consistent with Dolphin).
Native support for non-Konsole default terminals (Alacritty, Kitty, etc.)
without requiring users to manually rewrite execution flags in Krusader
settings.
Clean fallback handling managed entirely by KIO.
--
You are receiving this mail because:
You are watching all bug changes.