I want my default application to open .html
files to be Chrome but on Ubuntu 18.04 every time I open vscode it overrides my set default. Not sure how to enable this permanently, does anyone know how to stop this change?
1 Answer
Someone already opened an issue on github.
https://github.com/Microsoft/vscode/issues/60664
Not a permanent soluation, but delete/mv the xdg-open handler /usr/share/applications/code-url-handler.desktop
and/or .local/share/applications/code-url-handler.desktop
will fix current issue until next installation if they do not fix it.
-
1I ended up deleting that file before realising there was an issue, couldn't find it earlier Oct 24, 2018 at 12:35
-
another way to fix this in your file explorer would be to find any
.html
file and do the following: right click > properties > open as > select your fav browser > set as default Mar 9, 2019 at 16:34