Default browser under CDE/Solaris

How to set the default browser under CDE/Solaris with enhanced sdtwebclient

Intro

News

Setup

Developers

Setup

  1. Download the modified sdtwebclient script (last modified: 2005/06/15).

  2. Copy sdtwebclient over /usr/dt/bin/sdtwebclient. Keep a backup copy of the original file, of course.

  3. Set the BROWSER variable in your ~/.dtprofile file to your preferred browser. If the preferred browser is not in your PATH, use a full path name. Some examples:
      export BROWSER=sun_netscape
      export BROWSER=mozilla
      export BROWSER=/usr/local/bin/opera
      export BROWSER=netscape-7.0
    

  4. If the BROWSER variable is not set, sdtwebclient will use a built-in list of browsers to try. There is a variable named DEFAULT_BROWSER_LIST in sdtwebclient. If you want to set a system-wide preferred default web browser, you can modify this variable. Put the system's standard browser on top of the list.

  5. If you prefer the browser to open new tabs instead of new windows, you can modify sdtwebclient's behaviour by setting the BROWSER_PREF environment variable in ~/.dtprofile. Example:
      export BROWSER_PREF="tabs"
    

  6. If you have changed ~/.dtprofile, logout and login so CDE re-reads the file. Click on the globe icon, or on a URL in a message in CDE's mailtool to see if everything works.