You are not logged in.

#851 2018-04-14 20:33:14

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,580
Website

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

OK... outside the scope of psd, sorry.


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

Online

#852 2018-04-15 05:27:56

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 193

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

Fair enough. For anyone wanting to use it with Franz (at your own risk), just create a file at /usr/share/psd/browsers/franz with the following content:

DIRArr[0]="$XDG_CONFIG_HOME/Franz"
PSNAME="$browser"

Franz is just a modified version of Chromium so I don't think it should be too risky.

Offline

#853 2018-04-15 10:50:17

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,580
Website

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

@emphire - I misunderstood... what you did is correct and it should work just fine.


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

Online

#854 2018-06-19 17:10:59

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 773

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

Hey graysky, would you add waterfox-bin to PSD, I have added the waterfox profile to PSD tested it and works.
It was fairly simple though, copied the firefox profile to waterfox-bin changed the paths and that was it.
Here you have my file, maybe you don't need it but anyways, here you go wink

if [[ -d $HOME/.waterfox ]]; then
    profileArr=( $(grep '[P,p]'ath= $HOME/.waterfox/profiles.ini |
    sed 's/[P,p]ath=//') )
    index=0
    PSNAME="$browser"
    for profileItem in ${profileArr[@]}; do
        if [[ $(echo $profileItem | cut -c1) = "/" ]]; then
            # path is not relative
            DIRArr[index]="$profileItem"
        else
            # we need to append the default path to give a
            # fully qualified path
            DIRArr[index]="$HOME/.waterfox/$profileItem"
        fi
        index=$index+1
    done
fi

check_suffix=1

Thanks mark

Offline

#855 2018-06-19 20:28:13

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,580
Website

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

@qinohe - Just drop your profile in /usr/share/psd/browsers/ and you're all set.


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

Online

#856 2018-06-20 12:05:12

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 773

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

Did that in the first place, thought maybe you'd add it to the equation so it don't get overwritten on update (really not that important), but it's working so ,thanks.

edit: but they don't get overwritten, sorry for the noise.

Last edited by qinohe (2018-06-20 13:13:49)

Offline

Board footer

Powered by FluxBB