How to set default browser?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
How to set default browser?
Distributor ID: LinuxMint
Description: Linux Mint 18.2 Sonya
Release: 18.2
Codename: sonya
Desktop Session: xfce
I have installed chromium 64.0.3282.167 and firefox 58.0.2 (64-bit),but when I open a shortcut to the menu bar,it tells an error like that. Unable to execute the default web browser.
How to solve this problem
Description: Linux Mint 18.2 Sonya
Release: 18.2
Codename: sonya
Desktop Session: xfce
I have installed chromium 64.0.3282.167 and firefox 58.0.2 (64-bit),but when I open a shortcut to the menu bar,it tells an error like that. Unable to execute the default web browser.
How to solve this problem
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: How to set default browser?
Via command line (Terminal):
If Chromium
If Firefox
If Opera
If Chromium
Code: Select all
gvfs-mime --set x-scheme-handler/http chromium-browser.desktop
gvfs-mime --set x-scheme-handler/https chromium-browser.desktop
Code: Select all
gvfs-mime --set x-scheme-handler/http firefox.desktop
gvfs-mime --set x-scheme-handler/https firefox.desktop
Code: Select all
gvfs-mime --set x-scheme-handler/http opera.desktop
gvfs-mime --set x-scheme-handler/https opera.desktop
Re: How to set default browser?
Hello,
May I ask if setting palemoon as default should follow as:
as it fails with:
And Pale Moon is not listed under Preferred Applications. I have tried:
I am using Mate - Sylvia.
Any help appreciated,
Tx.
May I ask if setting palemoon as default should follow as:
Code: Select all
gvfs-mime --set x-scheme-handler/http palemoon.desktop
Code: Select all
Failed to load info for handler 'palemoon.desktop'
Code: Select all
sudo update-alternatives --config x-www-browser
[sudo] password for xxxxxx:
There is only one alternative in link group x-www-browser (providing /usr/bin/x-www-browser): /usr/bin/palemoon
Any help appreciated,
Tx.
Re: How to set default browser?
Probably your command is wrong. What tellsleadwtZ wrote: ⤴Mon Mar 12, 2018 12:44 pm Hello,
May I ask if setting palemoon as default should follow as:
as it fails with:Code: Select all
gvfs-mime --set x-scheme-handler/http palemoon.desktop
Code: Select all
Failed to load info for handler 'palemoon.desktop'
Code: Select all
apt show palemoon
Code: Select all
locate palemoon.desktop
Re: How to set default browser?
Hello
That is fair enough I think as it is not a package as such it is a .tar
I've been looking in the wrong place?
Hope this helps
Code: Select all
apt show palemoon
N: Unable to locate package palemoon
N: Unable to locate package palemoon
E: No packages found
Code: Select all
locate palemoon.desktop
/home/geopol/.local/share/applications/palemoon.desktop
/usr/share/applications/palemoon.desktop
Hope this helps
Re: How to set default browser?
One trick is to "cheat" system is to install some another browser like Firefox and make shortcut fromleadwtZ wrote: ⤴Mon Mar 12, 2018 1:59 pm That is fair enough I think as it is not a package as such it is a .tar
Code: Select all
locate palemoon.desktop /home/geopol/.local/share/applications/palemoon.desktop /usr/share/applications/palemoon.desktop
/usr/share/applications/palemoon.desktop
to /usr/share/applications/firefox.desktop
, and set "Firefox as Palemoon" about a default browser.
Code: Select all
apt install firefox
sudo mv /usr/share/applications/firefox.desktop /usr/share/applications/firefox.desktop.orig
sudo ln -s /usr/share/applications/palemoon.desktop /usr/share/applications/firefox.desktop
gvfs-mime --set x-scheme-handler/http firefox.desktop
gvfs-mime --set x-scheme-handler/https firefox.desktop
Re: How to set default browser?
Interesting that the system has to be 'cheated' that seems a little odd to me.
However I will think on it and maybe try it too but not keen on having Firefox (or other) sitting on the system.
Thanks - appreciated.
However I will think on it and maybe try it too but not keen on having Firefox (or other) sitting on the system.
Thanks - appreciated.
Re: How to set default browser?
Why don't you just install Pale Moon with the installer tool?
http://linux.palemoon.org/download/installer/
Or, there is also an official endorsed third-party build of which you can add its ppa.
https://software.opensuse.org/download. ... e=palemoon
http://linux.palemoon.org/download/installer/
Or, there is also an official endorsed third-party build of which you can add its ppa.
https://software.opensuse.org/download. ... e=palemoon
Re: How to set default browser?
Schultz I do use the PM installer however I have now added Steve's PPA and with the result that Pale Moon now appears in Preferred Apps!
Nice one - thanks
Nice one - thanks