Celeb Glow
general | March 22, 2026

How can I prevent Chromium from opening svg files?

Chromium keeps opening svg files in the browser despite the default association of Inkscape with svg files.

Steps to reproduce:

  1. Download an svg file
  2. Go to chrome:downloads and click on the svg file.
  3. It opens in Chromium in a new tab instead of Inkscape

1 Answer

Check if the lines below are presents on file:

sudo nano /usr/share/applications/mimeinfo.cache

image/svg+xml=gimp.desktop;inkscape.desktop;eog.desktop;
image/svg+xml-compressed=inkscape.desktop;eog.desktop;
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy