Skip to main content

firefox-shm

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] [-p [PROFILE]]
-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

-p

select, selecte a 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

Metadata

Release files for firefox-shm 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for firefox-shm 0.1
File Size Uploaded Provenance Actions
firefox-shm-0.1.tar.gz 4.5 kB Without provenance Details for firefox-shm-0.1.tar.gz

Release files / firefox-shm-0.1.tar.gz

Download URL firefox-shm-0.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8b97f90eeaf6a1f70e51e4bce14d8207ca4866005a84ae8b9072f4557ca5896c
BLAKE2b-256 checksum
How to use checksums
cff6f7cf54b804ced7cf3d10726ef1a06463f9f897da0b8a40cf12bb77b0d589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.5

Security for firefox-shm 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page