File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ valid_custom_tool()
31
31
32
32
valid_tool () {
33
33
case " $1 " in
34
- firefox | iceweasel | konqueror | w3m | links | lynx | dillo | open | start)
34
+ firefox | iceweasel | chrome | chromium | konqueror | w3m | links | lynx | dillo | open | start)
35
35
;; # happy
36
36
* )
37
37
valid_custom_tool " $1 " || return 1
103
103
104
104
if test -z " $browser " ; then
105
105
if test -n " $DISPLAY " ; then
106
- browser_candidates=" firefox iceweasel konqueror w3m links lynx dillo"
106
+ browser_candidates=" firefox iceweasel chrome chromium konqueror w3m links lynx dillo"
107
107
if test " $KDE_FULL_SESSION " = " true" ; then
108
108
browser_candidates=" konqueror $browser_candidates "
109
109
fi
@@ -146,6 +146,11 @@ case "$browser" in
146
146
test " $vers " -lt 2 && NEWTAB=' '
147
147
" $browser_path " $NEWTAB " $@ " &
148
148
;;
149
+ chrome|chromium)
150
+ # Actual command for chromium is chromium-browser.
151
+ # No need to specify newTab. It's default in chromium
152
+ eval " $browser_path " " $@ " &
153
+ ;;
149
154
konqueror)
150
155
case " $( basename " $browser_path " ) " in
151
156
konqueror)
You can’t perform that action at this time.
0 commit comments