Web lists-archives.com

Re: Stretch with MATE DE - odd new file association problem

On 16.04.2019 2:05, Richard Owlett wrote:
On 04/15/2019 01:14 PM, Alexander V. Makartsev wrote:
On 15.04.2019 18:09, Richard Owlett wrote:
Somehow I had messed up preferred application to open a file.
I fixed by selecting a file of appropriate type, selecting Properties, and setting preferred application.

That solved almost all my problems.

The only exception is when using Synaptic.
When I click on "Visit Homepage" it insists on using Firefox :<
It used to open properly with my preferred browser SeaMonkey.
All other HTML open correctly with SeaMonkey.

Is another place I need to set preferences?
You can check what is set as default in "update-alternatives" configs for browsers available in your system:
     $ sudo update-alternatives --config x-www-browser
     $ sudo update-alternatives --config gnome-www-browser

I avoid "sudo" [with prejudice]

I did
richard@fromdell:~$ su
Password: root@fromdell:/home/richard# update-alternatives --config x-www-browser
There is only one alternative in link group x-www-browser (providing /usr/bin/x-www-browser): /usr/bin/firefox-esr
Nothing to configure.
root@fromdell:/home/richard# root@fromdell:/home/richard# root@fromdell:/home/richard# update-alternatives --config gnome-www-browser
There is only one alternative in link group gnome-www-browser (providing /usr/bin/gnome-www-browser): /usr/bin/firefox-esr
Nothing to configure.

That tells me "something"       P.S  but what?
Educate me -- What should I be reading?
Here is the output from one of my systems:
    $ sudo update-alternatives --config x-www-browser
    There are 3 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).
      Selection    Path                  Priority   Status
      0            /usr/bin/opera         120       auto mode
    * 1            /opt/firefox/firefox   100       manual mode
      2            /usr/bin/firefox-esr   70        manual mode
      3            /usr/bin/opera         120       manual mode
    Press <enter> to keep the current choice[*], or type selection number:

I have 3 browsers installed and I've chosen the default one (#1) manually.
My web browser is set to "x-www-browser" in "Preferred Applications" applet (Xfce), so I can switch between default browsers on demand by setting it up in one place.

Since you have to use Synaptic as root, it will launch "x-www-browser" (or "gnome-www-browser" depending on your DE) when you click on "Homepage" button.
As you already discovered, your "x-www-browser" config has only one option, so Synaptic executes "firefox-esr".
It looks like "SeaMonkey" browser doesn't provide "update-alternatives" config for itself on installation, which is probably a bug.

You can add SeaMonkey config manually if you want, but you will have to track the changes after that.
    $ sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /your/path/to/seamonkey 100

With kindest regards, Alexander.

⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org