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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
|
.TH DWB 1 "March 2012" dwb "USER COMMANDS"
.SH NAME
dwb \- dynamic web browser
.SH SYNOPSIS
.B dwb
[ options ] [ <urls> ]
.SH DESCRIPTION
dwb is a small webbrowser based on WebKit and GTK which aims to be mostly
keyboard-driven.
.SH COMMAND LINE ARGUMENTS
.TP
.BR \-e ,\ --embed \ <wid>
Embed dwb into <wid>.
.TP
.BR \-f ,\ --force \ <wid>
Force restoring a previously saved session, even if it seems that another
process has opened a session with the same name.
.TP
.BR \-l ,\ --list-sessions
List previously saved sessions. A
.I *
indicates that another instance has currently opened the session.
.TP
.BR \-n ,\ --new-instance
New instance, overrides setting
.IR single-instance .
.TP
.BR \-p ,\ --profile \ <name>
Load configuration for profile
.I <name>
.TP
.BR \-r ,\ --restore \ <name>
Restore session with name
.I <sessionname>
or the default session, if sessionname is omitted.
.TP
.BR \-R ,\ --override-restore
Open a new session, even if
.I save-session
is enabled.
.TP
.BR \-x ,\ --execute \ <commands>
Execute a list list of dwb commands seperated by
.IR ;; ,
see
.B CUSTOM COMMANDS
and
.B COMMAND OVERVIEW
for details.
If
.I single instance
is enabled all commands will be executed in the primary instance.
.TP
.B \-v
Show version information and exit.
.TP
.B <urls>
URLs loaded on startup.
.SH MODES
dwb has different modes:
.TP
.B Normal mode
The default mode. Pressing "Escape" will get you always back to
normal mode.
.TP
.B Insert mode
Used for editing text elements in a webpage.
.TP
.B Hint mode
Follow links via hints.
.TP
.B Command mode
Execute dwb commands from the builtin commandline.
.SH SHORTCUTS
Note: all shortcuts are case sensitive, e.g. C-H means Control-Shift-h.
.SS "Normal mode shortcuts:"
.TP
.BR [n]j
Scroll [n times] down (command:
.BR scroll_down ,
aliases:
.BR down ).
.TP
.BR [n]k
Scroll [n times] up (command:
.BR scroll_up ,
aliases:
.BR up ).
.TP
.BR [n]h
Scroll [n times] left (command:
.BR scroll_left ,
aliases:
.BR left ).
.TP
.BR [n]l
Scroll [n times] right (command
.BR scroll_right ,
aliases:
.BR right ).
.TP
.BR [n]gg
Scroll to the top or to n% of the page (command
.BR scroll_top ,
aliases:
.BR top ).
.TP
.BR [n]G
Scroll to the bottom or to n% of the page (command
.BR scroll_bottom ,
aliases:
.BR bottom ).
.TP
.BR [n]C-f
Scroll [n] pages down (command
.BR scroll_page_down ,
aliases:
.BR pagedown ).
.TP
.BR [n]C-b
Scroll [n] pages up (comman
.BR scroll_page_up ,
aliases:
.BR pageup ).
.TP
.BR [n]C-d
Scroll [n] half pages down (command
.BR scroll_halfpage_down ,
aliases:
.BR halfdown ).
.TP
.BR [n]C-u
Scroll [n] half pages up (command
.BR scroll_halfpage_up ,
aliases:
.BR halfup ).
.TP
.B :
Enter Command mode.
.TP
.BR o
Open new url in the focused tab (command
.BR open ,
aliases:
.BR o ).
.TP
.BR go
Open url in the focused tab, set the current url in the navigation bar (comand
.BR open_url ).
.TP
.BR O
Open url in a new tab (command
.BR tabopen ,
aliases:
.BR topen ,
.BR t ).
.TP
.BR gO
Open url in a new tab, set the current url in the navigation bar (command
.IR tabopen_url ).
.TP
.BR wo
Open url in a new instance (command
.BR winopen ,
aliases:
.BR wopen ,
.BR w ).
.TP
.BR wO
Open url in a new window, set the current url in the navigation bar (command
.BR winopen_url ).
.TP
.BR i
Enter insert mode (command
.BR insert_mode ,
aliases:
.BR i ,
.BR insert ).
.TP
.B C-n
Enter normal mode.
.TP
.BR ga
Add a new blank tab (command
.BR tab_new ).
.TP
.BR d
Close current tab (command
.BR close_tab ,
aliases:
.BR close ).
.TP
.BR [n]gc
Clear tab n or of current tab, clears the history of the tab and loads
.IR about:blank .
(command
.BR clear_tab ,
aliases:
.BR clear ).
.TP
.BR co
Close all tabs except for the current one (command
.BR only ).
.TP
.BR C-q
Quit (command
.BR quit ,
aliases:
.BR q ).
.TP
.BR u
Undo closing last tab (command
.BR undo ,
aliases:
.BR u ).
.TP
.BR C-h
Open the default startpage (command
.BR start_page ,
aliases:
.BR home ).
.TP
.BR H
Go back (command
.BR history_back ,
aliases:
.BR back ,
.BR ba ).
.TP
.BR L
Go forward (command
.BR history_forward ,
aliases:
.BR forward ,
.BR fo ).
.TP
.BR th
Go back in a new tab (command
.BR tab_hist_back,
aliases:
.BR tabback ,
.BR tba ).
.TP
.BR tl
Go forward in a new tab (command
.BR tab_hist_forward ,
aliases:
.BR tabforward ,
.BR tfo ).
.TP
.BR wh
Go back in a new window (command
.BR win_hist_back ,
aliases:
.BR winback ,
.BR wba ).
.TP
.BR wl
Go forward in a new window (command
.BR win_hist_forward ,
aliases:
.BR winforward ,
.BR wfo ).
.TP
.BR M
Add a bookmark (command
.BR bookmark ,
aliases:
.BR bmark ,
.BR bma ).
.TP
.B gb
Show Bookmarks (command
.BR bookmarks ,
aliases:
.BR bmarks ,
.BR bmas ).
.TP
.B gB
Show Bookmarks, open bookmark in a new tab (command
.BR tab_bookmarks ,
aliases:
.BR tabmarks ).
.TP
.B wB
Show Bookmarks, open bookmark in a new window (command
.BR win_bookmarks ,
aliases:
.BR winmarks ).
.TP
.BR m
Add a quickmark (command
.BR save_quickmark ,
aliases:
.BR quickmark ,
.BR qmark ).
.TP
.BR b
Open quickmark (command
.BR quickmark ,
aliases:
.BR qmarks ).
.TP
.BR B
Open quickmark in a new tab (command
.BR tab_quickmark ,
aliases:
.BR tabqmarks ).
.TP
.BR wb[:graph:]
Open quickmark in a new window (command
.BR win_quickmark ,
aliases:
.BR winqmarks ).
.TP
.BR [n]r
Reload tab n or current tab if n is omitted (command
.BR reload ,
aliases:
.BR re ).
.TP
.BR [n]R
Reload tab n or current tab if n is omitted without using any cached data (command
.BR reload_bypass_cache ,
aliases:
.BR refull ).
.TP
.BR [n]C-s
Stop loading of tab n or of current tab is [n] is omitted (command
.BR stop_loading ,
aliases:
.BR stop ,
.BR st ).
.TP
.BR [n]+
Zoom in [n times] (command
.BR zoom_in ,
aliases:
.BR zi ).
.TP
.BR [n]-
Zoom out [n times] (command
.BR zoom_out ,
aliases:
.BR zo ).
.TP
.BR [n]=
Zoom to n percent or to 100% if n is omitted(command
.BR zoom,
aliases:
.BR z ).
.TP
.BR sf
Save all configuration files (command
.BR save ).
.TP
.BR ZZ
Save current session and exit (command
.BR save_session ,
aliases:
.BR wq ).
.TP
.BR gZZ
Save current session with name and exit (command
.BR save_named_session ,
aliases:
.BR wqn ).
.TP
.BR [n]J
Cycle focus [n tab] forwards. (command
.BR focus_next ,
aliases:
.BR tabnext ).
.TP
.BR [n]K
Cycle focus [n tab] backwards. (command
.BR focus_prev ,
aliases:
.BR tabprev ).
.TP
.BR [n]T
Focus nth tab or first, if n is omitted.
(command
.BR focus_tab ,
aliases:
.BR tab ).
.TP
.BR [n]gm
Move current tab to position [n] or to first position if n is omitted.
(command
.BR tab_move ,
aliases:
.BR tabm ).
.TP
.BR [n]gl
Move current tab [n] positions left.
(command
.BR tab_move_left ,
aliases:
.BR tabl ).
.TP
.BR [n]gr
Move current tab [n] positions right.
(command
.BR tab_move_right ,
aliases:
.BR tabr ).
.TP
.BR gt
Show all open tabs. (command
.BR buffers ,
aliases:
.BR bu ).
.TP
.BR [n]C-P
Protect tab [n]. Closing this tab must be confirmed (command
.BR protect ,
aliases:
.BR prot ).
.TP
.BR [n]xd
Lock tab [n]. Locking a tab will lock this tab to the current domain, it's not
possible to navigate to another domain until unlocked.
.BR lock_domain ,
aliases:
.BR dlock ).
.TP
.BR [n]xu
Lock tab [n]. Locking a tab will lock this tab to the current uri, it's not
possible to navigate to another uri until unlocked.
.BR lock_uri ,
aliases:
.BR ulock ).
.TP
.BR f
Show hints (command
.BR hints ,
aliases:
.BR hints ,
.BR hi ).
.TP
.BR F
Show hints, open link in a new tab. (command
.BR hints_tab ,
aliases:
.BR tabhints ,
.BR thi ).
.TP
.BR wf
Show hints, open link in a new tab. (command
.BR hints_win ,
aliases:
.BR winhints ,
.BR whi ).
.TP
.BR ;i
Follow image (command
.BR hints_images ,
aliases:
.BR ihints ,
ihi ).
.TP
.BR ;I
Follow image in a new tab (command
.BR hints_images_tab ,
aliases:
.BR itabhints ,
.BR ithi ).
.TP
.BR ;e
Focus editable elements via hints (command
.BR hints_editable ,
aliases:
.BR ehints ,
.BR ehi ).
.TP
.BR ;o
Set hint\'s url in commandline (command
.BR hints_url ,
aliases:
.BR uhints ,
.BR uhi ).
.TP
.BR ;O
Set hint\'s url in commandline, open in a new tab (command
.BR hints_url_tab ,
aliases:
.BR utabhints ,
.BR uthi ).
.TP
.BR ;d
Download via hints (command
.BR hints_download ,
aliases:
.BR dhints ).
.TP
.BR ;y
Save link location to clipboard (command
.BR hints_clipboard ,
aliases:
.BR chints ,
.BR chi ).
.TP
.BR ;Y
Save link location to primary selection (command
.BR hints_primary ,
aliases:
.BR phints ,
.BR phi ).
.TP
.BR ;r
Rapid hint mode, each matching hint opens a new tab in background. (command
.BR hints_rapid ,
aliases:
.BR rhints ,
.BR rhi ).
.TP
.BR ;R
Rapid hint mode, each matching hint opens a new window. (command
.BR hints_rapid_win ,
aliases:
.BR wrhints ,
.BR wrhi ).
.TP
.BR gf
Toggle "view source" (command
.BR view_source ,
aliases:
.BR source ,
.BR so ).
.TP
.BR CC
Allow persistent cookie for the current website. The domain will be saved in
.IR cookies.allow .
Cookies that are allowed by the cookies.allow whitelist are stored in
$XDG_CONFIG_HOME/dwb/$profilename/cookies. (command
.BR allow_cookie ,
aliases:
.BR cookie ).
.TP
.BR CS
Allow session cookie for the current website. The domain will be saved in
.IR cookies_session.allow .
This is only useful if 'cookies-store-policy' is set to 'never', see
cookies-store-policy for details. (command
.BR allow_session_cookie ,
aliases:
.BR scookie ).
.TP
.BR CT
Allow session cookies for the current website temporarily. Only first party
cookies are allowed. The domain is not saved to a whitelist and the cookies will
not be saved persitently. (command
.BR allow_session_cookie_tmp ,
aliases:
.BR tcookie ).
.TP
.BR [n]yy
Yank the url of tab n or of current tab if n is omitted to clipboard
(command
.BR yank ).
.TP
.BR yY
Yank the url of tab n or of current tab if n is omitted to primary
selection (command
.BR yank_primary ,
aliases:
.BR pyank ).
.TP
.BR yt
Yank the title of tab n or of current tab if n is omitted to clipboard
(command
.BR yank_title ,
aliases:
.BR tyank ).
.TP
.BR yT
Yank the title of tab n or of current tab if n is omitted to primary
selection (command
.BR yank_title_primary ,
aliases:
.BR tpyank ).
.TP
.BR pp
Paste from clipboard (command
.BR paste ).
.TP
.BR pP
Paste from primary selection (command
.BR paste_primary ,
aliases:
.BR ppaste ).
.TP
.BR Pp
Paste from clipboard and load in a new tab (command
.BR tab_paste ,
aliases:
.BR tpaste ).
.TP
.BR PP
Paste from primary selection and load in a new tab (command
.BR tab_paste_primary ,
aliases:
.BR tppaste ).
.TP
.BR wp
Paste from clipboard and load in a new window (command
.BR paste_nw ,
aliases:
.BR winpaste ).
.TP
.BR wP
Paste from primary selection and load in a new window (command
.BR paste_primary_nw ,
aliases:
.BR winppaste ).
.TP
.BR [n]ad
Cancel the download with number n or the first download in the lists of running
downloads if n is omitted. (command
.BR cancel_download ).
.TP
.BR gs
Add a searchengine. Textfields can be chosen with tab and a keyword must be
specified. The first defined searchengine will be the default searchengine. The
keyword can be used in all open commands, e.g.
.I :open <keyword> <searchterm>
(command
.BR save_search_field ,
aliases:
.BR search ).
.TP
.BR Sb
Show bookmarks (command
.BR show_bookmarks ,
aliases:
.BR sbookmarks ).
.TP
.BR Sq
Show quickmarks (command
.BR show_quickmarks ,
aliases:
.BR squickmarks ).
.TP
.BR Sh
Show history (command
.BR show_history ,
aliases:
.BR shistory ).
.TP
.BR Sd
Show download (command
.BR show_downloads ,
aliases:
.BR sdownloads ).
.TP
.BR Sk
Show keys (command
.BR show_keys ,
aliases:
.BR skeys ).
.TP
.BR Ss
Show settings (command
.BR show_settings ,
aliases:
.BR ssettings ).
.TP
.BR ss
Set setting, the interactive version of the command set, for changing settings
in scripts use set instead (command
.BR set_setting ).
.TP
.BR sl
Set local setting, changes a setting but doesn't save the setting to
configuration file. The interactive version of the command local_set, for
changing settings locally in scripts use local_set instead
(command
.BR set_local_setting ).
.TP
.BR sk
Set keyboard shortcut (command
.BR set_key ,
aliases:
.BR keys ).
.TP
.BR C-p
Toggle proxy (command
.BR proxy ).
.TP
.BR tsh
Toggle scripts for current host permanently (command
.BR toggle_scripts_host ,
aliases:
.BR hscript ).
.TP
.BR tsu
Toggle scripts for current url permanently (command
.BR toggle_scripts_uri ,
aliases:
.BR uscript ).
.TP
.BR tth
Toggle scripts for current host temporarily (command
.BR toggle_scripts_host_tmp ,
aliases:
.BR thscript ).
.TP
.BR ttu
Toggle scripts for current url temporarily (command
.BR toggle_scripts_uri_tmp ,
aliases:
.BR tuscript ).
.TP
.BR ph
Toggle plugins for current host permanently (command
.BR toggle_plugins_host ,
aliases:
.BR hplugin ).
.TP
.BR pu
Toggle plugins for current url permanently (command
.BR toggle_plugins_uri ,
aliases:
.BR uplugin ).
.TP
.BR pth
Toggle plugins for current host temporarily (command
.BR toggle_plugins_host_tmp ,
aliases:
.BR thplugin ).
.TP
.BR ptu
Toggle plugins for current url temporarily (command
.BR toggle_plugins_uri_tmp ,
aliases:
.BR tuplugin ).
.TP
.BR V
Next navigation action will be opened in a new tab (command
.BR new_tab ).
.TP
.BR W
Next navigation action will be opened in a new window (command
.BR new_win ).
.TP
.BR eu
Show userscripts (command
.TP
.BR [n]wi
Show the webinspector of tab n or of current tab if n is omitted. Note that 'enable-developer-extras' has to be set.
(commmand
.BR web_inspector ,
aliases:
.BR inspect ,
.BR insp ).
.TP
.BR C-e
Open external editor for current input/textarea (command
.BR open_editor ,
aliases:
.BR editor ).
.TP
.BR g.
Toggle hidden files when browsing local filesystem.
(command
.BR open_editor ,
aliases:
editor ).
.TP
.BR F11
Toggle fullscreen
(command
.BR fullscreen ,
aliases:
.BR fs ).
.TP
.BR F12
Toggle presentation mode.
(command
.BR presentation_mode ,
aliases:
.BR present ).
.TP
.BR xx
Toggle visibility of tabbar and statusbar.
(command
.BR toggle_bars ,
aliases:
.BR bars ).
.TP
.BR xt
Toggle visibility of tabbar.
(command
.BR toggle_tabbar ,
aliases:
.BR tbar ).
.TP
.BR xb
Toggle visibility of statusbar.
(command
.BR toggle_statusbar ,
aliases:
.BR sbar ).
.TP
.BR xv
Toggle visibility of a tab.
(command
.BR visible ,
aliases:
.BR vis ).
.TP
.BR [n]C-M-p
Print focused frame of tab n or of current tab if n is omitted.
(command
.BR print ,
aliases:
.BR ha ).
.TP
.BR unbound
Execute a javascript snippet (command
.BR execute_javascript ,
aliases:
.BR exja ).
.TP
.BR unbound
Set a setting from commandline (command
.BR set ).
.TP
.BR unbound
Toggle a boolean setting from commandline (command
.BR toggle_setting ,
aliases:
.BR toggle ,
.BR tog ).
.TP
.BR unbound
Load a html string. This command is mainly intended for use in userscripts (command
.BR load_html ).
.TP
.BR unbound
Load a html string in a new tab. This command is mainly intended for use in userscripts (command
.BR load_html_tab ).
.TP
.B Tab (S-Tab)
In normal mode Tab shows the next (previous) shortcut, that matches the
currently entered keysequence.
When opening a url, the next (previous) item in command
history, bookmarks or history will be completed. In hint mode the next (previous)
hint will get focus. Tab also completes settings and shortcut-settings.
When initiating a download, full paths (downloads and spawning programs) and
binaries (spawning programs) in PATH will be completed.
In command mode tab will complete builtin commands and urls if the command
accepts an url.
.SS "Textentry shortcuts"
.TP
.BR C-h
Delete a single letter.
.TP
.BR C-w
Delete word back.
.TP
.BR C-e
Delete word forward.
.TP
.BR C-u
Delete to the beginning of the entry.
.TP
.BR C-i
Delete to the end of the entry.
.TP
.BR C-f
Move cursor one word forward.
.TP
.BR C-b
Move cursor one word back.
.TP
.BR C-j
Show next item in command history.
.TP
.BR C-k
Show previous item in command history.
.TP
.BR C-x
When initalizing a download, C-x toggles between choosing a file path and
choosing a spawning application.
.TP
.BR C-g
Alternative shortcut for activate.
.TP
.BR C-c
Alternative shortcut for escape, the corresponding setting is
.IR entry_escape .
.TP
.BR C-p
Init local path completion.
.TP
.BR C-H
Init history completion.
.TP
.BR C-B
Init bookmark completion.
.TP
.BR C-I
Init input history completion.
.TP
.BR C-S
Init searchengine completion.
.TP
.BR C-U
Init userscript completion.
.TP
.BR C-p
Complete local path.
.SS Shortcut Syntax
All printable shortcuts are case sensitive, i.e. aH means press a then press
shift, then press h. Shortcuts can be combined with a modifier, valid modifiers
are
.BR Control ,
.BR Mod1 ,
.BR Mod4 ,
.BR Button1 ,
.BR Button2 ,
.BR Button3 ,
.BR Button4 ,
.BR Button5
and
.B Shift
where Shift can only be used with non printable keys such as F1, space, Tab, ... .
Non printable keys must be surrounded by @, e.g. "Control @F1@", Shift @space@.
\e and @ itself must be escaped with \e.
.SH CUSTOM COMMANDS
Custom commands are a sequence of dwb commands that can be bound to a shortcut.
The syntax is
.RS
.I <shortcut>:<command>;;<command>;;...
.RE
where shortcut is the shortcut for the commandsequence,
.B :
may be escaped with
.BR \e:
and command is of the form
.RS
.I [numerical modifier]<command or alias> [argument for the command]
.RE
for example
.RS
.I Control W:tabopen http://example.com;; 150zoom
.RE
opens http://example.com in a new tab and zooms to 150%.
.SH COMMAND OVERVIEW
.nf
Command |Alias |Description
---------------------------------------------------------------------------
allow_cookie |cookie |Allow persistent cookies for site
allow_session_cookie |scookie |Allow session cookies for site
allow_session_cookie_tmp|tcookie |Allow session cookies for site
| |temporarily
bookmark |bma, bmark |Bookmark current page
bookmarks |bmas, bmarks |Show bookmarks
buffers |bu |Show all open tabs
cancel_download | |Cancel a download
clear_tab |clear |Clear tab
close_tab |close |Close tab
dump | |Write html of current website to a
| |file or stdout if no argument is given
execute_javascript |exja |Execute a javascript snippet
execute_userscript | |Execute userscript
find_backward |bfind |Find backward
find_forward |ffind |Find forward
find_next |fnext |Find next
find_previous |fprev |Find previous
focus_input | |Focus next input
focus_next |tabnext |Focus next tab
focus_prev |tabprev |Focus previous tab
focus_tab |tab |Focus nth tab
fullscreen |fs |Toggle fullscreen
hints |hi |Follow hints
hints_clipboard |chints, chi |Save link location to clipboard
hints_download |dhints, dhi |Download via hints
hints_editable |ehints, ehi |Focus editable elements
hints_images |ihints, ihi |Follow images
hints_images_tab |itabhinst, ithi |Follow images in a new tab
hints_links |lhints, lhi |Follow links
hints_primary |phints, phi |Save link location to primary
| |selection
hints_rapid |rhints, rhi |Open new tabs in background
| |rapidly
hints_rapid_win |wrhints, wrhi |Open new windows rapidly
hints_tab |tabhints, thi |Follow hints in a new tab
hints_url |uhints, uhi |Set hints url in commandline
hints_url_tab |utabhints, uthi |Set hints url in commandline,
| |open in a new tab
hints_win |winhints, whi |Follow hints in a new window
history_back |ba, back |Go back
history_forward |fo, forward |Go forward
insert_mode |i, insert |Insert mode
local_set | |Set a setting only for the running
| |instance, don't save it to the
| |configuration file
lock_domain |dlock |Lock tab to current domain
lock_uri |ulock |Lock tab to current uri
new_tab | |Open next navigation action in
| |new tab
new_win | |Open next navigation action in
| |new window
only | |Close all tabs except for the
| |current one
open |o |Open url
open_editor |editor |Open external editor for
| |input/textarea.
open_url | |Open, edit current url
paste | |Open from clipboard
paste_primary |ppaste |Open from primary selection
presentation_mode |present |Toggle presentation mode
print |ha |Print page
protect |prot |Protect/unprotect tab
proxy | |Toggle proxy
quickmark |qmarks |Open quickmark
quit |q |Quit
reload |re |Reload current page
reload_bypass_cache |refull |Reload without using cached data
reload_scripts | |Reload all javascript userscripts
reload_userscripts | |Reload userscripts
save | |Save all configuration files
save_named_session |wqn |Save current session with name
save_quickmark |qmark, quickmark|Save a quickmark
save_search_field |search |Add a new searchengine
save_session |wq |Save current session
scroll_bottom |bottom |Scroll to bottom of the page
scroll_down |down |Scroll down
scroll_halfpage_down |halfdown |Scroll one-half page down
scroll_halfpage_up |halfup |Scroll one-half page up
scroll_left |left |Scroll left
scroll_page_down |pagedown |Scroll one page down
scroll_page_up |pageup |Scroll one page up
scroll_right |right |Scroll right
scroll_top |top |Scroll to the top of the page
scroll_up |up |Scroll up
set | |Set a setting
set_key |keys |Set keybinding
set_local_setting | |Set a setting for the running instance
| |interactively
set_setting | |Set a setting interactive
show_keys |skeys |Show and modify keyboard
| |configuration
show_settings |ssettings |Show and modify global properties
start_page |home |Open the default homepage
stop_loading |st, stop |Stop loading current page
tab_bookmarks |tabmarks |Show bookmarks, open in new tab
tab_hist_back |tba, tabback |Go back in a new tab
tab_hist_forward |tfo, tabforward |Go forward in a new tab
tab_move |tabm |Move tab
tab_move_left |tabl |Move tab left
tab_move_right |tabr |Move tab right
tab_new | |Open a new blank tab
tab_paste |tpaste |Open from clipboard in a new tab
tab_paste_primary |tppaste |Open from primary selection in a
| |new tab
tab_quickmark |tabqmarks |Open quickmark in a new tab
tabopen |t, topen |Open in a new tab
tabopen_url | |Open in a new tab, edit current
| |url
toggle_bars |bars |Toggle tabbar and statusbar
toggle_hidden_files |hidden |Toggle hidden files in directory
| |listings
toggle_plugins_host |hplugin |Toggle plugin blocker for host
toggle_plugins_host_tmp |tuplugin |Toggle plugin blocker for domain
| |for this session
toggle_plugins_uri |uplugin |Toggle plugin blocker for uri
toggle_plugins_uri_tmp |tuplugin |Toggle plugin blocker for uri for
| |this session
toggle_scripts_host |hscript |Toggle scripts for current domain
toggle_scripts_host_tmp |thscript |Toggle scripts for current host
| |for this session
toggle_scripts_uri |uscript |Toggle scripts for current uri
toggle_scripts_uri_tmp |tuscript |Toggle scripts for current uri
| |for this session
toggle_setting |tog, toggle |Toggle a setting
toggle_local_setting |loctog |Toggle a setting for the current
| |session
toggle_statusbar |sbar |Toggle statusbar
toggle_tabbar |tbar |Toggle tabbar
undo |u |Undo closing last tab
view_source |so, source |View page source
visible |vis |Toggle visibility of a tab
web_inspector |insp, inspect |Open the webinspector
win_bookmarks |winmarks |Show bookmarks, open in new
| |window
win_hist_back |wba, winback |Go back in a new window
win_hist_forward |wfo, winforward |Go forward in a new window
win_paste |wpaste |Open from clipboard in a new
| |window
win_paste_primary |wppaste |Open primary selection in a new
| |window
win_quickmark |winqmarks |Open quickmark in a new window
winopen |w, wopen |Open in a new window
winopen_url | |Open in a new window, edit
| |current url
yank | |Yank url to clipboard
yank_primary |pyank |Yank url to primary selection
yank_title |tyank |Yank title to clipboard
yank_title_primary |tpyank |Yank title to primary selection
zoom |z |Zoom
zoom_in |zi |Zoom in
zoom_out |zo |Zoom out
.fi
.SH CUSTOMIZATION
dwb can be customized in a web interface (command
.BR show_settings )
or via command line (command
.BR set_setting ).
Modified settings
will be saved in
.IR ~/.config/dwb/settings
when closing dwb.
Shorcuts can also be modified in a web interface (command
.BR show_keys )
or via command line (command
.BR set_key ).
Shortcuts will be saved in
.IR ~/.config/dwb/keys .
If a string value is set to
.IR NULL
the default value will be used. The settings in detail are:
.SS WebKit builtin settings
.TP
.BR adblocker
Block advertisements using a filterlist, see also
.IR adblocker-filterlist .
Default value:
.IR false .
.TP
.BR adblocker-filterlist
A path to a adblock plus compatible filterlist for the adblocker.
Default value:
.IR NULL .
.TP
.BR auto-load-images
Load images automatically. Possible values: true/false,
default value:
.IR true .
.TP
.BR auto-resize-window
Resize window through DOM-methods. Possible values: true/false,
default value:
.IR false .
.TP
.BR auto-shrink-images
Automatically shrink standalone images to fit. Possible values: true/false,
default value:
.IR true .
.TP
.BR cursive-font-family
Default cursive font family used to display text. Possible values: a font description or
NULL,
default value:
.IR NULL .
.TP
.BR custom-encoding
A custom encoding used for the webview. Possible values: encoding string or
NULL,
default value:
.IR NULL .
.TP
.BR default-encoding
The default encoding used to display text. Possible values: encoding string or
NULL,
default value:
.IR NULL .
.TP
.BR default-font-family
The default font family used to display text. Possible values: a font
description or
NULL,
default value:
.IR sans-serif .
.TP
.BR default-font-size
The default font size used to display text. Possible values: a font size
(integer),
default value:
.IR 12 .
.TP
.BR default-monospace-font-size
The default font size used to display monospace text. Possible values: a font size
(integer),
default value:
.IR 10 .
.TP
.BR editable
Whether the content of a webpage should be editable. Possible values:
true/false,
default value:
.IR false .
.TP
.BR enable-caret-browsing
Whether to enable caret browsing. Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-default-context-menu
Whether right-clicks open a context menu. Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-dns-prefetching
Whether webkit prefetches domain names.
default value:
.IR true .
.TP
.BR enable-developer-extras
Whether the web-inspector should be enabled. Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-dom-paste
Whether enable DOM-paste. Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-frame-flattening
Whether to enable the Frame Flattening. With this setting each subframe is expanded
to its contents, which will flatten all the frames to become one scrollable page.
Whether file uris can be accessed. Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-file-access-from-file-uris
Whether file uris can be accessed. Possible values: true/false,
default value:
.IR true .
.TP
.BR enable-html5-database
Whether to enable HTML5 client-side SQL database support.
Possible values: true/false,
default value:
.IR true .
.TP
.BR enable-html5-local-storage
Whether to enable HTML5 localStorage support.
Possible values: true/false,
default value:
.IR true .
.TP
.BR enable-java-applet
Whether to enable Java <applet>-tag.
Possible values: true/false,
default value:
.IR true .
.TP
.BR enable-offline-web-application-cache
Enable or disable HTML5 offline web application cache support.
Possible values: true/false,
default value:
.IR true .
.TP
.BR enable-page-cache
Enable or disable page cache.
Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-plugins
Enable or disable embedded plugins.
Possible values: true/false,
default value:
.IR true .
.TP
.BR enable-private-browsing
Enable or disable private browsing.
Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-scripts
Enable or disable embedded scripting-languages.
Possible values: true/false,
default value:
.IR true .
.TP
.BR enable-site-specific-quirks
Enables the site-specific compatibility workarounds.
Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-spatial-navigation
Whether to enable the Spatial Navigation. This feature consists in the ability
to navigate between focusable elements in a Web page, such as hyperlinks and
form controls, by using Left, Right, Up and Down arrow keys.
Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-spell-checking
Whether to enable spell checking.
Possible values: true/false,
default value:
.IR false .
.TP
.BR enable-universal-access-from-file-uris
Whether to allow files loaded through file:// URIs universal access to all pages.
Possible values: true/false,
default value:
.IR true .
.TP
.BR enable-xss-auditor
Whether to enable the XSS Auditor. This feature filters some kinds of reflective
XSS attacks on vulnerable web sites.
Possible values: true/false,
default value:
.IR true .
.TP
.BR enforce-96-dpi
Enforce a resolution of 96 DPI.
Possible values: true/false,
default value:
.IR false .
.TP
.BR fantasy-font-family
Default fantasy font family used to display text. Possible values: a font description or
NULL,
default value:
.IR serif .
.TP
.BR javascript-can-access-clipboard
Whether javascript can access Clipboard.
Possible values: true/false,
default value:
.IR false .
.TP
.BR full-content-zoom
Whether the full content is scaled when zooming.
Possible values: true/false,
default value:
.IR false .
.TP
.BR javascript-can-open-windows-automatically
Whether JavaScript can open popup windows automatically without user intervention.
Possible values: true/false,
default value:
.IR false .
.TP
.BR minimum-font-size
The minimum font size used to display text. Possible values: a font size
(integer),
default value:
.IR 5 .
.TP
.BR minimum-logical-font-size
The minimum logical font size used to display text. Possible values: a font size
(integer),
default value:
.IR 5 .
.TP
.BR monospace-font-family
Default font family used to display monospace text. Possible values: a font description or
NULL,
default value:
.IR monospace .
.TP
.BR print-backgrounds
Whether background images should be printed.
Possible values: true/false,
default value:
.IR true .
.TP
.BR resizable-text-areas
Whether text areas are resizable.
Possible values: true/false,
default value:
.IR true .
.TP
.BR sans-serif-font-family
Default sans-serif font family used to display text. Possible values: a font description or
NULL,
default value:
.IR sans-serif .
.TP
.BR serif-font-family
Default serif font family used to display text. Possible values: a font description or
NULL,
default value:
.IR serif .
.TP
.BR spell-checking-language
The languages to be used for spell checking, separated by commas. Possible
values: a string or
NULL,
default value:
.IR NULL .
.TP
.BR tab-cycles-through-elements
Whether the tab key cycles through elements on the page.
Possible values: true/false,
default value:
.IR true .
.TP
.BR user-agent
The user-agent-string. Possible values: a user-agent or
NULL,
default value:
.IR NULL .
.TP
.BR user-stylesheet-uri
The URI of a stylesheet that is applied to every page. If a local file is used,
must start with file://. Possible values: an
uri-string or NULL,
default value:
.IR NULL .
.TP
.BR zoom-level
The zoom level of the content. Possible values: a decimal,
default value:
.IR 1.0 .
.TP
.BR zoom-step
The value by which the zoom level is changed when zooming in or out. Possible
values: a decimal,
default value:
.IR 0.1 .
.SS Other settings
.TP
.BR active-completion-bg-color
The background color for an active element in tab-completion. Possible values:
an rgb color-string,
default value:
.IR #000000 .
.TP
.BR active-completion-fg-color
The foreground color for an active element in tab-completion. Possible values:
an rgb color-string.
default value:
.IR #53868b .
.TP
.BR background-color
The background color of the statusbar. Possible values: an rgb color-string,
default value:
.IR #000000 .
.TP
.TP
.BR foreground-color
The foreground color of statusbar. Possible values: an rgb color-string.
default value:
.IR #ffffff .
.TP
.BR auto-completion
Whether possible keystrokes should be shown. (Shift-) Tab cycles through keystrokes.
Possible values: true/false,
default value:
.IR true .
.TP
.BR auto-insert-mode
Whether to go automatically in insert mode if an editable element has focus
after loading a site.
Possible values: true/false,
default value:
.IR false .
.TP
.BR background-tabs
Open new tabs in background.
Possible values: true/false,
default value:
.IR false .
.TP
.BR cache-model
The cache model used by webkit, possible values are
.B webbrowser
and
.BR documentviewer .
Webbrowser increases loading speed but increases memory usage, documentviewer
reduces memory usage but also decreases browsing speed. Default Value:
.IR webbrowser .
.TP
.BR complete-bookmarks
Whether to complete bookmarks with tab-completion. Possible values: true/false,
default value:
.IR true .
.TP
.BR complete-history
Whether to complete browsing history with tab-completion. Possible values:
true/false,
default value:
.IR true .
.TP
.BR complete-searchengines
Whether to complete searchengines with tab-completion. Possible values:
true/false,
default value:
.IR false .
.TP
.BR complete-userscripts
Whether to complete userscripts with tab-completion. Possible values:
true/false,
default value:
.IR false .
.TP
.BR cookies-store-policy
The storage policy for cookies, possible values are
.IR session ,
.IR persistent ,
and
.IR never .
If set to
.I session
all session cookies are accepted, only cookies with a matching domain in
cookies.allow will be stored persistently.
If set to
.I persistent
all cookies are stored persistently.
If set to
.I never
the cookies allowed by cookies_session.allow are allowed for the current
session and cookies allowed by cookies.allow are save persistently, all other
cookies are rejected.
Default value:
.IR session .
.TP
.BR cookies-accept-policy
The accept policy for cookies.
.IR always
will accept all cookies,
.IR nothirdparty
will accept all cookies except for third party cookies,
.IR never
will reject all cookies. This setting also affects session cookies.
default value:
.IR always .
.TP
.TP
.BR default-width
The default width of dwb's window. Possible values: width in pixel,
default value:
.IR 800 .
.TP
.BR default-height
The default height of dwb's window. Possible values: height in pixel,
default value:
.IR 600 .
.TP
.BR download-fg-color
The foreground color of the download bar, default value:
.IR #ffffff .
.TP
.BR download-bg-color
The background color of the download bar, default value:
.IR #000000 .
.TP
.BR download-gradient-start
The start color for the download progress gradient color, default value
.IR #0000aa .
.TP
.BR download-gradient-stop
The end color for the download progress gradient color, default value
.IR #00aa00 .
.TP
.BR download-external-command
A command that will be invoked if 'download-use-external-program' is set. There
are four variables that can be used in the command:
.IR dwb_uri
will be replaced with the download-uri,
.IR dwb_output
will be replaced with the fullpath of the destination,
.IR dwb_cookies
will be replaced with the path to the cookie-file,
.IR dwb_referer
will be replaced with the uri of the site the download started.
Additionally the environment-variables
.IR DWB_URI ,
.IR DWB_FILENAME ,
.IR DWB_COOKIES ,
.IR DWB_REFERER ,
.IR DWB_MIME_TYPE
and
.I DWB_USER_AGENT
are set.
Default value:
.IR xterm\ -e\ wget\ 'dwb_uri'\ -O\ 'dwb_output'\ --load-cookies\ 'dwb_cookies' .
.TP
.BR download-directory
The default download directory, if empty, the current working directory is used
or the last download path is used.
default value:
.IR NULL .
.TP
.BR download-no-confirm
Whether to start downloads immediately without asking for a path,
.I download-directory
needs to be set to an existing path.
default value:
.IR false .
.TP
.BR download-use-external-program
Whether to use an external download program specified in
\'download-external-programm\' or the builtin download helper.
Possible values: true/false,
default value:
.IR true .
.TP
.BR editor
External editor used for inputs/textareas.
default value:
.IR xterm\ -e\ vim\ dwb_uri .
.TP
.BR enable-favicon
Whether to show a favicon in the tab.
default value:
.IR true .
.TP
.BR error-color
The color for error-messages. Possible values: an rgb color-string,
default value:
.IR #ff0000 .
.TP
.BR error-color
The color for prompt-messages. Possible values: an rgb color-string,
default value:
.IR #00ff00 .
.TP
.BR font
The font used for the ui. Possible values: a font description
string,
default value:
.I monospace\ 8.
.TP
.BR font-completion
The font used for tabcompletion. Possible values: a font description
string,
default value:
.TP
.BR font-entry
The font used for the address bar. Possible values: a font description
string,
default value:
.TP
.BR font-hidden-statusbar
The font used for status elements if the statusbar is hidden. Possible values: a
css font description.
Default value:
.BR normal 10px helvetica .
.TP
.BR font-nofocus
The font used for tablabels without focus and completion items without focus. Possible values: a font description
string,
default value:
.TP
.BR hint-active-color
The background color for active link, i.e. the link followed when Return is
pressed. Possible values: a rgb color string,
default value:
.IR #00ff00 .
.TP
.BR hint-autofollow
Whether to follow hints automatically if only one hint matches the typed
letters. Default value:
.IR true .
.TP
.BR hint-bg-color
The background color used for hints. Possible values: a rgb color string,
default value:
.IR #000088 .
.TP
.BR hint-border
The boreder used for hints. Possible values: a css border description,
default value:
.IR 2px\ dashed\ #000000 .
.TP
.BR hint-fg-color
The foreground color used for hints. Possible values: a rgb color string,
default value:
.IR #ffffff .
.TP
.BR hint-font
The font used for hints. Possible values: css font description,
default value:
.IR bold\ 10px\ monospace .
.TP
.BR hint-highlight-links
Wether to highlight all links in hint-mode,
default value:
.IR false .
.TP
.BR hint-letter-seq
A letter sequence used for letter hints. Possible values: a letter sequence,
every letter should appear only once.
Default value:
.IR FDSARTGBVECWXQYIOPMNHZULKJ .
.TP
.BR hint-normal-color
The background color for a normal link. Possible values: a rgb color string,
default value:
.IR #ffff99 .
.TP
.BR hint-opacity
The opacity of a hint. Possible values: a decimal from 0.0 to 1.0,
default value:
.IR 0.75 .
.TP
.BR hint-style
The type of hints, that are used. When set to "number", letters will match the
links text. Possible values: letter/number,
default value:
.IR letter .
.TP
.BR history-length
The urls that are saved in the browsing history. Specifying a too large value
can make tab-completion slow. Possible values: number of urls,
default value:
.IR 500 .
.TP
.BR insertmode-bg-color
The background color of the statusbar in insertmode. Possible values: an rgb
color-string,
default value:
.IR #dddddd .
.TP
.BR insertmode-fg-color
The foreground color of the statusbar in insertmode. Possible values: an rgb
color-string,
default value:
.IR #000000 .
.TP
.BR javascript-schemes
Whether to allow loading javascript snippets with scheme 'javascript',
default value:
.IR true .
.TP
.BR message-delay
The duration messages are shown. Possible values: duration in seconds (integer),
default value:
.IR 2 .
.TP
.BR navigation-history-max
Maximum length of navigation history. 'enable-private-browsing' must be disabled to
save command history at all.
default value:
.IR 500 .
.TP
.BR new-tab-position-policy
Affects the position a new tab is created, possible values are
.IR right ,
a new tab is created right of the current tab,
.IR left ,
a new tab is created left of the current tab,
.IR rightmost ,
a new tab is created left of the last tab and
.IR leftmost ,
a new tab is created left of the first tab.
Default value:
.IR right .
.TP
.BR normal-completion-bg-color
The background color of inactive element in tab-completion. Possible values: an
rgb color-string,
default value:
.IR #151515 .
.TP
.BR normal-completion-fg-color
The foreground color of inactive element in tab-completion. Possible values: an rgb color-string.
color-string,
default value:
.IR #eeeeee .
.TP
.BR proxy
Whether to use a HTTP-proxy. Possible values: true/false,
default value:
.IR false .
.TP
.BR proxy-url
The proxy-url, can also be set via the http_proxy environment variable. Possible
values: an url string,
default value:
.IR NULL .
.TP
.BR save-session
Save the session when dwb is closed and restore the last saved session when
invoking dwb. Possible values: true/false,
default value:
.IR false .
.TP
.BR scheme-handler
A script or application that handles uris that cannot be loaded by dwb. dwb only
loads uris with scheme
.BR http ,
.BR https ,
.BR file ,
.B about
and
.BR dwb ;
support for e.g. ftp is provided through a scheme handler. The scheme handler
can either be an application or a script. The first command line argument will
be the uri for your application, so you can simply set this to
.IR xdg-open .
There are also the environment variables
.IR DWB_URI ,
.IR DWB_SCHEME ,
.IR DWB_COOKIES ,
.IR DWB_USER_AGENT ,
and
.I DWB_REFERER
available which can be used in a script, for example:
.nf
#!/bin/sh
case ${DWB_SCHEME} in
mailto) xterm -e "mutt ${DWB_URI}";;
ftp) xterm -e "ncftp ${DWB_URI}";;
*) xdg-open ${DWB_URI}
esac
.fi
.TP
.BR scroll-step
The step-increment in pixels for scrolling. If set to a value lower or equal 0,
the default step-increment will be used.
default value:
.IR 0.0 .
.TP
.BR scrollbars
Wether scrollbars should be enabled.
default value:
.IR false .
.TP
.BR single-instance
Only one instance of dwb per user. This option will be overridden by the
commandlineoption -n. Possible values: true/false,
default value:
.IR true .
.TP
.BR ssl-strict
Whether to allow only save ssl-certificates.
default value:
.IR true .
.TP
.BR ssl-ca-cert
Path to ssl-certificate.
.TP
.BR ssl-trusted-color
Color of the url in the statusbar for ssl-encrypted sites and trusted
certificate.
default value:
.IR #00ff00 .
.TP
.BR ssl-untrusted-color
Color of the url in the statusbar for ssl-encrypted sites and untrusted
certificate.
default value:
.IR #ff0000 .
.TP
.BR startpage
The default startpage. Possible values: an url or "about:blank" for an empty
startpage,
default value:
.IR about:blank .
.TP
.BR sync-files
Interval in seconds to save history and cookies to hdd or 0 to immediately save
to hdd, default value: 0.
.TP
.BR tabbar-visible
When the tabbar is hidden specifies the number of seconds the tabbar is visible
when switching between tabs.
.IR 2 .
.TP
.BR tab-active-bg-color
The background color the tab of the focused tab. Possible values: an rgb
color-string,
default value:
.IR #000000 .
.TP
.BR tab-active-fg-color
The foreground color of the tab of the focused tab. Possible values: an rgb
color-string,
default value:
.IR #ffffff .
.TP
.BR tab-normal-bg-color
The background color the tab of a not focused tab. Possible values: an rgb
color-string,
default value:
.IR #505050 .
.TP
.BR tab-normal-fg-color
The foreground color of the tab of a not focused tab. Possible values: an rgb
color-string,
default value:
.IR #cccccc .
.TP
.BR tab-normal-fg-color
The foreground color of the tab of a not focused tab. Possible values: an rgb
color-string,
default value:
.IR #cccccc .
.TP
.BR tab-protected-color
The color of the tabnumber of protected tabs. Possible values: an rgb color-string,
default value:
.IR #ff0000 .
.TP
.BR tab-number-color
The color of the tabnumber. Possible values: an rgb color-string,
default value:
.IR #ff0000 .
.TP
.BR tabbed-browsing
Enable tabbed-browsing. If disabled, all new window/new tab requests will be
opened in a new window,
default value:
.IR true .
.TP
.BR use-ntlm
Whether to use NTLM-authentication,
default value:
.IR false .
.TP
.BR widget-packing
A string consisting of 4 characters, where possible characters are:
.BR d ,
.BR w ,
.B T ,
.BR t ,
.B S
and
.BR s .
The order of the widgets correspond the the order of characters in the string
where
.B d
corresponds to the download bar,
.B t
and
.B T
to the tab bar where
.B T
means that the tabbar will not be visible,
.B w
to the webview and
.B s
and
.B S
to the statusbar where
.B S
means that the statusbar won't be visible.
Default value:
.IR dtws .
.SH FILES
.SS Scripts
Javascript userscripts can be stored in
.IR ~/.config/dwb/scripts .
The scripts are applied to pages depending on their filename extension, there
are 4 possible extensions:
.TP
.B .js
Scripts with extension
.I .js
are injected into the page directly after the load of a
new page is committed.
.TP
.B .all.js
Scripts with extension
.I .all.js
are injected into all frames of a page directly after the load of a
new frame is committed.
.TP
.B .onload.js
Scripts with extension
.I .onload.js
are injected into the page directly when loading of a page is done.
.TP
.B .onload.all.js
Scripts with extension
.I .onload.all.js
are injected into all frames of a page when the load of a
frame is done.
.SS CSS
dwb creates some html-elements at runtime, namely hints and a bar that show the
current url under the cursor. They can be styled in user-stylesheets using the
selector
.I .dwb_hint
for hints and
.I #dwb_hover_element
for the hover element.
.SS Userscripts
Userscripts can be stored in
.IR ~/.config/dwb/userscripts .
The first argument of the script will be the current url, the second argument is
the title, the third argument will be the profile name, the fourth argument is
the numerical modifier and the fifth argument is a commandline argument. Also
the variables
.IR DWB_URI ,
.IR DWB_TITLE ,
.IR DWB_PROFILE ,
.IR DWB_NUMMOD ,
.IR DWB_ARGUMENT ,
.IR DWB_REFERER ,
and
.I DWB_USER_AGENT
are set.
The keybinding for
the script must be defined in the script itself in a commented line of the form
.B <comment symbols> dwb: <keybinding>.
Commands can be executed by sending the command to stdout.
.SS Examples
The following script will download the actual webpage:
.nf
#!/bin/bash
# dwb: Control w
wget $1
.fi
Popup an alert dialog:
.nf
#!/bin/bash
# dwb: Control h
echo "execute_javascript:window.alert('Hello world');"
.fi
.SH AUTHOR
portix <portix@gmx.net>
|