Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50734 - xfhelp4 without mozilla
Summary: xfhelp4 without mozilla
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 04:02 UTC by Botykai Zsolt
Modified: 2005-03-23 20:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Botykai Zsolt 2004-05-11 04:02:16 UTC
I've just installed XFCE4 4.0.5 on my box.
I havn't got mozilla installed, I'm a firefox fan.
So if I click on the xfhelp4 application icon, I will get an error message:
"Unable to execute mozilla...".
So I looked around and found the "/usr/bin/xfhelp4" script, and edited this lines:
"if [ "x$BROWSER" = "x" ]
then
  BROWSER="mozilla"
fi"
to this:
"if [ "x$BROWSER" = "x" ]
then
  BROWSER="firefox"
fi"
And everything works fine from this point for me.

Reproducible: Always
Steps to Reproduce:
1. Emerge XFCE4 without mozilla, netscape, opera, phoenix
2. Start XFCE4 (without setting the $BROWSER variable - I think it's default with this install)
3. Click on the xfhelp4 icon

Actual Results:  
X error message.

Expected Results:  
Start up firefox (if needed) and show the help pages...

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.12
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache noinfo sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome
gphoto2 gpm gtk gtk2 imagemagick imlib java jikes jpeg kde libg++ libwww
linguas_en linguas_hu mad maildir mbox mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba
sdl slang spell ssl svga tcltk tcpd tiff truetype unicode usb x86 xml xml2 xmms
xv zlib"
Comment 1 Marc Hildebrand (RETIRED) gentoo-dev 2004-05-11 07:36:50 UTC
You could also edit your user`s ~/.profile and set the BROWSER var there, eg:

export TERMCMD="aterm -sr -fn 6x13 -sl 500"
export BROWSER=dillo
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2005-03-23 20:47:25 UTC
Fixed in current xfhelp4:

if [ "x$BROWSER" = "x" ]
then
  for b in  firefox epiphany galeon mozilla konqueror
...