Abrowser Launches Firefox [technical support]

6 réponses [Dernière contribution]
myrcy

I am a member!

Hors ligne
A rejoint: 10/30/2021

Hello everyone,

I’m encountering a bizarre issue. I keep a Flatpak version of Firefox installed for certain websites that don't work well with the privacy settings I use in Abrowser.

However, when I try to launch Abrowser, it opens Firefox instead.

Has anyone experienced a similar problem? Any help would be greatly appreciated.


usr@computer:~$ /usr/bin/abrowser
[9995, Main Thread] WARNING: Theme parsing error: gtk.css:2250:35: The :focused pseudo-class is deprecated. Use :focus instead.: 'glib warning', file /build/firefox-5QP1rs/firefox-128.0.3+build1/toolkit/xre/nsSigHandlers.cpp:187

(abrowser:9995): Gtk-WARNING **: 17:28:17.533: Theme parsing error: gtk.css:2250:35: The :focused pseudo-class is deprecated. Use :focus instead.
usr@computer:~$

myrcy

I am a member!

Hors ligne
A rejoint: 10/30/2021

Here is my output of `usr/bin/abrowser`:


usr@computer:~$ cat /usr/bin/abrowser
#!/bin/sh

set -e

# Firefox launcher containing a Profile migration helper for
# temporary profiles used during alpha and beta phases.

# Authors:
# Alexander Sack <name at domain>
# Fabien Tassin <name at domain>
# Steve Langasek <name at domain>
# Chris Coulson <name at domain>
# License: GPLv2 or later

MOZ_LIBDIR=/usr/lib/abrowser
MOZ_APP_LAUNCHER=`which $0`
MOZ_APP_NAME=abrowser

export MOZ_APP_LAUNCHER

# Enable native Wayland support (https://launchpad.net/bugs/1916469)
# only in Wayland sessions (https://launchpad.net/bugs/1923116)
if [ "$XDG_SESSION_TYPE" = "wayland" ] ; then
export MOZ_ENABLE_WAYLAND=1
fi

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
usr@computer:~$

tonlee
Hors ligne
A rejoint: 09/08/2014
Avron

I am a translator!

Hors ligne
A rejoint: 08/18/2020

Indeed, I always start abrowser with "abrowser -P", which shows the profile manager and allows to select a profile or add and remove profiles. On a computer with at least 8GB memory, I usually have 2 abrowser with different profiles running in parallel.

EDIT: I also sometimes run icecat from Guix in parallel. Be careful that Guix may take a lot of space in the root partition, and updates of Guix take a lot more time and CPU than Trisquel's updates.

myrcy

I am a member!

Hors ligne
A rejoint: 10/30/2021

This is immensely helpful. Thank you so much to both of you.

I have decided to attempt to reinstall my OS—to fix this issue.
But, upon my new installation I will look into `abrowser` profiles.

Thank you so much. I really appreciate all of your time and responses.

myrcy

I am a member!

Hors ligne
A rejoint: 10/30/2021

I have attempted to purge and reinstall

myrcy

I am a member!

Hors ligne
A rejoint: 10/30/2021