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.
-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of Frank Cox Sent: Saturday, 10 November, 2018 11:40 To: centos@centos.org Subject: [CentOS] Load html file into elinks from desktop
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.
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
===
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!