Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimeopen -d doesn't work if mimeapps.list contains an [Added Associations] section #56

Open
6b6279 opened this issue Nov 1, 2024 · 0 comments

Comments

@6b6279
Copy link

6b6279 commented Nov 1, 2024

Because mimeopen -d simply appends mimeapps.list, it mistakenly adds the association anew instead of setting it as default. [Added Associations] seems to be only relevant if you have .desktop files that do not have a respective X-Scheme line. Thunderbird, for example, if set as the default application for mail or calendar etc., creates new desktop files and adds associations for the new desktop files. In my case mimeopen -d would simply stop working after letting Thunderbird set itself as the default e-mail application.

I think this problem would arise in all cases where the last section of mimeapps.list isn't [Default Applications].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant