For me this is a bug and not a feature request. I don't know if this report should be in tdelibs or tdebase.
TDE does not use the common mimeapps.list file for file associations.
This is confusing for any person who uses multiple desktop environments. All other desktop environments use this file but TDE does not. When a user toggles to using TDE, the file associations are different from those defined in mimeapps.list when using other desktop environments.
The existing InitialPreference complexity probably does not need to be touched. The needed change is ensuring mimeapps.list files are used first.
There are multiple places to find mimeapps.list files and there is a recommended pecking order with searching for those files:
There probably is no need to search for desktop-specific $desktop-mimeapps.list files. For example, some people will have both KDE and TDE installed. While a KDE specific $desktop-mimeapps.list would be kde-mimeapps.list, no such file exists on my system. When changing file associations in KDE the changes are made in my common $HOME/.config/mimeapps.list. Likewise with other desktop environments.
Accessing the user's $HOME/.config/mimeapps.list should suffice.
When a user changes a file association and the user has a local $HOME/.config/mimeapps.list, then that file should be updated rather than creating files associated with the InitialPreference method, which results in polluting $HOME/.local/share/applications with numerous tde-xxxx.desktop files.
## Basic information
- TDE version: All
- Distribution: All
- Hardware: N/A
## Description
For me this is a bug and not a feature request. I don't know if this report should be in tdelibs or tdebase.
TDE does not use the common mimeapps.list file for file associations.
This is confusing for any person who uses multiple desktop environments. All other desktop environments use this file but TDE does not. When a user toggles to using TDE, the file associations are different from those defined in mimeapps.list when using other desktop environments.
The existing *InitialPreference* complexity probably does not need to be touched. The needed change is ensuring mimeapps.list files are used first.
There are multiple places to find mimeapps.list files and there is a recommended pecking order with searching for those files:
https://specifications.freedesktop.org/mime-apps-spec/latest/
There probably is no need to search for desktop-specific **$desktop-mimeapps.list** files. For example, some people will have both KDE and TDE installed. While a KDE specific **$desktop-mimeapps.list** would be **kde-mimeapps.list**, no such file exists on my system. When changing file associations in KDE the changes are made in my common **$HOME/.config/mimeapps.list**. Likewise with other desktop environments.
Accessing the user's $HOME/.config/mimeapps.list should suffice.
When a user changes a file association and the user has a local **$HOME/.config/mimeapps.list**, then that file should be updated rather than creating files associated with the InitialPreference method, which results in polluting $HOME/.local/share/applications with numerous tde-xxxx.desktop files.
Basic information
Description
For me this is a bug and not a feature request. I don't know if this report should be in tdelibs or tdebase.
TDE does not use the common mimeapps.list file for file associations.
This is confusing for any person who uses multiple desktop environments. All other desktop environments use this file but TDE does not. When a user toggles to using TDE, the file associations are different from those defined in mimeapps.list when using other desktop environments.
The existing InitialPreference complexity probably does not need to be touched. The needed change is ensuring mimeapps.list files are used first.
There are multiple places to find mimeapps.list files and there is a recommended pecking order with searching for those files:
https://specifications.freedesktop.org/mime-apps-spec/latest/
There probably is no need to search for desktop-specific $desktop-mimeapps.list files. For example, some people will have both KDE and TDE installed. While a KDE specific $desktop-mimeapps.list would be kde-mimeapps.list, no such file exists on my system. When changing file associations in KDE the changes are made in my common $HOME/.config/mimeapps.list. Likewise with other desktop environments.
Accessing the user's $HOME/.config/mimeapps.list should suffice.
When a user changes a file association and the user has a local $HOME/.config/mimeapps.list, then that file should be updated rather than creating files associated with the InitialPreference method, which results in polluting $HOME/.local/share/applications with numerous tde-xxxx.desktop files.