Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #220939

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

From "Alexander V. Makartsev" <avbetev@gmail.com>
Newsgroups linux.debian.user
Subject Re: x-www-browser doesn't change even after package delete, update-alternatives
Date 2020-04-05 20:10 +0200
Message-ID <zShSy-Jz-11@gated-at.bofh.it> (permalink)
References <zRU9A-2N9-11@gated-at.bofh.it> <zS6Nr-2jC-1@gated-at.bofh.it> <zSbN7-5fK-1@gated-at.bofh.it> <zScJb-5Pi-1@gated-at.bofh.it> <zSdYC-6Ao-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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
⠈⠳⣄⠀⠀⠀⠀ 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

x-www-browser doesn't change even after package delete,  update-alternatives Carl Fink <carl@finknetwork.com> - 2020-04-04 18:50 +0200
  Re: x-www-browser doesn't change even after package delete,  update-alternatives Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-05 08:20 +0200
    Re: x-www-browser doesn't change even after package delete,  update-alternatives Carl Fink <carl@finknetwork.com> - 2020-04-05 13:40 +0200
      Re: x-www-browser doesn't change even after package delete,  update-alternatives Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-05 14:40 +0200
        Re: x-www-browser doesn't change even after package delete,  update-alternatives Carl Fink <carlf@panix.com> - 2020-04-05 16:00 +0200
          Re: x-www-browser doesn't change even after package delete,  update-alternatives David Wright <deblis@lionunicorn.co.uk> - 2020-04-05 18:00 +0200
            Re: x-www-browser doesn't change even after package delete,  update-alternatives Carl Fink <carl@finknetwork.com> - 2020-04-05 22:30 +0200
          Re: x-www-browser doesn't change even after package delete,  update-alternatives "Alexander V. Makartsev" <avbetev@gmail.com> - 2020-04-05 20:10 +0200
            Re: x-www-browser doesn't change even after package delete,  update-alternatives Carl Fink <carl@finknetwork.com> - 2020-04-05 22:30 +0200
              Re: x-www-browser doesn't change even after package delete,  update-alternatives Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-06 10:00 +0200
                Re: x-www-browser doesn't change even after package delete,  update-alternatives Curt <curty@free.fr> - 2020-04-06 11:50 +0200
                Re: x-www-browser doesn't change even after package delete,  update-alternatives Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-06 12:20 +0200
                Re: x-www-browser doesn't change even after package delete,  update-alternatives Nicolas George <george@nsup.org> - 2020-04-06 12:40 +0200

csiph-web