Sample Header Ad - 728x90

Set icon for file type, Linux Mint

3 votes
1 answer
3367 views
I want the files with the extension **.api** to have some chosen **SVG** icon in the File Manager. Assume, we have a file: /usr/share/icons/HighContrast/scalable/apps/utilities-terminal.svg I add a new MIME type: create a **~/.mime.types** file with a line: **text/x-api api** The question is: how should I link the SVG file name with the MIME type? NOTE: No need of creating the custom icon, no need to launch some application by double-clicking. This question deals only with the linking of the given icon to file extension.
Asked by darkSideOfTheMoon (135 rep)
Sep 10, 2018, 05:10 AM
Last activity: Oct 5, 2022, 12:08 AM