I have moved on from Plasma but still use some KDE apps such as Dolphin file browser.
Without Plasma, Dolphin fails to retain file associations. I vaguely remember having to install something, perhaps ‘kde-runtime’? to fix this problem. I can’t find this in the CachyOS repository and I am not even sure that it is what fixed the problem.
Is this package still available and is this what I am missing to allow Dolphin to retain file associations?
As far as i can tell the problem is distribution agnostic, the same file association feature doesn’t work on fedora either.
I think it is a framework or library that is included with Plasma that isn’t packaged with Dolphin, so I thought best to ask here.
Personally, I only ever had problems mixing up desktops and applications… it gets very messy, and it really does go against the Arch way (K.I.S.S).
It’s a classic problem… one that so many redditors insist doesn’t exist.
From EOs, I remember someone switched to i3, and had to update the MIME database, clear KSycoca cache… XDG-MENU-PREFIX and kbuildsycoca6, installing archlinux-xdg-menu.
Hyprland has it’s own set of issues.
This is interesting:
Sadly, you seem reluctant to give away too much information - which is interesting.
‘Fix my car, I won’t tell you what it is, but I moved on from the Toyota…’.
KDE Develops the environment for Plasma, and many parts rely on the system services - other environments bring other services (which might well overlap and clash)… kservice maybe missing, environment variables - which vary by WM…
I’m using CachyOS with the Niri window manager, I also have a laptop with Fedora and the Niri window manager. I fixed this on the laptop a month ago, I think installing the kde-runtime package is what fixed it, but it was a month or so ago and i tried several things, so I’m not sure. This package isn’t available in the CachyOS repository and I think the package has now been split into its components in later versions of plasma.
I vaguely remember having this same problem on a VM with Fedora with the Cosmic DE, which I also managed to fix, although this was last year sometime.
Hence i believe it is something that is packaged with plasma that Dolphin relies on.|
I figured this would be the best place to find a solution as it appears that it is an issue with Dolphin having a dependency/library that is provided by Plasma.
Generally I bang my head against a problem until it’s solved or I no longer have enough brain cells to remember what the problem was.
If you open a file does it present you with a blank dialaogue box prompting for you to enter which program you would like to open the file with?
If not, could you paste the contents of the following file so i can see if dolphin is just looking for a configuration from this file.
~/.config/menus/applications.menu
I get this dialogue box but when i choose an application and select “Remember application”, the file opens but when i open a file of this type again I get the same blank dialogue box.
On my laptop this dialogue box has a list of applications to choose from, and when i choose “Remember application”, subsequently i am not prompted to choose a program again.
I’m also interested in hte solution of this problem. I’m migrating from debian to arch. I use i3wm together with plasma. Everything works as expected on debian (I don’t even remember it there was a need to solve the problem and, if so, how I did it), but now on arch it appeared again - dolphin in i3 doesn’t let me to associate files with default programs