File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,11 +3,41 @@ title: Set Default Browser in Antix Linux
33description : How to Set Default Browser in Antix linux
44---
55
6+ import { Steps } from " @astrojs/starlight/components" ;
7+
68So, you have to have a .desktop file with the name of the browser in either these 2 directories
79
810- ` ~/.local/share/applications/ `
911- ` /usr/share/applications/ `
1012
11- ``` sh
12- xdg-settings set default-web-browser name_of_the_browser_file.desktop
13- ```
13+ There are 3 commands that set default browser in diffrent ways (why didn't they made it a single Command?)
14+
15+ <Steps >
16+
17+ 1 . ## Set Default for most general Launches
18+
19+ ** Pupose** : controls which browser to Lauch when another app (Like Login with Google button in Zoom) calls the default browser
20+
21+ ``` sh
22+ xdg-settings set default-web-browser name_of_the_browser_file.desktop
23+ ```
24+
25+ 2 . ## Set Default for cli tools or Scripts
26+
27+ Terminal tools or scripts that call the ` x-www-browser ` command
28+
29+ ``` sh
30+ sudo update-alternatives --config x-www-browser
31+ ```
32+
33+ then it shows a list of Browsers to Choose from, enter the Serial number of the browser as shown in the list
34+
35+ 3 . ## Set default for Antix Specific things
36+
37+ Icons like the ` Web Browser Icon ` that opens Deafult Web browser based on Antix's Configurations
38+
39+ ``` sh
40+ desktop-defaults-set browser name_of_the_browser_file.desktop
41+ ```
42+
43+ </Steps >
You can’t perform that action at this time.
0 commit comments