Results 1 to 10 of 32

Thread: GmailFS how to for Ubuntu 5.10

Threaded View

  1. #1
    Join Date
    Feb 2006
    Location
    San Antonio
    Beans
    347
    Distro
    Ubuntu 10.10 Maverick Meerkat

    GmailFS how to for Ubuntu 5.10

    Hello folks:

    -Gmailfs essentially creates a virtual 2 gig hard drive on your desktop using a google gmail account.

    -I'm not one to cross-post generally, but a good suggestion was made in a different forum to put this here. I didn't think about it, but yes. This is definitely where this 'how to' belongs. I had to poke at it all day to get it right, and I really don't think anyone has gotten it right yet. (I have a feeling some of the alterations here are unnecessary, but just go ahead and follow it step by step. These directions make Gmailfs work very nicely under Breezy 5.10.)


    All packages are installed from source except FUSE.

    So, if you have gmailfs or libgmailfs installed, remove them now.

    (Keep Fuse.)

    -Download libgmail from http://libgmail.sourceforge.net/

    -Download gmailfs-0.7.2.tar.gz from the author's site

    -Unpack those directories and copy everything into /usr/local/bin

    -Copy gmailfs.conf to /etc

    -Change username/password in gmailfs.conf

    Open up:
    /usr/lib/python2.4/site-packages/fuse.py in a text editor:
    -Line 68
    -Replace:
    Code:
     self.mountpoint = None
    Code:
     self.mountpoint = "YOUR_MOUNTPOINT_HERE"
    Mount it once with this command

    mount.gmailfs "/usr/local/bin/libgmail.py" YOUR/MOUNT/POINT/ -o username=YOUR_ACTUAL_USERNAME,password=YOUR_ACTUAL _PASSWORD,fsname=zOlRRa

    type:

    chmod 777 YOUR/MOUNT/POINT
    umount YOUR/MOUNT/POINT

    Fstab entries won't work so:

    Add this line to /etc/init.d/bootmisc.sh at the end:

    mount.gmailfs "/usr/local/bin/libgmail.py" YOUR/MOUNT/POINT/ -o username=YOUR_ACTUAL_USERNAME,
    password=YOUR_ACTUAL_PASSWORD,
    fsname=zOlRRa

    (This will mount it at bootup.)


    Please leave feedback here to tell me if this worked for you. I just figured all of this out. So, I'm not sure if I missed something.

    http://www.webloguniverse.com
    -Click on the email link. (I'm the admin)
    Thanks,
    Pros

    __________________________________________________ ______
    Problem and Solution:

    Problem:
    -When I created an icon on the desktop for my nifty new gmail hard drive, gmail promptly froze my account for 15 minutes citing a 'Sector 4 Lockdown.'
    It did not like the 'create link to location' choice for creating a new icon.

    Solution:
    -I created a link to the folder just below the mount point.
    My gmail drive is mounted a /mnt/gmail
    My icon on the desktop points to /mnt

    -I haven't experienced any problems.
    Although, I have to delete files using a shell command line.
    Deleting from the konquerer window causes 'Lockdown Sector 4'
    Good Luck,
    Pros
    Last edited by Prospero2006; March 5th, 2006 at 06:33 PM.

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
  •