Package Details: firefox-sync 20220831-1

Git Clone URL: https://aur.archlinux.org/firefox-sync.git (read-only, click to copy)
Package Base: firefox-sync
Description: Speed up Firefox using tmpfs.
Upstream URL: http://wiki.archlinux.org/index.php/Speed-up_Firefox_using_tmpfs
Keywords: firefox speed tmpfs
Licenses: GPL
Submitter: xrchz
Maintainer: slococo
Last Packager: slococo
Votes: 31
Popularity: 0.000000
First Submitted: 2010-10-07 19:38 (UTC)
Last Updated: 2022-08-31 13:48 (UTC)

Pinned Comments

slococo commented on 2022-08-24 19:59 (UTC) (edited on 2022-08-31 13:53 (UTC) by slococo)

How to use it? You need to do a daemon-reload and enable/start the systemd service user unit:

systemctl --user daemon-reload
systemctl --user enable firefox-sync
systemctl --user start firefox-sync

Also, you can enable the timer to sync every hour (in case you're using a laptop and experience unexpected shutdowns):

systemctl --user enable firefox-sync-cron --now

For more information, see wiki.

Latest Comments

1 2 3 4 Next › Last »

nsmks1508 commented on 2022-12-20 23:20 (UTC) (edited on 2022-12-20 23:21 (UTC) by nsmks1508)

we also need to go about:profiles to changes default profile to the profile which firefox-sync has just created. Because "Firefox 67 and later can use a dedicated profile for each of the Firefox update channels (release, beta, nightly, developer-edition,esr68) and will lock the profile, so it can only be used by Firefox in a specific installation folder. For Release versions this profile would be a xxxxxxxx.default-release profile, profiles used in older Firefox versions usually used a xxxxxxxx.default profile"

slococo commented on 2022-08-24 19:59 (UTC) (edited on 2022-08-31 13:53 (UTC) by slococo)

How to use it? You need to do a daemon-reload and enable/start the systemd service user unit:

systemctl --user daemon-reload
systemctl --user enable firefox-sync
systemctl --user start firefox-sync

Also, you can enable the timer to sync every hour (in case you're using a laptop and experience unexpected shutdowns):

systemctl --user enable firefox-sync-cron --now

For more information, see wiki.

quequotion commented on 2021-12-28 12:44 (UTC)

@jeois

Fixed. Really abandoning the package this time.

jeois commented on 2021-12-27 18:19 (UTC)

@quequotion Thanks for the update, but pamac is throwing a md5sum check failed for firefox-sync and won't build it. Should I disable integrity check or how do we update the checksum?

quequotion commented on 2021-12-27 14:22 (UTC)

@aquafox

Done! Sorry for the delay. To be honest, I don't use firefox much anymore; someone more involved should take over maintenance of this package.

aquafox commented on 2020-08-18 15:16 (UTC)

Use this patch to fix -p option which doesn't work.

26c26
< while getopts dhpr: options
---
> while getopts dhp:r: options

Piero commented on 2019-06-03 14:43 (UTC) (edited on 2019-06-03 14:46 (UTC) by Piero)

Solved.

I don't have firefox-sync.service, mostly because this is also a server and I access it via ssh, so I used .bash_profile

I added ~/.local/bin/firefox-sync script to .bash_profile but I forgot the $1 parameter.

So when starting firefox-sync from .bash_profile it should look like this:

~/.bash_profile

[[ -f ~/.bashrc ]] && . ~/.bashrc

~/.local/bin/firefox-sync randomaplhanumerics.default

When using .bash_profile, remember to do the same in .bash_logout

That's all, but I didn't immediately realize this when installing by following the wiki page https://wiki.archlinux.org/index.php/Firefox/Profile_on_RAM

Thank you all,

Piero

finoderi commented on 2019-05-06 23:10 (UTC) (edited on 2019-05-06 23:14 (UTC) by finoderi)

You can just open firefox-sync.service file and add whateveryouprofilename.default to ExecStart= and ExecStop= It should look something like this:
[Unit]
Description=Firefox profile memory cache

[Install]
WantedBy=default.target

[Service]
ExecStart=/usr/bin/firefox_rsync/firefox-sync whateveryourprofilename.default %i
ExecStop=/usr/bin/firefox_rsync/firefox-sync whateveryourprofilename.default %i
Type=oneshot
RemainAfterExit=yes

quequotion commented on 2019-04-20 12:17 (UTC) (edited on 2019-04-20 12:25 (UTC) by quequotion)

@Piero

Looks like LINK is not set. You should also get a message about that. It needs to be the name of your firefox profile (not the whole path, just the folder name).

You can set it in the firefox-sync script, on line 3:

LINK=randomaplhanumerics.default

It's a little more involved, but you could alternatively override firefox-sync.service, and specify it on the command line:

ExecStart=/usr/bin/firefox-sync -p randomaplhanumerics.default 
ExecStop=/usr/bin/firefox-sync -p randomaplhanumerics.default

Note, using a service override will ensure the setting can't be unset by upgrades of this package--not that there are likely to be any.