Quantcast
Channel: BizKnowledge
Viewing all articles
Browse latest Browse all 54

xdg-open; vscode acts as default application for html

$
0
0
Opening html files stopped launching the browser, but launched the vscode application.

> xdg-mime query default text/html
code-url-handler.desktop

It turned out a new handler was configured

check your ~/.config/mimeapps.list file

The line

[Default Applications]
text/html=code-url-handler.desktop

sends the text/html files to a handler that launches vscode.

Just remove that line. And the xdg-open <>  will work again as expected

Viewing all articles
Browse latest Browse all 54

Trending Articles