Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Installation

Usage

usage:

usage: firefox-shm [-h] [-v] [-b] [-c] [-s] [-r]
-h show this help message and exit
-v make script noisily
-b backup, created a copy in ~/.mozilla/firefox/ from current selected profile with suffix .archive
-c create, move the current profile, and created the shm directory, and copy current selected profile, and symlink it
-s sync, syncing the temporary profile the local profile
-r restore, deleting the temporary profile and move archive profile to current profile

initialize it:

firefox-shm --create

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

~/.config/autostart/firefox-shm.desktop:

[Desktop Entry]
Type=Application
Exec=firefox-shm --create
Hidden=false
X-MATE-Autostart-enabled=true
Name=firefox-shm

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
Release History

Release History

This version
History Node

0.0.7

History Node

0.0.5

History Node

0.0.4

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
firefox-shm-0.0.7.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Jul 16, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting