-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhow_to_set_the_default_browser.txt
56 lines (35 loc) · 1.17 KB
/
how_to_set_the_default_browser.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
There are 3 known ways to set the default browser:
* Using BROWSER environment variable
* Inside Gnome, using Gnome Control Panel, stored in gconf
* Inside KDE, using KControl, stored in a plain text file
== Using environment variable ==
Add the following line to your login script (~/.bash_profile or
~/.bashrc):
export BROWSER=browser-selector
== Inside Gnome ==
=== Using Gnome Control Panel ===
This method is only available if you have Gnome installed.
Run this program:
gnome-default-applications-properties
=== Using gconf ===
This method can be used by people who don't have Gnome installed, but
at least have gconf and gconf-editor.
Run this program:
gconf-editor
Then, look for the following folders:
desktop/gnome/url-handlers/http
desktop/gnome/url-handlers/https
Edit ''command'' to:
browser-selector %s
Leave ''enabled'' checked.
Leave ''needs_terminal'' unchecked.
== Inside KDE ==
=== Using KControl ===
Kcontrol/KDE Components/Component Chooser/Web Browser
=== Editing manually ===
Edit this file:
~/.kde/share/config/kdeglobals
Add/modify the following line, inside ''[General]'' section:
BrowserApplication=!browser-selector
# Vim modeline:
# vi:tw=70 et