Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: Profile-sync-daemon - keep browser profiles in tmpfs

  1. #11
    Join Date
    Feb 2013
    Beans
    1

    Smile Re: Profile-sync-daemon - keep browser profiles in tmpfs

    I am new to Ubuntu and just found this util. All I can say is WOW! This makes chromium start up nearly as fast as I can click the icon. Amazing tool. Thank you, graysky for it.

  2. #12
    Join Date
    Dec 2006
    Location
    /dev/null
    Beans
    351

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    Quote Originally Posted by maggie85 View Post
    I am new to Ubuntu and just found this util. All I can say is WOW! This makes chromium start up nearly as fast as I can click the icon. Amazing tool. Thank you, graysky for it.
    You're welcome. Enjoy.

  3. #13
    Join Date
    Jan 2013
    Beans
    126

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    Hi graysky
    Does your script run auto or does one have to manually start it up in some way.

    EDIT:

    Processing triggers for ureadahead ...
    localepurge: Disk space freed in /usr/share/locale: 0 KiB
    localepurge: Disk space freed in /usr/share/man: 0 KiB
    localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
    localepurge: Disk space freed in /usr/share/omf: 0 KiB
    localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

    Total disk space freed by localepurge: 0 KiB

    user@user-desktop:~$ sudo gedit /etc/psd.conf
    user@user-desktop:~$ sudo gedit /etc/psd.conf
    user@user-desktop:~$ mount | grep tmpfs
    udev on /dev type devtmpfs (rw,mode=0755)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    user@user-desktop:~$ df -h | grep tmpfs
    df: `/root/.gvfs': Permission denied
    tmpfs 3.2G 984K 3.2G 1% /run
    user@user-desktop:~$ sudo df -h | grep tmpfs
    tmpfs 3.2G 984K 3.2G 1% /run

    Where specifically will it show that it will run if I might ask please?
    Last edited by Hodevah; February 20th, 2013 at 05:30 AM.

  4. #14
    Join Date
    Dec 2006
    Location
    /dev/null
    Beans
    351

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    Quote Originally Posted by Hodevah View Post
    Hi graysky
    Does your script run auto or does one have to manually start it up in some way.

    Where specifically will it show that it will run if I might ask please?
    No, you will need to start the daemon.

    1) Edit /etc/psd.conf to define your user(s) and optionally your browsers.
    2) To preview what profiles will be managed, run
    Code:
    $ psd p
    3) When happy, start the daemon
    Code:
    $ sudo service psd start
    It will autorun on reboot. Enjoy.

  5. #15
    Join Date
    Jan 2013
    Beans
    126

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    Is this the correct output that I should have recieved?

    Code:
    user@user-desktop:~$ sudo service psd start
    user@user-desktop:~$

  6. #16
    Join Date
    Dec 2006
    Location
    /dev/null
    Beans
    351

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    Quote Originally Posted by Hodevah View Post
    Is this the correct output that I should have recieved?
    Yes. Query status:
    Code:
    % service psd status
     * profile-sync-daemon is running
    You may also ask psd directly:
    Code:
    % psd p
    Profile-sync-daemon v5.27.1 on Ubuntu 12.10.
    
    Daemon file /var/run/psd is present.
    
    Psd will manage the following per /etc/psd.conf settings:
    
     browser/psname:  chromium/chromium
     owner/group:     graysky/users
     sync target:     /home/graysky/.config/chromium
     tmpfs dir:       /tmp/graysky-chromium
     profile size:    46M

  7. #17
    Join Date
    Jan 2013
    Beans
    126

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    I have the same now



    Code:
    user@user-desktop:~$ service psd status
     * profile-sync-daemon is running
    user@user-desktop:~$ psd p
    /etc/psd.conf: line 18: chromium: command not found
    Profile-sync-daemon v5.24
    
    Psd will manage the following per /etc/psd.conf settings:
    
     browser/psname:  chromium/chromium
     owner/group:     user/user
     sync target:     /home/user/.config/chromium
     tmpfs dir:       /run/shm/user-chromium
     profile size:    77M
    
     browser/psname:  firefox/firefox
     owner/group:     user/user
     sync target:     /home/user/.mozilla/firefox/xixrznrk.default
     tmpfs dir:       /run/shm/user-firefox-xixrznrk.default
     profile size:    189M
    So the above output is good. But for some reason it tells me

    Code:
    /etc/psd.conf: line 18: chromium: command not found
    As far as I know everything in the .conf file is as it should be


    # List browsers separated by spaces to include in the sync. Useful if you do not
    # wish to have all possible browser profiles sync'ed
    #
    # Possible values:
    chromium
    # conkeror.mozdev.org
    firefox
    # firefox-trunk
    # google-chrome

    # heftig-aurora
    # midori
    # opera
    # opera-next
    # qupzilla
    #
    Also I think that there is something missing here. Isnt there? Or am I wrong?

    Code:
    user@user-desktop:~$ mount | grep tmpfs
    udev on /dev type devtmpfs (rw,mode=0755)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    
    
    
    user@user-desktop:~$ df -h |grep tmpfs
    tmpfs           3.2G  984K  3.2G   1% /run
    Last edited by Hodevah; February 24th, 2013 at 05:22 PM.

  8. #18
    Join Date
    Dec 2006
    Location
    /dev/null
    Beans
    351

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    Quote Originally Posted by Hodevah View Post
    ...for some reason it tells me

    Code:
    /etc/psd.conf: line 18: chromium: command not found
    As far as I know everything in the .conf file is as it should be

    Also I think that there is something missing here. Isnt there? Or am I wrong?
    That error is caused by you modifying the instructional section of /etc/psd.conf - add a # to those lines to fix; you only need to define the browsers of choice in the line that starts with, "BROWSERS=" - the commented part before it is purely informational.

    Quote Originally Posted by Hodevah View Post
    Code:
    ...
    
     browser/psname:  firefox/firefox
     owner/group:     user/user
     sync target:     /home/user/.mozilla/firefox/xixrznrk.default
     tmpfs dir:       /run/shm/user-firefox-xixrznrk.default
     profile size:    189M
    As an aside, you have tried running profile-cleaner? 189M seems kind of big to me.

    Quote Originally Posted by Hodevah View Post
    Code:
    user@user-desktop:~$ mount | grep tmpfs
    udev on /dev type devtmpfs (rw,mode=0755)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    
    user@user-desktop:~$ df -h |grep tmpfs
    tmpfs           3.2G  984K  3.2G   1% /run
    That is normal. On my box:

    Code:
    % mount | grep tmpfs
    udev on /dev type devtmpfs (rw,mode=0755)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    
    % df -h |grep tmpfs
    tmpfs           401M  736K  400M   1% /run
    Last edited by graysky; February 24th, 2013 at 05:49 PM.

  9. #19
    Join Date
    Jan 2013
    Beans
    126

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    Ok. So I ran the profile cleaner from your other thread. Cleaned out some mess and I think this is better is it not?

    Code:
    user@user-desktop:~$ service psd status
     * profile-sync-daemon is running
    user@user-desktop:~$ psd p
    Profile-sync-daemon v5.27.1 on Ubuntu 12.10.
    
    Daemon file /var/run/psd is present.
    
    Psd will manage the following per /etc/psd.conf settings:
    
     browser/psname:  chromium/chromium
     owner/group:     user/user
     sync target:     /home/user/.config/chromium
     tmpfs dir:       /run/shm/user-chromium
     profile size:    78M
    
     browser/psname:  firefox/firefox
     owner/group:     user/user
     sync target:     /home/user/.mozilla/firefox/xixrznrk.default
     tmpfs dir:       /run/shm/user-firefox-xixrznrk.default
     profile size:    102M
    
    user@user-desktop:~$
    One final thing.

    # USERS="facade happy"
    USERS="user"
    That is correct, is it not since I need to define a user.


    .
    Last edited by Hodevah; February 25th, 2013 at 01:13 AM.

  10. #20
    Join Date
    Dec 2006
    Location
    /dev/null
    Beans
    351

    Re: Profile-sync-daemon - keep browser profiles in tmpfs

    You should be good to go.
    Zsh configs on github.

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •