When you change the terminal in the Default Apps section in Plasma System Settings, it doesn't appear to change the terminal correctly for terminal apps like helix. If konsole is not installed, Dolphin will produce an error.
Unfortunately, I can't reproduce the error to show a screenshot, because the fix was to set mimetype defaults and I don't know how to undo what I did. However, an install of KDE with the default terminal unchanged should be sufficient to reproduce this on other computers.
Steps To Reproduce
Install KDE using services.desktopManager.plasma6.enable
Add helix and kitty to system packages or home manager
Set them as the default text editor and terminal emulator (respectively) using the KDE settings manager
Remove Konsole like so:
environment.plasma6.excludePackages = with pkgs.kdePackages; [
konsole
];
Try to open a text file in Dolphin
Expected behavior
I believe Dolphin should open the text file without errors in my chosen terminal and terminal editor, and it does with my fix below in additional context.
Screenshots
Additional context
I manually fixed this by running sudo xdg-mime default kitty.desktop application/x-desktop inside the folder where kitty.desktop resides, in my case since I am using home-manager ~/.local/share/applications. I am not sure if this is an upstream issue or not.
Describe the bug
When you change the terminal in the Default Apps section in Plasma System Settings, it doesn't appear to change the terminal correctly for terminal apps like helix. If konsole is not installed, Dolphin will produce an error.
Unfortunately, I can't reproduce the error to show a screenshot, because the fix was to set mimetype defaults and I don't know how to undo what I did. However, an install of KDE with the default terminal unchanged should be sufficient to reproduce this on other computers.
Steps To Reproduce
services.desktopManager.plasma6.enable
helix
andkitty
to system packages or home managerExpected behavior
I believe Dolphin should open the text file without errors in my chosen terminal and terminal editor, and it does with my fix below in additional context.
Screenshots
Additional context
I manually fixed this by running
sudo xdg-mime default kitty.desktop application/x-desktop
inside the folder wherekitty.desktop
resides, in my case since I am using home-manager~/.local/share/applications
. I am not sure if this is an upstream issue or not.Notify maintainers
@K900 @SuperSandro2000 @omentic @stuebinm @Stzx @peterhoeg
Metadata
Add a :+1: reaction to issues you find important.