When i click a link in t'bird, firefos oly opens at homepage. a fix pls.
THUNDERBIRD LINKS NOT WORKING
Moderators: 666philb, Forum moderators
Re: THUNDERBIRD LINKS NOT WORKING
By default thunderbird tries to run firefox example.com
Running firefox forum.puppylinux.com
in the terminal should open this forum. If not, firefox is the problem. Probably it has a broken launcher.
firefox
can be a symbolic link or a script.
If it's a script, it should contain something like exec /opt/firefox/firefox "$@"
The "$@" is important, without it firefox will open a home page. The firefox-77.0.1-x86_64.pet available in the PPM has this launcher:
Code: Select all
#!/bin/sh
apulse /opt/firefox/firefox "$@"
This command can be used to see and edit the content of a launcher script (an empty page will be opened if firefox
is actually a binary):
Code: Select all
geany $(type -p firefox)
It's possible to change the browser thunderbird uses to open links.
Re: THUNDERBIRD LINKS NOT WORKING
this is /usr/bin/firefox/firefox.sh
I can't remember how to access the one in pupsave. ps tell me how to fix if not correct.
found by using geany $(type -p firefox), thx.
#!/bin/sh
MOZ_LIBDIR=/usr/lib/firefox
MOZ_APP_LAUNCHER=`which $0`
MOZ_APP_NAME=firefox
export MOZ_APP_LAUNCHER
while [ ! -x $MOZ_LIBDIR/$MOZ_APP_NAME ] ; do
if [ -L "$MOZ_APP_LAUNCHER" ] ; then
MOZ_APP_LAUNCHER=`readlink -f $MOZ_APP_LAUNCHER`
MOZ_LIBDIR=`dirname $MOZ_APP_LAUNCHER`
else
echo "Can't find $MOZ_LIBDIR/$MOZ_APP_NAME"
exit 1
fi
done
usage () {
$MOZ_LIBDIR/$MOZ_APP_NAME -h | sed -e 's,/.*/,,'
echo
echo " -g or --debug Start within debugger"
echo " -d or --debugger Specify debugger to start with (eg, gdb or valgrind)"
echo " -a or --debugger-args Specify arguments for debugger"
}
moz_debug=0
moz_debugger_args=""
moz_debugger="gdb"
while [ $# -gt 0 ]; do
case "$1" in
-h | --help )
usage
exit 0
;;
-g | --debug )
moz_debug=1
shift
;;
-d | --debugger)
moz_debugger=$2;
if [ "${moz_debugger}" != "" ]; then
shift 2
else
echo "-d requires an argument"
exit 1
fi
;;
-a | --debugger-args )
moz_debugger_args=$2;
if [ "${moz_debugger_args}" != "" ] ; then
shift 2
else
echo "-a requires an argument"
exit 1
fi
;;
-- ) # Stop option processing
shift
break
;;
* )
break
;;
esac
done
if [ $moz_debug -eq 1 ] ; then
case $moz_debugger in
memcheck)
debugger="valgrind"
;;
*)
debugger=$moz_debugger
;;
esac
debugger=`which $debugger`
if [ ! -x $debugger ] ; then
echo "Invalid debugger"
exit 1
fi
case `basename $moz_debugger` in
gdb)
exec $debugger $moz_debugger_args --args $MOZ_LIBDIR/$MOZ_APP_NAME "$@"
;;
memcheck)
echo "$MOZ_APP_NAME has not been compiled with valgrind support"
exit 1
;;
*)
exec $debugger $moz_debugger_args $MOZ_LIBDIR/$MOZ_APP_NAME "$@"
;;
esac
else
exec $MOZ_LIBDIR/$MOZ_APP_NAME "$@"
fi
Re: THUNDERBIRD LINKS NOT WORKING
See below
Does the firefox puppylinux.com
command work in the terminal? Does it open a home page or the puppy site? This is important: thunderbird needs the working firefox command to open links.
this is /usr/bin/firefox/firefox.sh
This suggests that there is a folder named firefox in the /usr/bin directory. If so, it's very strange. --- It's probably /usr/lib/firefox/firefox.sh and there is a symlink to it in /usr/bin
The geany $(type -p firefox)
could have opened /usr/bin/firefox but not /usr/bin/firefox/firefox.sh
The mozilla launcher script itself is OK. My firefox doesn't have it anymore but I've tested it now and it works --- thunderbird (102) can use this script to open links in firefox (102).
EDIT: I can reproduce this problem without a savefile and with a fresh thunderbird profile.
By default thunderbird tries to run /usr/local/bin/defaultbrowser (not firefox as I thought) but probably not directly. Changing xdg-open makes no difference. At the moment it's not clear where the url gets lost.
A workaround: follow the instructions how to change the default browser and choose /usr/bin/firefox
Notes: step 4 - type warn-ex in the search box to find the settings quickly;
step 5 - if the the pop-up window doesn't show up, repeat the step 1 to open preferences and look for Files & Attachments. It should be possible to select the action for http and https there (may be necessary to actually try to open a link for these entries to appear in the table);
step 6 - in the file selection window navigate to /usr/bin and choose firefox.
Re: THUNDERBIRD LINKS NOT WORKING
@bigpup always recommends to install the fossapup bugfixes. Sometimes it helps!
The fossa64fix.zip here contains the /usr/share/applications/defaultbrowser-mime.desktop file. Adding it to the system solves the problem.
So, menu -> setup -> quickpet fossa -> info tab -> Fossapup updates.