Load Html File Into Elinks From Desktop

Home » CentOS » Load Html File Into Elinks From Desktop
CentOS 1 Comment

With a html file on my (Mate) desktop I would like to be able to right-click on it and select “open with” and have it load into elinks.

But I haven’t yet figured out the magic command line that I need for this to happen.

gnome-terminal –command=”elinks %s”

That loads elinks but doesn’t load the html file into it.

gnome-terminal –command=”cat %s | elinks” doesn’t work either.

One thought on - Load Html File Into Elinks From Desktop

  • ==
    The parameter for elinks is one or more URLs, so it is looking for the ‘file://’ prefix in front of the full path to the file

    Cheers!