[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: x-www-browser doesn't change even after package delete, update-alternatives



On 05.04.2020 18:53, Carl Fink wrote:
On 4/5/20 8:37 AM, Andrei POPESCU wrote:
The output above shows epiphany-browser as being the current selection.
True. But not relevant.
Maybe rclone is not using x-www-browser, but some other mechanism (or
just hardcodes firefox).

I asked what other mechanism could be used in the original, at the
same time I quoted a message from rclone saying that it was trying to
run /usr/bin/firefox-esr, which is unlikely to be hardcoded.
If I'm getting it right, you are using Xfce, so first place you should look at is "exo-preferred-applications" [1] applet.
It probably points to a "/usr/bin/sensible-browser" wrapper script to find a default browser among several "alternatives" links.
"x-www-browser" is not the only default link for a browser, so you should also check "alternatives" for "gnome-www-browser", "www-browser" configs.
Also check if environment variable named "$BROWSER" is set. It is not required to be set, but some console programs could rely on it and this is the first thing "sensible-browser" script uses to find your default browser.
Probably because of installation of a "unsupported" firefox package "alternatives" for a browser were not changed, so you will have to create additional options for "alternatives" configs, so links would point to a right browser.
Check out man page for "update-alternatives" to find out how to create new options for existing configs and manually switch between them.

[1] https://docs.xfce.org/xfce/exo/preferred-applications

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Reply to: