You are not logged in.

#876 2020-08-24 14:21:44

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 496

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

graysky wrote:

This is not a psd thing, it's a chromium thing.  I do not like chromium caching to my disk.  See: https://wiki.archlinux.org/index.php/Ch … e_in_tmpfs

If you want to do this, recommend you:
1) stop psd
2) close chromium
3) backup your profile just in case you screw up something
4) Impliment the wiki's suggestion I linked
5) optionally manually delete the cached items outside of that scope
For example, I routinely delete:
~/.config/chromium/Service\ Worker/CacheStorage/*
~/.config/chromium/GPUCache/*

6) restart psd

Well on the other hand I don't have 3GB of spare RAM to cache all the Application Cache (which is what is taking up most of the space)... though choice. Thanks anyway.


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#877 2020-08-24 17:15:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,206
Website

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

You don't need to relocate all application cache to tmpfs, you can do it just for your browser.  See the link.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#878 2020-08-24 18:34:21

OdinEidolon
Member
From: Belluno - Italy
Registered: 2011-01-31
Posts: 496

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

graysky wrote:

You don't need to relocate all application cache to tmpfs, you can do it just for your browser.  See the link.

Thanks, I know that. However, my chromium Application Cache folder is 3GB (no idea why it is that large). I do not mean the cache for all system applications!

The one located in
~/.config/chromium/Default/Application Cache/Cache/


Hardware: 2016 Dell XPS15 - matte FullHD - i5-6300HQ - 32GB DDR4 - Nvidia GTX960M - Samsung 840EVO 250GB SSD - 56Wh
Software: Plasma 5 - rEFInd - linux-ck - preload - prelink - verynice - psd - bumblebee

Offline

#879 2021-01-28 09:25:39

InvisibleRasta
Member
Registered: 2017-04-12
Posts: 77

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

been trying to get psd working but after installing and running psd and editing the config file... I launch the daemon with systemctl --user start psd   and it fails:

Job for psd.service failed because the control process exited with error code.
See "systemctl --user status psd.service" and "journalctl --user -xe" for details.
systemctl --user status psd.service
● psd.service - Profile-sync-daemon
     Loaded: loaded (/usr/lib/systemd/user/psd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2021-01-28 10:21:24 CET; 3min 31s ago
       Docs: man:psd(1)
             man:profile-sync-daemon(1)
             https://wiki.archlinux.org/index.php/Profile-sync-daemon
    Process: 6139 ExecStart=/usr/bin/profile-sync-daemon startup (code=exited, status=1/FAILURE)
   Main PID: 6139 (code=exited, status=1/FAILURE)

Jan 28 10:21:24 arch systemd[833]: Starting Profile-sync-daemon...
Jan 28 10:21:24 arch profile-sync-daemon[6139]: Refusing to start; firefox is running by invra!
Jan 28 10:21:24 arch systemd[833]: psd.service: Main process exited, code=exited, status=1/FAILURE
Jan 28 10:21:24 arch systemd[833]: psd.service: Failed with result 'exit-code'.
Jan 28 10:21:24 arch systemd[833]: Failed to start Profile-sync-daemon.  

Offline

#880 2021-01-28 09:36:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,206
Website

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Do you have firefox running?  Close it before starting psd.

InvisibleRasta wrote:
...
Jan 28 10:21:24 arch profile-sync-daemon[6139]: Refusing to start; firefox is running by invra!
...

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#881 2021-02-09 09:04:15

cookiewookie
Member
Registered: 2020-12-03
Posts: 4

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Thank you for this great contribution.

I wonder if I could misuse the tool to achieve a secondary sync via network.

My goal is to have several browsers ,*chrome,chromium, firefox, firefox-dev in sync on 2 machines ,*arch and macos, at home.

Would this be possible in theory?

The browser sync services do not suffice as these miss many settings especially regarding the browser profiles and extension profiles.

best

Last edited by cookiewookie (2021-02-09 09:05:18)

Offline

Board footer

Powered by FluxBB