You are not logged in.

#551 2015-02-02 12:17:53

Lockheed
Member
Registered: 2010-03-16
Posts: 1,521

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

Hmm, that's the site being called during my regular update. Maybe my mirrorlist is old...

Offline

#552 2015-02-02 12:22:10

Lockheed
Member
Registered: 2010-03-16
Posts: 1,521

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

Nope, I updated it and still get:

:: File /var/cache/pacman/pkg/profile-sync-daemon-5.68-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).

I am using

[repo-ck]
Server = http://repo-ck.com/$arch

so mirrorlist update was probably pointless, anyway.

Last edited by Lockheed (2015-02-02 12:22:57)

Offline

#553 2015-02-02 13:44:09

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

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

I don't host packages for psd on repo-ck.  You have to build it from the AUR.


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

Offline

#554 2015-02-02 20:21:40

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

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

Lockheed wrote:

Nope, I updated it and still get:

:: File /var/cache/pacman/pkg/profile-sync-daemon-5.68-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).

I am using

[repo-ck]
Server = http://repo-ck.com/$arch

so mirrorlist update was probably pointless, anyway.

I don't host packages for psd on repo-ck.  The other site you linked that ends in .de is nothing I know of (perhaps a user created repo.  Unless you have a great deal of trust for the person running it, I would not recommend blindly downloading software from an untrusted source.


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

Offline

#555 2015-02-02 20:24:32

Lockheed
Member
Registered: 2010-03-16
Posts: 1,521

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

Well, it is one of the repos from Arch Wiki: https://wiki.archlinux.org/index.php/un … derkun-aur
Anyway, I contacted the maintainer and he uploaded the missing package.

Offline

#556 2015-02-02 20:29:34

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

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

Lockheed wrote:

Well, it is one of the repos from Arch Wiki: https://wiki.archlinux.org/index.php/un … derkun-aur
Anyway, I contacted the maintainer and he uploaded the missing package.

Just friendly advice smile


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

Offline

#557 2015-02-02 20:30:33

Lockheed
Member
Registered: 2010-03-16
Posts: 1,521

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

Thanks, I will reconsider.

Offline

#558 2015-02-12 05:22:28

FarStar07
Member
Registered: 2012-04-02
Posts: 48

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

graysky wrote:
FarStar07 wrote:

Hello graysky,

Please, could PSD support Vivaldi Browser?

The profile directory is: ~/.config/vivaldi/

Thank you!

Bump to v5.66-1

Changelog: Support for vivaldi-browser.
Commit: https://github.com/graysky2/profile-syn … 65...v5.66

Hello graysky,

I've perhaps a problem with PSD and Vivaldi Browser.

I use now vivaldi-snaphot (developer release): https://aur.archlinux.org/packages/vivaldi-snapshot
The profile path is always ~/.config/vivaldi

When psd.service is enabled, three shortcuts are created:
- vivaldi
- vivaldi-snapshot
- vivaldi-unstable
Each of them redirects to /tmp/$user-vivaldi.

Without psd running, there is only vivaldi directory.

Thank you for your help.

Last edited by FarStar07 (2015-02-12 05:37:05)

Offline

#559 2015-02-12 13:05:51

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

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

Only tested with stable Vivaldi.  Need to look at it myself.


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

Offline

#560 2015-02-12 13:17:32

FarStar07
Member
Registered: 2012-04-02
Posts: 48

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

graysky wrote:

Only tested with stable Vivaldi.  Need to look at it myself.

Sorry graysky. There was a mess in my config directory (two dead links : vivaldi-unstable & vivaldi-snapshot). Enable PSD mixed everything.
I've deleted these links and now I see that the true profile for vivaldi-snapshot is ~/.config/vivaldi-snapshot (even if vivaldi-snapshot creates at launch another directory named "vivaldi" which is almost empty (only an empty "crash report" directory)).

Could PSD support it?

Thanks a lot and sorry for the confusion smile

Edit: Meanwhile, I adopted anything-sync-daemon. It seems to work well with ~/.config/vivaldi-snapshot.

Last edited by FarStar07 (2015-02-12 20:42:19)

Offline

#561 2015-02-12 21:41:08

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

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

FarStar07 wrote:

When psd.service is enabled, three shortcuts are created:
- vivaldi
- vivaldi-snapshot
- vivaldi-unstable
Each of them redirects to /tmp/$user-vivaldi.

Please clarify, you claim these links are created by psd?

FarStar07 wrote:

I see that the true profile for vivaldi-snapshot is ~/.config/vivaldi-snapshot (even if vivaldi-snapshot creates at launch another directory named "vivaldi" which is almost empty (only an empty "crash report" directory)).

Could PSD support it?

Thanks a lot and sorry for the confusion smile

What is the output of the following when vivaldi-snapshot is running?

ps aux | grep vivaldi

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

Offline

#562 2015-02-13 06:19:23

FarStar07
Member
Registered: 2012-04-02
Posts: 48

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

graysky wrote:
FarStar07 wrote:

When psd.service is enabled, three shortcuts are created:
- vivaldi
- vivaldi-snapshot
- vivaldi-unstable
Each of them redirects to /tmp/$user-vivaldi.

Please clarify, you claim these links are created by psd?

Sincerely, I don't think. Profiles were mixed when passing from vivaldi "stable" to vivaldi-snapshot. It's difficult to see what happened exactly.
Now, I restart with a new Profile. Vivaldi creates two directory in /.config:
- vivaldi: an almost empty directory (only "crash report")
- vivaldi-snapshot which contains all the data

When starting PSD, a "vivaldi-backup" directory and a "vivaldi" link (-> /tmp/lenny-vivaldi) are created.
So PSD does its job for vivaldi browser but the target is not good for vivaldi-snaphot.

graysky wrote:
FarStar07 wrote:

I see that the true profile for vivaldi-snapshot is ~/.config/vivaldi-snapshot (even if vivaldi-snapshot creates at launch another directory named "vivaldi" which is almost empty (only an empty "crash report" directory)).

Could PSD support it?

Thanks a lot and sorry for the confusion smile

What is the output of the following when vivaldi-snapshot is running?

ps aux | grep vivaldi
lenny     6287 31.7  1.5 1518516 258236 ?      Sl   06:29   0:02 /opt/vivaldi-snapshot/vivaldi-bin --user-data-dir=/home/lenny//.config/vivaldi-snapshot --disk-cache-dir=/tmp/cache --always-authorize-plugins --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --no-first-run
lenny     6297  0.0  0.0   6356   892 ?        S    06:29   0:00 /opt/vivaldi-snapshot/vivaldi-sandbox /opt/vivaldi-snapshot/vivaldi-bin --type=zygote --user-data-dir=/home/lenny//.config/vivaldi-snapshot --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so
lenny     6299  0.7  0.4 413432 68048 ?        S    06:29   0:00 /opt/vivaldi-snapshot/vivaldi-bin --type=zygote --user-data-dir=/home/lenny//.config/vivaldi-snapshot --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --always-authorize-plugins --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --no-first-run
lenny     6303  0.0  0.1 413432 22092 ?        S    06:29   0:00 /opt/vivaldi-snapshot/vivaldi-bin --type=zygote --user-data-dir=/home/lenny//.config/vivaldi-snapshot --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --always-authorize-plugins --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --no-first-run
lenny     6328 27.0  1.2 550600 201580 ?       Sl   06:29   0:01 /opt/vivaldi-snapshot/vivaldi-bin --type=gpu-process --channel=6287.0.2074222722 --user-data-dir=/home/lenny//.config/vivaldi-snapshot --supports-dual-gpus=false --gpu-driver-bug-workarounds=1,23,26,39,47 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x1183 --gpu-driver-vendor=NVIDIA --gpu-driver-version=346.35 --user-data-dir=/home/lenny//.config/vivaldi-snapshot --always-authorize-plugins --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --no-first-run
lenny     6341 25.3  0.7 826280 121340 ?       Sl   06:29   0:01 /opt/vivaldi-snapshot/vivaldi-bin --type=renderer --enable-deferred-image-decoding --lang=fr --force-fieldtrials=UMA-Uniformity-Trial-100-Percent/group_01/ --user-data-dir=/home/lenny//.config/vivaldi-snapshot --extension-process --enable-webrtc-hw-h264-encoding --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --enable-delegated-renderer --enable-impl-side-painting --num-raster-threads=1 --disable-accelerated-video-decode --channel=6287.1.249192287 --running-vivaldi
lenny     6354  0.0  0.1 363844 27976 ?        S    06:29   0:00 /opt/vivaldi-snapshot/vivaldi-bin --type=gpu-broker
lenny     6358 17.1  0.9 848868 157676 ?       Sl   06:29   0:01 /opt/vivaldi-snapshot/vivaldi-bin --type=renderer --enable-deferred-image-decoding --lang=fr --force-fieldtrials=UMA-Uniformity-Trial-100-Percent/group_01/ --user-data-dir=/home/lenny//.config/vivaldi-snapshot --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --ppapi-flash-path=/usr/lib/PepperFlash/libpepflashplayer.so --enable-delegated-renderer --enable-impl-side-painting --num-raster-threads=1 --disable-accelerated-video-decode --channel=6287.2.1319879199 --running-vivaldi
lenny     6384  0.0  0.0  11208  2204 pts/1    S+   06:29   0:00 grep vivaldi 

Last edited by FarStar07 (2015-02-13 07:37:45)

Offline

#563 2015-02-13 12:41:12

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

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

OK.  Do you have both the stable and snapshot installed?  What is the output of:

pacman -Qs vivaldi

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

Offline

#564 2015-02-13 13:04:28

FarStar07
Member
Registered: 2012-04-02
Posts: 48

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

graysky wrote:

OK.  Do you have both the stable and snapshot installed?

No, only vivaldi snapshot.

$ pacman -Qs vivaldi
local/vivaldi-snapshot 1.0.98.2-2
    A new browser for our friends (weekly snapshot)

Offline

#565 2015-02-13 18:42:30

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

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

So to confirm:
Vivaldi creates ~/.config/vivaldi
Vivaldi-snapshot creates ~/.config/vivaldi-snapshot

Correct?


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

Offline

#566 2015-02-13 19:09:03

FarStar07
Member
Registered: 2012-04-02
Posts: 48

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

graysky wrote:

So to confirm:
Vivaldi creates ~/.config/vivaldi
Vivaldi-snapshot creates ~/.config/vivaldi-snapshot

Correct?

Nearly wink

Vivaldi creates ~/.config/vivaldi
Vivaldi-snapshot creates ~/.config/vivaldi-snapshot (which contains the real profile) AND ~/.config/vivaldi (which contains only a "crash report" directory).

No doubt. => removing ~/.config/vivaldi & ~/.config/vivaldi-snapshot => vivaldi-snapshot restart => these two directories are recreated.

Last edited by FarStar07 (2015-02-13 19:35:11)

Offline

#567 2015-02-13 20:17:19

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

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

@FarStar - Try profile-sync-daemon-git to test out the vivaldi-snapshot support.

AUR link: https://aur.archlinux.org/packages/prof … daemon-git
commit: https://github.com/graysky2/profile-syn … e?expand=1

Note that since the upstream code creates two profile dirs and since one of the two is also a profile dir for another browser, if you don't specify 'vivaldi-snapshot' and allow auto detect, psd will detect both browsers.  Not a real problem, just something to be aware of I guess.  Give me feedback so I can merge into master.  Also note that you should stop asd first since in this case you are using it for a sync target.  Also remove that sync target from asd.conf to prevent conflicts.


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

Offline

#568 2015-02-14 02:17:41

FarStar07
Member
Registered: 2012-04-02
Posts: 48

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

@graysky: I just tried psd-git. Everything works fine smile

Specify my browsers isn't annoying. It's always what I do.

Thank you very much for all!

Edit: v5.69-1 installed wink

Last edited by FarStar07 (2015-02-19 06:18:59)

Offline

#569 2015-03-01 21:53:55

boenki
Member
Registered: 2008-06-16
Posts: 6

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

is it correct that I have 2 folders in /tmp when I use the overlay-mode?

ls -l /tmp
[...]
drwx------ 1 boenki users 620  1. Mär 22:44 boenki-firefox-8k9ox5x4.default
drwx------ 6 boenki users 620  1. Mär 22:44 boenki-firefox-8k9ox5x4.default-rw


psd p
Profile-sync-daemon v5.69 on Arch Linux

Systemd service is currently active.
Systemd resync service is currently active.
Overlayfs v23 is currently active.

Psd will manage the following per /run/psd.conf settings:

browser/psname:  firefox/firefox
owner/group id:  boenki/100
sync target:     /home/boenki/.mozilla/firefox/8k9ox5x4.default
tmpfs dir:       /tmp/boenki-firefox-8k9ox5x4.default
profile size:    112M
overlayfs size:  37M
recovery dirs:   none


I thought only the overlay-folder would be there!?

Offline

#570 2015-03-02 00:08:51

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

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

Yes, this is normal.

Last edited by graysky (2015-03-02 20:12:40)


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

Offline

#571 2015-03-11 08:04:58

picard
Member
Registered: 2015-03-11
Posts: 3

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

thank graysky for psd

Last edited by picard (2015-03-11 08:07:59)

Offline

#572 2015-05-09 11:02:21

Hipster
Member
Registered: 2015-05-09
Posts: 1

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

Hi all

I have been using psd without problems on Kubuntu for quite some time but after the last Kubuntu update (now 15.04 which may have included a firefox update, currently 37.0.2) nearly every time I run firefox all my bookmarks, settings, add ons etc are gone. When I look in the profile directory there is a default symlinked profile there but it's mostly empty (no bookmarks, add-ons etc). I then stop the psd service, copy a backup of my profile into the profile folder, start the psd service and everything is ok until the next re-boot. Any ideas what is going on? How do I troubleshoot this?

Offline

#573 2015-05-09 14:31:43

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

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

Does Kubuntu use systemd or upstart?  I'm wondering if it isn't unsyncing upon a shutdown.


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

Offline

#574 2015-05-09 14:56:10

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 750

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

Kubuntu uses systemd in 15.04

Offline

#575 2015-05-09 15:03:17

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

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

Xabre wrote:

Kubuntu uses systemd in 15.04

If that's the case, I recommend that Hipster uninstalls the pre-built package from my PPA and builds it on the Kbuntu machine like this:

make
make install-systemd-all

Now try it and report back.


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

Offline

Board footer

Powered by FluxBB