Not able to create a shortcut on the desktop for URL from Chrome

by jack   Last Updated May 15, 2019 18:02 PM

I have tried creating a desktop entry. I can see it but when I click on it, it opens up in text editor. The content of desktop entry:

[Desktop Entry]
Encoding=UTF-8
Name=Link to Ask Ubuntu[Desktop Entry]
Encoding=UTF-8
Name=Link to Ask Ubuntu
Type=Link
URL=http://www.askubuntu.com/
Icon=text-html
Type=Link
URL=http://www.askubuntu.com/
Icon=text-html

I'm using Ubuntu 19.04.

Tags : .desktop


Answers 1


Try to include the line :

Exec=/usr/bin/x-www-browser file:///<PATH TO FILE>/file.html
E_Angel
E_Angel
May 15, 2019 17:58 PM

Related Questions


no desktop icons on 19.04 after upgrade

Updated May 11, 2019 16:02 PM