These are the only things that are desktop defaults on this machine from xdg's perspective:I found the command, but it doesn't provide a list of things I can check.
Signed,
Matthew Campbell
Code:
$ xdg-settings --list
Known properties:
default-url-scheme-handler Default handler for URL scheme
default-web-browser Default web browser
$ xdg-settings get default-web-browser
firefox-esr.desktop
$ xdg-settings get default-url-scheme-handler
There was no output for the last command, so no default-url-scheme-handler
This machine has no desktop environment, but runs dwm to manage windows. The other way to arrange defaults is through the alternatives software using:
Code:
update-alternatives --config <someCommand>
On this machine:
Code:
[root@min ~]# update-alternatives --config www-browser
There are 3 choices for the alternative www-browser (providing /usr/bin/www-browser).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/lynx 40 auto mode
1 /usr/bin/elinks 35 manual mode
2 /usr/bin/lynx 40 manual mode
3 /usr/bin/w3m 25 manual mode
Press <enter> to keep the current choice[*], or type selection number:
The output doesn't even show firefox-esr because there is no desktop environment, but the alternatives which are installed from the package manager are present.
Nevertheless, on this machine the other browsers which run are as follows:
Code:
~/browsers]$ ls -1
brave
firefox
ftube
midori
mullvad-browser
palemoon
tor-browser
ungoogled-chromium
librewolf
These browsers are all run from the created directory /home/$USER/browsers, and are outside the apt package manager on this debian system. The are downloaded from their home sites and all work perfectly well. They are not automatically updated, but most have a polling mechanism so that when a new version is released, a notice appears on screen, at which point the user can download the new release, install it and use it. Note that the firefox here is the most recent one extracted from the tarball from mozilla and is different to the firefox-esr that the xdg-settings can manipulate and which is upgraded through the package manager. None of this may be of interest to implement since it involves manual installation, but it outlines an alternative which may be of interest to consider. Linux has great flexibility .
Last edited: