Firefox profile on ramdisk

From DWIKI
Revision as of 18:00, 13 April 2010 by Tony (talk | contribs) (New page: Shut down mozilla, look in ~/.mozilla/firefox for a directory called xxx.default, and copy this to a directory called ~/.mozilla/firefox/profile. =On debian/ubuntu= In /etc/rc.local put...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Shut down mozilla, look in ~/.mozilla/firefox for a directory called xxx.default, and copy this to a directory called ~/.mozilla/firefox/profile.


On debian/ubuntu

In /etc/rc.local put a line like "rsync -ar /home/yourusername/.mozilla/firefox/profile/* /home/yourusername/.mozilla/firefox/xxx.default"

Create a file /etc/init.d/saveff containing:

#/bin/bash
rsync -ar /home/yourusername/.mozilla/firefox/xxx.default/* /home/yourusername/.mozilla/firefox/profile

Add the following line to /etc/fstab:

tmpfs /home/yourusername/.mozilla/firefox/xxx.default tmpfs defaults,noatime 0 0