Figma-Linux / figma-linux

Figma is the first interface design tool based in the browser, making it easier for teams to create software. Join us in https://t.me/figma_linux
GNU General Public License v2.0
2.64k stars 159 forks source link

Figma registers itself as default application for mime type text/html #176

Open ribtoks opened 3 years ago

ribtoks commented 3 years ago

Bug description Figma was installed. After this command xdg-open file:///path/to/index.html or xdg-open /path/to/index.html opens figma instead of the browser

Cobertos commented 3 years ago

This is really annoying. When using things like webpack-bundle-analyzer that save an HTML file and then try to open it with xdg-open, it will open Figma Linux, which cannot handle the file.

Marvelxy commented 3 years ago

I'm facing the same issue. xdg-open opens Figma. Is there a way to stop this?

iliman commented 3 years ago

I'm facing the same issue. xdg-open opens Figma. Is there a way to stop this?

I fixed this on Gnome by editing ~/.config/mimeapps.list:

[Default Applications]
text/html=figma-linux.desktop

to

[Default Applications]
text/html=google-chrome.desktop
taernsietr commented 2 years ago

Above fix by iliman does work, however, on update the mimetype will be reset again to Figma, so the issue currently persists.

unandreshevia commented 2 years ago

This is really annoying. When using things like webpack-bundle-analyzer that save an HTML file and then try to open it with xdg-open, it will open Figma Linux, which cannot handle the file.

I have the exact same issue.

I use webpack-bundle-analyzer to keep the bundle of my company's app in check and this issue happens. Instead of opening in Chrome, it tries to open it on Figma-linux.

App version: v0.9.6 OS: Linux Mint 20.1 Cinnamon version 4.8.6, Kernel 5.4.0-109-generic

ribtoks commented 1 year ago

Is there any update on this?