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

Installer option to have a bottle handle a mime-type #1294

Open
MattSturgeon opened this issue Apr 10, 2022 · 2 comments
Open

Installer option to have a bottle handle a mime-type #1294

MattSturgeon opened this issue Apr 10, 2022 · 2 comments
Labels
Feature request Requires evaluation a feature that requires further evaluation to be accepted or rejected

Comments

@MattSturgeon
Copy link

MattSturgeon commented Apr 10, 2022

The Freedesktop standard allows a .desktop file to "handle" a particular MimeType (file type or URL scheme). For example, various mod managers handle the nxm:// URLs used by nexus mods.

While an installer could create a .desktop file using a script action, it'd be nice to have a managed way of handling this. This could probably leverage any existing systems you have which create bottle launching .desktop files.

It'd be even better if installers could make creating mime-type associations optional. For example, a checkbox during the installation wizard which asks if the user wants _XYZ bottle to handle ABC URLs systemwide _.

This would also make clean up easier too, as Bottles could remove any .desktop files associated with a bottle being uninstalled. However if the files were created by an installer's script this would be more difficult.

The main use case I have in mind for this is a Mod Organiser 2 and/or Vortex mod manager installer, as these need to handle nxm links in the system browser to work as expected. However I'm sure many other programs would benefit from system wide filetype/URL association.

As an example, steamtinkerlaunch installs this file when setting up Vortex

@mirkobrombin mirkobrombin added Requires evaluation a feature that requires further evaluation to be accepted or rejected Feature request labels Apr 11, 2022
@mirkobrombin mirkobrombin moved this to Investigating 🔍 in Trento Apr 11, 2022
@mirkobrombin
Copy link
Member

Hi thanks for reporting! Please next time follow the Feature request template to keep all issues detailed.

@mirkobrombin mirkobrombin removed this from Trento Jun 7, 2022
@mirkobrombin mirkobrombin moved this to Investigating 🔍 in Brescia Jun 7, 2022
@mirkobrombin mirkobrombin added this to the 2022.7.28 milestone Jul 14, 2022
@mirkobrombin mirkobrombin moved this from Investigating 🔍 to Todo 🎈 in Brescia Jul 14, 2022
@mirkobrombin
Copy link
Member

Note:
installer manifests should handle a MimeType key which will be used on desktop entries gneration

@mirkobrombin mirkobrombin removed this from the 2022.7.28 milestone Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requires evaluation a feature that requires further evaluation to be accepted or rejected
Projects
No open projects
Status: Todo 🎈
Development

No branches or pull requests

2 participants