Where Does w3m Store Bookmarks and Config?
Where the w3m text browser keeps bookmarks, history and config files on Linux for migration.
Last updated
w3m keeps a compact home folder with bookmarks, history, cookies and a config file. The browser doubles as a pager and image viewer in terminals, but its state stays in that one directory.
Copy the whole folder with w3m closed for migration. History flushes on exit, so live copies miss recent pages. External browser handoffs and mailcap helpers reference the same config on the new machine, so keep it with the folder.
Where w3m stores this, by platform
~/.w3m
Bookmarks, history and config in one home folder. Copy whole with the browser closed. Missing folder regenerates defaults on launch.
Frequently asked questions
How do I back up w3m bookmarks?
Copy the whole w3m folder in your home directory with the browser closed. Bookmarks, history and cookies travel together. The config file inside restores keybindings and display options too.
How do I change w3m settings?
Open the options panel inside w3m and save, or edit the config file directly. Both write the same file in the home folder. The panel is safer for color and tab settings.
Notice an outdated path? Let us know.