Joined: 30 Aug 2008
Location: United Kingdom
|Posted: Thu Aug 04, 2016 12:49 am Post subject: [Work-around] Plasma 5.6.5 does not save File Associations
|I found that Plasma 5.6.5 (the current version in Gentoo Stable Branch) was not saving changes or additions to System Settings > Applications > File Associations
The following Arch Linux Forums thread has a work-around that worked for me: Cannot change file associations in Plasma 5.4
|Rog131 wrote: |
|I think that two mimeapps.list is the problem - the KDE preference editor is editing the ~/.local/share/applications/mimeapps.list but the (KF5 ?) applications are reading from the ~/.config/mimeapps.list (following order of paths) .
The files at the home are owned by the user so the user can edit them at will.
You could rename the ~/.config/mimeapps.list and then symlink the two mimeapps.list:
ln -s ~/.local/share/applications/mimeapps.list ~/.config/mimeapps.list
(or drag and drop with the file manager and pick the 'link here' option)
Then there will only one configuration file.
I just did what he suggested, and I can now change file associations:
|fitzcarraldo@clevow230ss ~ $ mv ~/.config/mimeapps.list ~/.config/mimeapps.list.bak
fitzcarraldo@clevow230ss ~ $ ln -s ~/.local/share/applications/mimeapps.list ~/.config/mimeapps.list
Clevo W230SS: amd64 nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC eudev elogind & KDE on both.