Author Topic: Improve your browsing experience with Profile-sync-daemon!  (Read 17662 times)

0 Members and 1 Guest are viewing this topic.

Offline Christian79

  • Neuling
  • *
  • Posts: 35
  • Branch: unstable
  • Desktop: Xfce, LXQt
  • Kernel: linux316-x64
  • Skill: Novice
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #30 on: 04. August 2014, 14:37:33 »
Code: [Select]
# Define where the pid file for psd will reside
#   Arch Linux/Chakra, Debian 7+, Fedora, and Gentoo leave this commented out
#   Debian 6 and below/Mint/Ubuntu use a setting of "/var/run/psd"
#DAEMON_FILE="/run/psd"

I don't understand the last line should be(stay) commented or not?

edit: This daemon will sync only profile or both profile and cache?

as far as I know, only profile. However, you can route the browser cache to the psd dir, and thus, also sync´ing the cache.. at least, I have read this on Arch wiki or in the forum somewhere some time ago, but never tried it. You do not have to change the last line (DAEMON_FILE) - this only on Debian <= 6 and the usual suspects. But if you install psd from these distros, the last line should already look different as far as I do remember it. I have currently just manjaro, arch and funtoo on my disks.

Offline bokiscout

  • Jr. Mitglied
  • **
  • Posts: 70
  • Branch: Stable + AUR
  • Desktop: KDE
  • GPU Card: nVidia GTX 560
  • GPU driver: non-free
  • Kernel: 3.18 LTS
  • Skill: Novice
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #31 on: 04. August 2014, 21:18:28 »
as far as I know, only profile. However, you can route the browser cache to the psd dir, and thus, also sync´ing the cache.. at least, I have read this on Arch wiki or in the forum somewhere some time ago, but never tried it. You do not have to change the last line (DAEMON_FILE) - this only on Debian <= 6 and the usual suspects. But if you install psd from these distros, the last line should already look different as far as I do remember it. I have currently just manjaro, arch and funtoo on my disks.
You are right Christian79,

I solved this while ago with friend of mine saying exactly what you say so the last line should stay commented on Manjaro same as in Arch, and for the cache I use:
Code: [Select]
# browser (chromium) cache to tmpfs
tmpfs /home/<username>/.cache tmpfs noatime,nodev,nosuid,size=400M 0 0
in "/etc/fstab"
Saying that Java is good because it works on every OS is like saying that anal sex is good because it works on every gender.

Offline barchi

  • Neuling
  • *
  • Posts: 8
  • Branch: stable
  • Desktop: LXDE
  • GPU Card: Intel(R) Pentium(R) CPU J2900 @ 2.41GHz
  • GPU driver: Intel i915
  • Kernel: 4.1.6-1-MANJARO x86_64
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #32 on: 11. August 2014, 11:02:32 »
thank you for the hint, this speeded up surfing significantly  :)

Offline Citroen

  • Held Mitglied
  • *****
  • Posts: 961
  • Branch: Stable.
  • Desktop: Xfce, what else?
  • GPU Card: Intel Device 22b1
  • GPU driver: free driver
  • Kernel: 4.4LTS- x64
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #33 on: 05. October 2014, 10:41:13 »
Psd almost took 25 s. to boot up and I found out that I had 4 old browser profiles in my home dir.
Qupzilla, Chrome, Chromium..

After removing .Qupzilla and .chromium, boot time improved, I only had Firefox and Chrome left.

I wanted to reduce the boot time somewhat more and removed Chrome from the psd file, so only Firefox would make use of psd.

But...Chrome won't start anymore, is this because of my action?
Je kunt vrouwen in twee groepen verdelen… maar ik zou het niet doen.

Herman Finkers.

Offline Jonathan

  • Held Mitglied
  • *****
  • Posts: 940
  • Branch: testing
  • Desktop: Cinnamon
  • GPU Card: ATI Mobility Radeon HD 4330/4350/4550
  • GPU driver: free
  • Kernel: 3.18.0-1-mainline
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #34 on: 05. October 2014, 11:13:14 »
There is no need to remove browser profiles as you'll loose all personal settings - just adapt /etc/psd.conf

Chrome is not listed as a supported browser with psd.
https://wiki.archlinux.org/index.php/Profile-sync-daemon#Supported_browsers

However, a browser will start without a profile just fine, it'll just generate a fresh one.
If the profile is somehow corrupted this might cause the browser not to start.
Try starting chrome from a terminal ans see if the output can give you a clue to the cause.

Offline Citroen

  • Held Mitglied
  • *****
  • Posts: 961
  • Branch: Stable.
  • Desktop: Xfce, what else?
  • GPU Card: Intel Device 22b1
  • GPU driver: free driver
  • Kernel: 4.4LTS- x64
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #35 on: 05. October 2014, 11:35:36 »
Hi Jonathan,

I've removed those profiles because they were obsolete. I use Firefox as the default browser and Chrome just in case.
I reinstalled Chrome but nothing happens if I'm tying to fire it up.

The same thing with google-chrome-stable in the terminal. The cpu usage indicator is showing me some activity for a couple of seconds that is it.

There is no hidden chrome folder.

(btw, I see chrome listed as being supported)
Je kunt vrouwen in twee groepen verdelen… maar ik zou het niet doen.

Herman Finkers.

Offline Jonathan

  • Held Mitglied
  • *****
  • Posts: 940
  • Branch: testing
  • Desktop: Cinnamon
  • GPU Card: ATI Mobility Radeon HD 4330/4350/4550
  • GPU driver: free
  • Kernel: 3.18.0-1-mainline
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #36 on: 05. October 2014, 12:09:11 »
Ahh sorry! My bad.
I had been looking chrome but did not spot the google-chrome entry in the list ...

The hidden folder is:
Code: [Select]
~/.config/google-chrome

Offline Citroen

  • Held Mitglied
  • *****
  • Posts: 961
  • Branch: Stable.
  • Desktop: Xfce, what else?
  • GPU Card: Intel Device 22b1
  • GPU driver: free driver
  • Kernel: 4.4LTS- x64
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #37 on: 05. October 2014, 12:30:36 »
I couldn't find the hidden folder, so that's my bad.  ;)

I found two of them in the .config folder, google-chrome-backup and google-chrome-backup-crashrecovery-20140919_194543

I'll remove them both and restart Chrome.

...still the same..
« Last Edit: 05. October 2014, 12:32:24 by Citroen »
Je kunt vrouwen in twee groepen verdelen… maar ik zou het niet doen.

Herman Finkers.

Offline Jonathan

  • Held Mitglied
  • *****
  • Posts: 940
  • Branch: testing
  • Desktop: Cinnamon
  • GPU Card: ATI Mobility Radeon HD 4330/4350/4550
  • GPU driver: free
  • Kernel: 3.18.0-1-mainline
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #38 on: 05. October 2014, 12:35:58 »
Yes, but back them up first if you have settings you don't want to loose.
And shut down psd before that - and try starting the browser with it being inactive.

Offline Citroen

  • Held Mitglied
  • *****
  • Posts: 961
  • Branch: Stable.
  • Desktop: Xfce, what else?
  • GPU Card: Intel Device 22b1
  • GPU driver: free driver
  • Kernel: 4.4LTS- x64
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #39 on: 05. October 2014, 12:46:03 »
I removed those 2, didn't backup anything because there is nothing to backup..

Then I tried to run Chrome again, but nothing happened, I do see 2 services running, chrome and chrome-sandbox..

(How can I shut down psd?)
Je kunt vrouwen in twee groepen verdelen… maar ik zou het niet doen.

Herman Finkers.

Offline Jonathan

  • Held Mitglied
  • *****
  • Posts: 940
  • Branch: testing
  • Desktop: Cinnamon
  • GPU Card: ATI Mobility Radeon HD 4330/4350/4550
  • GPU driver: free
  • Kernel: 3.18.0-1-mainline
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #40 on: 05. October 2014, 13:15:28 »
[edited] - one command was wrong

The command to shut down the service should be:
Code: [Select]
sudo systemctl stop psd.service
Use start instead to restart it - or just reboot.

If you see chrome and chrome sandbox still running then ... it is still running. Maybe it crashed.
Code: [Select]
ps -e | grep chrome
The first number is the process id. It can be used to shut the process down:
Code: [Select]
kill -9 PID
or try:
Code: [Select]
killall chrome
Check if the processes are gone:
Code: [Select]
ps -e | grep chrome

[edited] - one command was wrong
« Last Edit: 05. October 2014, 14:03:47 by Jonathan »

Offline Citroen

  • Held Mitglied
  • *****
  • Posts: 961
  • Branch: Stable.
  • Desktop: Xfce, what else?
  • GPU Card: Intel Device 22b1
  • GPU driver: free driver
  • Kernel: 4.4LTS- x64
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #41 on: 05. October 2014, 14:23:20 »
Okay, I stopped psd and removed those 2 running services.
I checked if they had gone and they did.

After this I tried to run Chrome again, but only the 2 services reappeared.

No luck so far..
Je kunt vrouwen in twee groepen verdelen… maar ik zou het niet doen.

Herman Finkers.

Offline Jonathan

  • Held Mitglied
  • *****
  • Posts: 940
  • Branch: testing
  • Desktop: Cinnamon
  • GPU Card: ATI Mobility Radeon HD 4330/4350/4550
  • GPU driver: free
  • Kernel: 3.18.0-1-mainline
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #42 on: 05. October 2014, 14:31:30 »
You removed the profile in ~/.config/google-chrome ?
Code: [Select]
rm -r ~/.config/google-chrome... be careful with that, make sure you did not mistype - or use a graphical filemanager to remove
- while no browser process is running.
« Last Edit: 05. October 2014, 14:37:36 by Jonathan »

Offline Citroen

  • Held Mitglied
  • *****
  • Posts: 961
  • Branch: Stable.
  • Desktop: Xfce, what else?
  • GPU Card: Intel Device 22b1
  • GPU driver: free driver
  • Kernel: 4.4LTS- x64
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #43 on: 05. October 2014, 14:37:54 »
Yes I have and it didn't return after I've tried rerunning chrome again.

Strange, chrome ran nicely in the past. Bad fonts but being there only just in case FF hesitates I didn't care about that.
Je kunt vrouwen in twee groepen verdelen… maar ik zou het niet doen.

Herman Finkers.

Offline Citroen

  • Held Mitglied
  • *****
  • Posts: 961
  • Branch: Stable.
  • Desktop: Xfce, what else?
  • GPU Card: Intel Device 22b1
  • GPU driver: free driver
  • Kernel: 4.4LTS- x64
  • Skill: Intermediate
Re: Improve your browsing experience with Profile-sync-daemon!
« Reply #44 on: 05. October 2014, 20:52:41 »
So, Chrome may leave the building?
Je kunt vrouwen in twee groepen verdelen… maar ik zou het niet doen.

Herman Finkers.