TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Randall Parker
from: Randall Parker
date: 2006-12-16 14:33:52
subject: Re: The mysteries of htmlview

From: Randall Parker 

Randall Parker wrote:
> Try typing:
>
>  > cat /usr/bin/htmlview
>
> You get the internals of a file called htmlview. It allows applications
> and the desktop invoke default email and browser applications. Or does it?
>
> The file refers to both Gnome and KDE default browsers. It even has a
> section that says
>

Oops, accidentally posted too soon.

It has a section that says to fall back to old htmlview. I have a hard time
trying to figure out how to edit this file by hand in order to change which
browser is my default browser.

Linux is so not ready for the mainstream desktop it is not even funny.

# Fallback to old htmlview
unset BROWSER CONSOLE TERMS_KDE TERMS_GNOME TERMS_GENERIC [ -e
/etc/htmlview.conf ] && source /etc/htmlview.conf [ -e
~/.htmlviewrc ] && source ~/.htmlviewrc

TERMS_KDE="/usr/bin/konsole /usr/bin/kvt"
TERMS_GNOME="/usr/bin/gnome-terminal"
TERMS_GENERIC="/usr/bin/rxvt /usr/bin/xterm /usr/bin/Eterm"
TTYBROWSERS="/usr/bin/links /usr/bin/lynx /usr/bin/w3m"
X11BROWSERS_KDE="/usr/bin/konqueror /usr/bin/kfmbrowser"
X11BROWSERS_GNOME="/usr/bin/mozilla /usr/bin/epiphany
/usr/bin/galeon" X11BROWSERS_GENERIC="/usr/bin/mozilla
/usr/bin/netscape"

if [ "x`/sbin/pidof gnome-session`" != "x" ]; then
         X11BROWSERS="$GCONF $X11BROWSERS_GENERIC $X11BROWSERS_GNOME
$X11BROWSERS_KDE"
         TERMS="$CONSOLE $TERMS_GENERIC $TERMS_GNOME $TERMS_KDE"
else
         X11BROWSERS="$X11BROWSERS_GENERIC $X11BROWSERS_KDE
$X11BROWSERS_GNOME"
         TERMS="$CONSOLE $TERMS_GENERIC $TERMS_KDE $TERMS_GNOME"
fi
[ -n "$X11BROWSER" ] && X11BROWSERS="$X11BROWSER
$X11BROWSERS" [ -n "$TEXTBROWSER" ] &&
TTYBROWSERS="$TEXTBROWSER $TTYBROWSERS" [ -n "$CONSOLE"
] && TERMS="$CONSOLE $TERMS"

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.