Patch for xfrun

James Tappin sjt at star.sr.bham.ac.uk
Wed Mar 12 16:55:46 CET 2003


On Wed, 12 Mar 2003 10:40:45 -0500 (EST)
Joe Klemmer <klemmerj at webtrek.com> wrote:

JK> On Wed, 12 Mar 2003, James Tappin wrote:
JK> 
JK> > JK> 	FWLIW, I am always for (don't say it, Chuck!) using
JK> > JK> 	environment
JK> > JK> variables for things with sane defaults.  One of my pet peeves
JK> > JK> is when programs have calls to Netscape hard-coded in them
JK> > JK> rather than looking for the environment variable BROWSER.
JK> > 
JK> > Or some kind of config file that sets a preferred browser (etc.)
JK> 
JK> 	I have always likes the approach of -
JK> 
JK> 1) Check command line options (not necessarily applicable here,
JK> maybe) 2) Look in the Environment
JK> 3) Look for a config file
JK> 4) Use fall-back hard coded 
JK> 
JK> 	How'zat?

Not out

I'd swap 2 & 3 personally, so that I could have different default
browsers in different places (e.g. dillo as the help browser and phoenix
or mozilla for browsing the web).

James

-- 
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| sjt at star.sr.bham.ac.uk | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+



More information about the Xfce4-dev mailing list