Bug 511253

Summary: Dolphin fails to open any file in a terminal app if konsole is not installed on non-Plasma desktop environment
Product: [Applications] dolphin Reporter: sd <dassoumadip0705>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dolphin-bugs-null, kdedev
Priority: NOR    
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: CachyOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: error message

Description sd 2025-10-28 06:35:20 UTC
Created attachment 186249 [details]
error message

SUMMARY
If we wanna open any file with a terminal app (eg. neovim), if konsole is not installed, dolphin shows error instead opening it with `$TERMINAL`

STEPS TO REPRODUCE
1.  Right click any file (eg. any shellscript)
2.  select `open with` & select any terminal app (eg. neovim) 

OBSERVED RESULT
Dolphin shows error saying:
`Terminal konsole not found while trying to run /usr/share/applications/nvim.desktop`

EXPECTED RESULT
Dolphin will use `$TERMINAL` variable to open the file with the selected terminal program.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.17.4-4-cachyos (64-bit)
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
N/A
Comment 1 TraceyC 2025-10-28 22:03:08 UTC
I am unable to reproduce this bug in Dolphin with Plasma, all built from git-master by setting my default terminal to Ghostty
I chose a shell script in Dolphin and opened with Neovim. It brought up the file in NeoVim in Ghostty 

What do you have set for "Terminal emulator" In System Settings - Default Applications?
Comment 2 sd 2025-10-30 16:15:48 UTC
(In reply to TraceyC from comment #1)
> I am unable to reproduce this bug in Dolphin with Plasma, all built from
> git-master by setting my default terminal to Ghostty
> I chose a shell script in Dolphin and opened with Neovim. It brought up the
> file in NeoVim in Ghostty 
> 
> What do you have set for "Terminal emulator" In System Settings - Default
> Applications?

Ah, now it works.

I was trying from non-plasma environment before..
In non plasma, if konsole is not installed, it shows error. it doesn't use the $TERMINAL too
Comment 3 sd 2025-10-30 16:22:28 UTC
Or, at least shouldn't it use `mimeapps.list` to detect terminal?

i mean the `x-scheme-handler/terminal`
Comment 4 TraceyC 2025-10-30 17:25:38 UTC
(In reply to sd from comment #2)
> I was trying from non-plasma environment before..
> In non plasma, if konsole is not installed, it shows error. it doesn't use
> the $TERMINAL too

In the initial report, you had said you were using CachyOS and KDE Plasma Version: 6.5.0
If this bug only appears in a non-Plasma environment, we need details about what that is, can you please provide:

Distribution: 
Desktop environment:
Comment 5 sd 2025-10-30 17:49:41 UTC
(In reply to TraceyC from comment #4)
> (In reply to sd from comment #2)
> > I was trying from non-plasma environment before..
> > In non plasma, if konsole is not installed, it shows error. it doesn't use
> > the $TERMINAL too
> 
> In the initial report, you had said you were using CachyOS and KDE Plasma
> Version: 6.5.0
> If this bug only appears in a non-Plasma environment, we need details about
> what that is, can you please provide:
> 
> Distribution: 
> Desktop environment:

I installed Plasma in a vm to test if it's happening in plasma too. 

i am actually using:-

Distribution:- Cachy os
Window Manger:- Hyprland
Comment 6 TraceyC 2025-11-03 18:54:24 UTC
From what you said, it sounds like this is working properly now in CachyOS in your VM

If there is still a bug, please provide the environment the bug is still happening in. Otherwise, feel free to close this report. Thanks.
Comment 7 Bug Janitor Service 2025-11-18 03:47:17 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2025-12-03 03:46:14 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.