URL link in linux

It is possible to create URL links in linux (well, I only have tested in in nautilus) to open in in browser by clicking.

This goes rather easily, but needs the right contents (link only is not sufficient). One can open a text editor and create a .desktop file. (i named it ethz-link.destkop). Important is theĀ URL parameter

Now step by step

  • Open a text editor, for example gedit
  • Put the following content in the file

[Desktop Entry]
Encoding=UTF-8
Name=ETH Homepage
Type=Link
URL=https://www.ethz.ch
Icon=text-html

  • Change the URL parameter and the Name according to your purpose
  • Save it with the a .desktop extension, for example ethz-link.desktop