0

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.

New contributor
jack is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    Have you made Desktop entry executable? What is the output of ls -l filename? Have you tried open with other application? – Kulfy May 15 at 17:28
  • Click on the notification icon and then this comment in the list to come here. Your second question "disappeared" when it got moved to meta.askubuntu.com, since it was really about using this site, not about Ubuntu. You seem to have created an "edge case", where technically correct actions don't help the user. – ubfan1 2 days ago
0

Try to include the line :

Exec=/usr/bin/x-www-browser file:///<PATH TO FILE>/file.html

Your Answer

jack is a new contributor. Be nice, and check out our Code of Conduct.

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.