Skip to main content

Firefox profile on tmpfs

Project description

Use tmpfs on /dev/shm to store firefox profile. No need root user rights. User can create, delete, and sync by his own.

Depencies: rsync




usage: firefox-shm [-h] [-v] [-b] [-c] [-s] [-r] [-p [PROFILE]]

show this help message and exit


make script noisily


backup, created a copy in ~/.mozilla/firefox/ from current selected profile with suffix .archive


create, move the current profile, and created the shm directory, and copy current selected profile, and symlink it


sync, syncing the temporary profile the local profile


restore, deleting the temporary profile and move archive profile to current profile


select, selecte a profile

initialize it:

firefox-shm --create

To do this automatic on login, here an example for Mate-desktop.


[Desktop Entry]
Exec=firefox-shm --create

Do syncing the temporary profile back to local use crontab.

crontab -e:

# do every 5 minutes a sync
*/5 * * * * /usr/bin/firefox-shm --sync

Enough go back to default:

firefox-shm --restore

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

firefox-shm-0.1.tar.gz (4.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page