Location of mimeapps.list file in .config folder causes plasmashell, dolphin and panel problems
The problem is appeared here:
I thought this need a separate conversation.
The default location of mimeapps.list file is $XDG_CONFIG_HOME/mimeapps.list accordng to here, This user file overriders others. However it causes several problems when it located there, namely ~/.config folder.
high cpu (100%) for plasmashell
slow and unreponsive dolphin actions.
“applications updated” error message loop in applications widgets on panel. (so, cannot start apps)
appearing and sudenly disappearing “Add Panel” entry in context menu (right click) on panel and desktop.
Moving the mimeapps.list file to ~/.local/share/applications/mimeapps.list, I assume deprecated $XDG_DATA_HOME/applications/mimeapps.list, fixes the issues. However, new associations made (for example using system settings app) creates mimeapps.list file in .config folder again, and problems occur.
But why? Thanks in advance for your answers to satisfy my curiosity.
Yes, but the problem is not the lack of the mimeapps.list file in ~.local/share/applications folder, but being exist in ~/.config folder. I gave a try to symlinkng the file. It could not solve the issue.
I am experiencing the same problem, with no apparent solution other than getting rid of the file in ~/.config.
Out of curiosity, could it be related to the content of the file? my mimeapps.list in ~/.local/share/applications is empty, and the one in ~/.config only contains an entry for my email client (mailspring).
Before this issue arise, I also has an empty mimeapps.list file in ~/.local/share/applications folder and a regular mimeapps.list file in ~/.config folder. I couldn’t state when and how the issue started, when I realize that, I tried to, first, remove the empt file, then just move the ~/.config/mimeapps.list file in the place of it. I think the content is not important. My system doesn’t want the file to be in .config folder, if there is one, uses it, but doesn’t like.
Ok, good idea. I will update the bugreport.
But shouldn’t manjaro architect install regular packages instead the weird ones ?
I see the regular version is older than git one, so either it will be fixed in meantime or the problem will be back with next update.
Thanks for this^
Relatively new linux user here and I figured writing the following into a script… mv ~/.config/mimeapps.list ~/.local/share/applications/
…would just be duct-tape on the issue. I put your solution into place, rebooted, and all is well now!