I have a new file type ".xy2" and I would like to associate it with a custom application "shim". Does anyone know how to do it in a Linux?
Thanks
In the Connections pane, go to the site, application, or directory for which you want to add a MIME type. In the Home pane, double-click MIME Types. In the MIME Types pane, click Add... in the Actions pane. In the Add MIME Type dialog box, add the file name extension and MIME type, and then click OK.
Windows makes it very convenient to associate programs and file type Right click the file and open up properties. From here, under the general tab, you can choose which app opens this specific file type. Hit change, and navigate to your shim.
In case someone comes across the same problem. I found the answer:
Fill in information pertaining to your application. Here is an example of mine:
[Desktop Entry]
Terminal=false
Icon=libreoffice-math
Type=Application
Categories=Application;Utility;
Exec=shim %f
MimeType=application/xy2;
Name=shim
Comment=shim tool
Associate file types with your application. Read post from OM55 user.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With