The K Desktop Environment

Next Previous Table of Contents

7. Browser Setup

7.1 Specifying the Default Browser

KWebWatch can be used to display a URL in the web browser of your choice. If you have specifed a particular URL should be presented in a particular web browser, KWebWatch will comply. Otherwise, it will fall back to the default browser, as specified in the View/Options menu.

7.2 Example Browser Command Lines

KWebWatch supports simple browser command line options. Here are some examples which may be modified to match your preferences:

KFM

kfmclient openURL

Netscape

netscape -geometry =400x500+0+0

Lynx

kvt -e lynx

Lynx

kvt -geometry 700x500+100+100 -e lynx

KWebWatch will add the URL as the last argument with the above examples. However, if "%s" appears in the command line, the URL will be inserted in its place. This feature allows for the use of Netscape remote options, as described in the next section.

7.3 Netscape Tips

Netscape can be launched with some interesting command line options, which are outlined on the Netscape website here.

Perhaps the most useful option is the -remote 'openURL(http://url.goes.here)' option. This forces a specified URL to be displayed in an existing running instance of Netscape. If you want to use this behavior when displaying URLs from KWebWatch, place a "%s" where the URL should go:

netscape -remote openURL(%s)

This will display the URL in a running copy of Netscape if their is one.

Next Previous Table of Contents