Re: changing lynx default homepage from the comand line?
Karen Lewellen <[email protected]>
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <[email protected]> |
I cannot edit my lynx.cfg file, which is why I seek a command line method. I am going to try the www_home method, I must not have followed as I got locked into a > window with no change. On Fri, 15 Nov 2019, Larry Hynes wrote: > Karen Lewellen <[email protected]> wrote: >> I am seeking a command line method to override the site listed as the >> homepage for lynx regularly, i. e. the page that appears if i just entre >> lynx. >> The idea is to change this default homepage, not just simply visit a new >> site once. >> does that make more sense? > > If you can set the WWW_HOME environment variable, lynx will use that as > the startfile. > > If you can edit your lynx.cfg file, you can specify the startfile in > that, as in: > > STARTFILE:http://thesitethatyouwant.com > > I suppose a command line method would be something like entering > > WWW_HOME='http://thesitethatyouwant.com'; lynx > > on the command line or exporting the WWW_HOME environment variable from > your .profile or .bash_profile i.e. ensuring that the line > > export WWW_HOME='http://thesitethatyouwant.com' > > is in your .profile (or wherever bash looks for environment variables), > in which case when you launch lynx it will go to that site > > There is also an option to launch lynx with the '-book' switch which > will use the bookmark page (if set) as the startfile. (See 'man lynx' > for details.) > > _______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev