]> Sergey Matveev's repositories - dotfiles.git/blob - xombrero/.xombrero.conf
DuckDuckGo uses another URL now
[dotfiles.git] / xombrero / .xombrero.conf
1 ##
2 ## GENERAL SETTINGS
3 ##
4
5 #
6 # The strategy for the config file is as follows:
7 #
8 # Boolean values are the opposite of the default and need to simply be
9 # uncommented to alter the default.
10 #
11 # Text values *are* set to the default and in order to change them one must
12 # uncomment the option *and* change the value.
13 #
14
15 # NOTE: browser_mode and gui_mode MUST be the first entries in this
16 # file!
17
18 # Normal browser operation (default).
19 # browser_mode          = normal
20
21 # Prevent tracking operation.
22 browser_mode            = whitelist
23
24 # Classic GUI (default).
25 # gui_mode              = classic
26
27 # Minimalistic GUI.
28 gui_mode                = minimal
29
30 home                    = file:///home/stargrave/.lynx_bookmarks.html
31 download_dir            = ~/tmp
32 download_mode           = start
33 # download_notifications = 1
34 # window_maximize       = 1
35 # window_width          = 1024
36 # window_height         = 768
37 # enable_spell_checking = 1
38 # spell_check_languages = en_US
39 # default_zoom_level    = 1.0
40 encoding                = UTF-8
41 ssl_ca_file             = /usr/local/share/certs/ca-root-nss.crt
42 # ssl_strict_certs      = 1
43 enable_strict_transport = 1
44 # ctrl_click_focus      = 1
45 # append_next           = 0
46 # save_global_history   = 1
47 color_visited_uris      = 0
48 guess_search            = 1
49 # enable_autoscroll     = 1
50 # session_autosave      = 1
51 # history_autosave      = 1
52 # autofocus_onload      = 1
53 # single_instance       = 1
54 enable_socket           = 1
55 # enable_js_autorun     = 0
56 auto_load_images        = 0
57 enable_localstorage     = 1
58 # userstyle             = /usr/local/share/xombrero/style.css
59 # userstyle_global      = 1
60 enable_favicon_entry    = 0
61 enable_favicon_tabs     = 0
62 # preload_strict_transport = 1
63 # referer               = always
64 referer         = same-domain
65 warn_cert_changes       = 1
66 enable_cache            = 0
67 # js_auto_open_windows  = 0
68
69 # See http://www.xroxy.com/proxylist.php for a good list of open
70 # proxies.
71 #
72 # polipo
73 # http_proxy                    = http://127.0.0.1:8123
74 #
75 # tsocks
76 # http_proxy                    = http://127.0.0.1:1080
77 #
78 http_proxy = socks5://localhost:4444/
79 # If you only occasionally use a proxy
80 http_proxy_starts_enabled       = 0
81
82 # Search engines; uncomment one of these lines for you favorite search
83 # engine.
84 #
85 # Google
86 # search_string         = https://www.google.com/search?q=%s
87 #
88 # Yahoo
89 # search_string         = http://search.yahoo.com/search?p=%s
90 #
91 # Start Page
92 # search_string         = https://startpage.com/do/search?language=english_us&cat=web&query=%s
93 #
94 # DuckDuckGo
95 search_string           = https://html.duckduckgo.com/html?q=%s
96
97 # External editor.
98 # NOTE: The editor specified here must not fork into the background.
99 #
100 # Examples of editors:
101 external_editor = st -e vim -f <file>
102 # external_editor       = gvim -f <file>
103 # external_editor       = xterm -geometry 177x58+0+0 -font -*-fixed-medium-r-*-*-15-*-*-*-*-*-iso8859-* -e vim -f <file>
104 # external_editor       = emacsclient -c <file>
105
106 # "default_script" points to a script executed by the run_script
107 # command. The only argument passed to this script is the current URI.
108 #
109 # default_script        = ~/.xombrero/playflash.sh
110
111 # "user_agent" can be set to just about anything, for a comprehensive
112 # list see: http://www.useragentstring.com/pages/All/ . If more than one
113 # "user_agent" is given, then xombrero will use them in a round-robin
114 # fashion for each request.
115 #
116 #user_agent             = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
117 #user_agent             = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
118 #user_agent             = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0
119 #user_agent             = Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7C144 Safari/528.16
120 #user_agent = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1
121 #
122
123 ##
124 ## ALIASES
125 ##
126
127 # Aliases are given in the following format:
128 #
129 #   alias = <alias>, <link>
130 #
131 # Where the link part might contain "%s", the "%s" will be substituted
132 # with the user's input when the alias is expanded.
133
134 # alias = s,      https://www.google.com/search?q=%s
135 # alias = w,      https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%3ASearch&search=%s
136 # alias = ports,  http://openports.se/search.php?so=%s
137
138 alias = gg, https://www.google.com/search?q=%s
139 alias = oid, https://oidref.com/%s
140 alias = py, https://pypi.org/project/%s/
141 alias = rfc, https://tools.ietf.org/html/rfc%s
142 alias = we, https://en.wikipedia.org/wiki/%s
143 alias = wr, https://ru.wikipedia.org/wiki/%s
144
145 ##
146 ## COOKIE, JAVASCRIPT AND PLUGIN WHITE LISTS
147 ##
148
149 # Add the domains you trust.
150
151 # cookie_wl             = .conformal.com
152 # cookie_wl             = .peereboom.us
153
154 # js_wl                 = .conformal.com
155 # js_wl                 = .peereboom.us
156
157 # pl_wl                 = .conformal.com
158 # pl_wl                 = .peereboom.us
159
160
161 ##
162 ## FORCE HTTPS FOR SITES
163 ##
164
165 # Add the domains of sites that should be only accesed over HTTPS.
166
167 # force_https           = .conformal.com
168
169
170 ##
171 ## MIME TYPES
172 ##
173
174 # PDF, note that xpdf can't load a URI directly; use "@" in front of
175 # mime_type to indicate to download the file first.
176
177 # mime_type             = application/pdf,kpdf
178 # mime_type             = @application/pdf,xpdf
179
180 # Specific MIME type for video.
181 # mime_type             = video/x-ms-wmv,mplayer
182 # mime_type             = video/quicktime,mplayer
183
184 # Default MIME type for video.
185 # mime_type             = video/*,mplayer
186
187 # Default MIME type for audio.
188 # mime_type             = audio/*,vlc
189
190 # Word documents.
191 # mime_type             = application/msword,soffice
192
193 # Ignoring flash can be done by using the donothing pseudo-binary.
194 # mime_type             = application/x-shockwave-flash,donothing
195
196
197 ##
198 ## ADVANCED SETTINGS
199 ##
200
201 # resource_dir          = /usr/local/share/xombrero/
202 # refresh_interval      = 10
203 # url_regex             = ^[[:blank:]]*[^[:blank:]]*([[:alnum:]-]+\.)+[[:alnum:]-][^[:blank:]]*[[:blank:]]*$
204 # gnutls_priority_string = NORMAL:%COMPAT
205
206 # NOTE: webkit 1.4.x overwrites these values!
207 # max_host_connections  = 5
208 # max_connections       = 25
209
210
211 ##
212 ## ADVANCED GUI SETTINGS
213 ##
214
215 # The following low-level GUI settings are set by the high-level setting
216 # "gui_mode".
217
218 # The settings for "gui_mode = classic" are as follows:
219
220 # fancy_bar             = 1
221 # show_tabs             = 1
222 # tab_style             = normal
223 # userstyle_global      = 0
224 # show_url              = 1
225 # show_statusbar        = 0
226 # show_scrollbars       = 1
227
228 # The settings for "gui_mode = minimal" are as follows:
229
230 # fancy_bar             = 0
231 # show_tabs             = 1
232 # tab_style             = compact
233 # show_url              = 0
234 # show_statusbar        = 1
235 # show_scrollbars       = 0
236
237 # The following are settings shared between "classic" and "minimal"
238 # "gui_mode":
239
240 # statusbar_elems       = BP
241 statusbar_elems = BP|T
242 # icon_size             = 2
243 # cmd_font              = monospace normal 9
244 # oops_font             = monospace normal 9
245 # statusbar_font        = monospace normal 9
246 # tabbar_font           = monospace normal 9
247
248
249 ##
250 ## ADVANCED COOKIE AND JAVASCRIPT SETTINGS
251 ##
252
253 # The following low-level settings are set by the high-level setting
254 # "browser_mode", and shouldn't be tweaked manually unless you know what
255 # you are doing.
256
257 # The settings for "browser_mode = normal" are as follows:
258
259 # allow_volatile_cookies        = 0
260 # cookie_policy                 = allow
261 # cookies_enabled               = 1
262 # enable_cookie_whitelist       = 0
263 # read_only_cookies             = 0
264 # save_rejected_cookies         = 0
265 # session_timeout               = 3600
266 # enable_scripts                = 1
267 # enable_js_whitelist           = 0
268 # enable_localstorage           = 1
269 # enable_plugins                = 1
270 # enable_plugin_whitelist       = 0
271 # allow_insecure_content        = 1
272 # allow_insecure_scripts        = 1
273 # do_not_track                  = 0
274
275 # The settings for "browser_mode = whitelist" are as follows:
276
277 # allow_volatile_cookies        = 0
278 cookie_policy                   = no3rdparty
279 # cookies_enabled               = 1
280 # enable_cookie_whitelist       = 1
281 # read_only_cookies             = 0
282 # save_rejected_cookies         = 0
283 # session_timeout               = 3600
284 # enable_scripts                = 0
285 # enable_js_whitelist           = 1
286 # enable_localstorage           = 0
287 # enable_plugins                = 0
288 # enable_plugin_whitelist       = 1
289 # allow_insecure_content        = 0
290 # allow_insecure_scripts        = 0
291 do_not_track                    = 1
292
293
294 ##
295 ## KEY BINDINGS
296 ##
297
298 # To delete all default keybindings use "keybinding = clearall".
299 #
300 # keybinding    = clearall
301 #
302 # Key names can be found at:
303 #
304 #   http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms-compat.h
305 #
306 # Just chop off the "GDK_" part and you have the keyname. Or look at:
307 #
308 #   http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms.h
309 #
310 # and chop off "GDK_KEY_".
311 #
312 # Be aware that the names are case sensitive!
313 #
314 # The default keybindings are the following:
315 #
316 # keybinding    = command,colon
317 # keybinding    = search,slash
318 # keybinding    = searchb,question
319 # keybinding    = command_mode,!Escape
320 # keybinding    = insert_mode,i
321 # keybinding    = cookiejar,!M1-j
322 # keybinding    = downloadmgr,!M1-d
323 # keybinding    = history,!M1-h
324 # keybinding    = print,!C-p
325 # keybinding    = quitall,!C-q
326 # keybinding    = restart,!M1-q
327 # keybinding    = run_script,!M1-r
328 # keybinding    = js toggle,!C-j
329 # keybinding    = cookie toggle,!M1-c
330 # keybinding    = togglesrc,!C-s
331 # keybinding    = yankuri,y
332 # keybinding    = pasteuricur,p
333 # keybinding    = pasteurinew,P
334 # keybinding    = toplevel toggle,!F4
335 # keybinding    = help,!F1
336 keybinding      = loadimages,!F1
337 keybinding      = :set auto_load_images=1,!F3
338 # keybinding    = proxy toggle,!F2
339 # keybinding    = searchnext,n
340 # keybinding    = searchprevious,N
341 # keybinding    = focusaddress,!F6
342 # keybinding    = focussearch,!F7
343 # keybinding    = hinting,f
344 # keybinding    = hinting,period
345 # keybinding    = hinting_newtab,S-F
346 # keybinding    = hinting_newtab,comma
347 # keybinding    = userstyle,s
348 # keybinding    = userstyle_global,S
349 # keybinding    = goback,BackSpace
350 # keybinding    = goback,!M1-Left
351 # keybinding    = goforward,!S-BackSpace
352 # keybinding    = goforward,!M1-Right
353 keybinding      = reload,r
354 # keybinding    = reload,!F5
355 # keybinding    = reload,!C-r
356 # keybinding    = reload,!C-l
357 # keybinding    = favorites,!M1-f
358 # keybinding    = scrolldown,j
359 # keybinding    = scrolldown,Down
360 # keybinding    = scrollup,k
361 # keybinding    = scrollup,Up
362 # keybinding    = scrollbottom,G
363 # keybinding    = scrollbottom,End
364 # keybinding    = scrolltop,Home
365 # keybinding    = scrollpagedown,space
366 # keybinding    = scrollpagedown,!C-f
367 # keybinding    = scrollpagedown,Page_Down
368 # keybinding    = scrollhalfdown,!C-d
369 # keybinding    = scrollpageup,Page_Up
370 # keybinding    = scrollpageup,!C-b
371 # keybinding    = scrollhalfup,!C-u
372 # keybinding    = scrollright,l
373 # keybinding    = scrollright,Right
374 # keybinding    = scrollfarright,dollar
375 # keybinding    = scrollleft,h
376 # keybinding    = scrollleft,Left
377 # keybinding    = scrollfarleft,0
378 # keybinding    = statustoggle,!C-n
379 keybinding      = stop,!C-c
380 # keybinding    = stop,!S-F5
381 # keybinding    = tabnew,!C-t
382 #keybinding     = tabclose,!d
383 keybinding      = tabclose,!C-w
384 # keybinding    = tabundoclose,U
385 # keybinding    = tabnext 1,!C-1
386 # keybinding    = tabnext 2,!C-2
387 # keybinding    = tabnext 3,!C-3
388 # keybinding    = tabnext 4,!C-4
389 # keybinding    = tabnext 5,!C-5
390 # keybinding    = tabnext 6,!C-6
391 # keybinding    = tabnext 7,!C-7
392 # keybinding    = tabnext 8,!C-8
393 # keybinding    = tabnext 9,!C-9
394 # keybinding    = tabfirst,!C-less
395 # keybinding    = tablast,!C-greater
396 keybinding      = tabprevious,!C-Page_Up
397 keybinding      = tabnext,!C-Page_Down
398 keybinding      = tabnext,!C-Tab
399 # keybinding    = focusout,!C-minus
400 # keybinding    = focusin,!C-equal
401 # keybinding    = focusin,!C-plus
402 # keybinding    = focusreset,!C-0
403 # keybinding    = editelement,!C-i
404 # keybinding    = passthrough,!C-z
405 keybinding      = :open ,o
406 keybinding      = :open <uri>,O
407 keybinding      = :tabnew ,t
408 keybinding      = :tabnew <uri>,T
409
410 # parse the contents of another configuration file
411 # include_config        = ~/.xombrero_alternate.conf