Re: Alternative web browser on Linux
"Nico de Jager (as nico at dejager dot cc)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
"Dmitry Ivanov (as ystok-systema at mail dot ru)" <[email protected]> writes: > Is it possible to specify a browser which is outside the list > presented at Help -> Browser Proferencnes ? There is no documented way that I know of. > For instance, I would prefer the lightweight Netserf (without > JavaScript) in a Linux virtual machine. Browser command line arguments are not standardized. Thus, the different browsers listed in LispWorks are called differently, more so if "Reuse existing browser window" is set in Help|Browser Preferences. What I do, is 1) to create a shell script in /usr/local/bin/ named after one of the browsers supported by LW but which is not installed on my machine, 2) look at the way it is called by LispWorks, and 3) then just adapt the arguments passed to the browser in the script. For example, if you set your browser to Opera, then LW invokes it as either 'opera -new-tab <URL>' or 'opera -new-window <URL>' depending on whether "Reuse existing browser window" is set. So, in your shell script named /usr/local/bin/opera you can launch NetSurf with 'netsurf $2' If the browsers support (nearly) the same command line args, then I just create a symbolic link in the file system for the name, e.g. when wanting to use Chromium instead of Chrome. HTH. Nico _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html