Blog-like notes

Why Uzbl?

I use Uzbl as my main Web browser for nearly two years now, and today I discovered one of the reasons I prefer this browser over Mozilla Firefox.

Here is the directory of a new Firefox profile, right after its creation by firefox -profilemanager:

$ cd ~/.mozilla/firefox/personal
$ ls -lh
total 24M
drwxr-xr-x 18 damien users 4.0K Nov 28 19:57 Cache
drwx------  2 damien users 4.0K Nov 28 19:59 OfflineCache
-rw-r--r--  1 damien users 1.3M Nov 28 20:01 XUL.mfasl
drwx------  2 damien users 4.0K Nov 28 19:58 bookmarkbackups
-rw-------  1 damien users  64K Nov 28 20:01 cert8.db
-rw-r--r--  1 damien users  96K Nov 28 19:58 chromeappsstore.sqlite
-rw-------  1 damien users  169 Nov 28 19:58 compatibility.ini
-rw-r--r--  1 damien users 224K Nov 28 19:57 content-prefs.sqlite
-rw-r--r--  1 damien users 512K Nov 28 20:01 cookies.sqlite
-rw-r--r--  1 damien users  64K Nov 28 19:57 downloads.sqlite
-rw-r--r--  1 damien users  119 Nov 28 19:57 extensions.ini
-rw-r--r--  1 damien users 384K Nov 28 19:57 extensions.sqlite
-rw-r--r--  1 damien users 160K Nov 28 19:57 formhistory.sqlite
-rw-------  1 damien users  16K Nov 28 20:01 key3.db
-rw-r--r--  1 damien users 3.3K Nov 28 20:01 localstore.rdf
-rw-r--r--  1 damien users 3.1K Nov 28 19:58 mimeTypes.rdf
drwx------  2 damien users 4.0K Nov 28 19:57 minidumps
-rw-r--r--  1 damien users  64K Nov 28 19:57 permissions.sqlite
-rw-r--r--  1 damien users  10M Nov 28 19:58 places.sqlite
-rw-r--r--  1 damien users  32K Nov 28 19:58 places.sqlite-shm
-rw-r--r--  1 damien users    0 Nov 28 19:58 places.sqlite-wal
-rw-------  1 damien users 7.3K Nov 28 19:57 pluginreg.dat
-rw-------  1 damien users 2.7K Nov 28 20:01 prefs.js
-rw-r--r--  1 damien users 8.8K Nov 28 19:57 search.json
-rw-r--r--  1 damien users  64K Nov 28 19:57 search.sqlite
-rw-------  1 damien users  16K Nov 28 19:57 secmod.db
-rw-------  1 damien users  998 Nov 28 19:58 sessionstore.bak
-rw-------  1 damien users  653 Nov 28 20:01 sessionstore.js
-rw-r--r--  1 damien users 288K Nov 28 19:57 signons.sqlite
drwxr-xr-x  2 damien users 4.0K Nov 28 19:58 startupCache
-rw-r--r--  1 damien users  10M Nov 28 20:01 urlclassifier3.sqlite
-rw-r--r--  1 damien users  154 Nov 28 19:58 urlclassifierkey3.txt
drwxr-xr-x  3 damien users 4.0K Nov 28 19:59 weave
-rw-r--r--  1 damien users  96K Nov 28 19:57 webappsstore.sqlite
$ file *
Cache:                  directory
OfflineCache:           directory
XUL.mfasl:              Mozilla XUL fastload data
bookmarkbackups:        directory
cert8.db:               Berkeley DB 1.85 (Hash, version 2, native byte-order)
chromeappsstore.sqlite: SQLite 3.x database
compatibility.ini:      ASCII text
content-prefs.sqlite:   SQLite 3.x database, user version 3
cookies.sqlite:         SQLite 3.x database, user version 4
downloads.sqlite:       SQLite 3.x database, user version 8
extensions.ini:         ASCII text, with CRLF line terminators
extensions.sqlite:      SQLite 3.x database, user version 3
formhistory.sqlite:     SQLite 3.x database, user version 3
key3.db:                Berkeley DB 1.85 (Hash, version 2, native byte-order)
localstore.rdf:         XML document text
mimeTypes.rdf:          XML document text
minidumps:              directory
permissions.sqlite:     SQLite 3.x database, user version 2
places.sqlite:          SQLite 3.x database, user version 11
places.sqlite-shm:      data
places.sqlite-wal:      empty
pluginreg.dat:          HTML document text
prefs.js:               ASCII English text
search.json:            ASCII text, with very long lines, with no line terminators
search.sqlite:          SQLite 3.x database
secmod.db:              Berkeley DB 1.85 (Hash, version 2, native byte-order)
sessionstore.bak:       UTF-8 Unicode text, with very long lines, with no line terminators
sessionstore.js:        ASCII text, with very long lines, with no line terminators
signons.sqlite:         SQLite 3.x database, user version 4
startupCache:           directory
urlclassifier3.sqlite:  SQLite 3.x database, user version 7
urlclassifierkey3.txt:  ASCII text
weave:                  directory
webappsstore.sqlite:    SQLite 3.x database

And here are the config and data directories of Uzbl after two years of daily use:

$ cd $XDG_CONFIG_HOME/uzbl
$ ls -lh
total 24K
-rw-r--r-- 1 damien users 8.6K Nov 18 12:55 config
-rw-r--r-- 1 damien users  892 Oct 24 14:28 cookie_whitelist
-rw-r--r-- 1 damien users  238 May  4  2011 no_history
drwxr-xr-x 3 damien users 4.0K Nov 18 17:17 scripts
$ file *
config:           ASCII C program text
cookie_whitelist: ASCII text
no_history:       ASCII text
scripts:          directory
$ cd $XDG_DATA_HOME/uzbl
$ ls -lh
total 1.6M
-rw-r--r-- 1 damien users  12K Nov 23 13:29 bookmarks
-rw------- 1 damien users  40K Nov 28 19:54 cookies.txt
-rw-r--r-- 1 damien users 1.5M Nov 29 10:16 history
-rw-rw-rw- 1 damien users  24K Nov 29 10:05 session-cookies.txt
$ file *
bookmarks:           UTF-8 Unicode English text
cookies.txt:         ASCII text, with very long lines
history:             UTF-8 Unicode English text, with very long lines
session-cookies.txt: Web browser cookie text