Thursday, July 2, 2009

I Masterbate With A Banna

Use Gmail as your default mail client in Ubuntu

To manage email, calendar and contacts, Ubuntu comes installed by default Evolution. While Evolution usually do their work, many of us just mail from the big G to manage our box. Using Gmail as default email client in Ubuntu, we obtain the following advantages: (a) that when you click an e-mail address on a website, we open a Gmail window instead of Evolution, (b) that when we click the "Send a. .." Nautilus context menu, open a Gmail window, (c) each time you invoke the use of electronic mail (eg, contact management GNOME Do) is open a Gmail window, among others.

Step 1: Set Gmail as default manager links mailto: Firefox

  1. Open Firefox.
  2. Enter your Gmail box
  3. In the Firefox address bar type the following script: javascript: window.navigator.registerProtocolHandler ("mailto", "https: / / mail.google.com / mail / ? extsrc = mailto & url =% s "," GMail ")
  4. Click the button" Add Application "on the confirmation bar of Firefox.
  5. Now find a email link and click on it (for example, this ).
  6. Firefox window appears to choose the application that will manage the links. Choose GMail. Also check the "Remember my choice for mailto links." Click OK.

Step 2: Configure Firefox (Gmail) as the default application for email management

  1. Open the configuration tool favorite Ubuntu applications. Menu System> Preferences> Preferred Applications Section
  2. "Reader Mail" tab of "Internet" click drop-down list and choose "Custom." In the Command box type firefox% s
  3. Close the window.

Voila! Ubuntu now invoke Gmail every time you want to send an email.

Source: Lifehacker automatically. Was just reading. To gain write permissions should remove the partition and then replace it. A step certainly annoying. I had tried other alternatives (such as changing the owner of the partition) with no results. Today, for some of life's coincidences, I found the solution to my problem. I needed to add the option umask = 000 configuration file / etc / fstab

.

But look, step by step, how to make the whole process to automatically mount a FAT partition with write permissions. Step 1: Find the UUID of the partition

Open a Terminal window. Applications> Accessories> Terminal

Write blkid

order. You will get a list of partitions and their corresponding UUID. Do not close the Terminal window.
Example blkid
Step 2: Edit the configuration file
Open the file / etc / fstab
with root permissions. From the Terminal type

sudo gedit / etc / fstab

and enter the root password. (Or open "Run Application" (Alt-F2) and type
    gksu gedit / etc / fstab
  1. ) Edit line FAT partition or create it if does not exist. The line syntax is: (UUID)> file \u0026lt;operating montaje> point> of \u0026lt;options> partición> \u0026lt;format of \u0026lt;pass> \u0026lt;dump> The
  2. different values \u200b\u200bfor each category are separated by spaces. It may also be useful to separate them with Tab (Tab) to higher order. By default the value of the last two usually zero, so we will focus on the first four.
     First will post  UUID = XXX-XXX 
    where XXX-XXX is the number of UUID that corresponds to the partition agreement was gathering information for blkid

    (the number is without quotes). To recognize which of all the partitions listed is the one you want, look at the property

    TYPE

    whose value must be vfat (eg TYPE = "vfat" ). Secondly we specify where we want our partition to be mounted. Usually you use one folder within / media , for example, / media / DiscoFat . This is to ensure that our partition appears in the Places menu file browser (Nautilus). But eventually be specify any folder (empty), even something as / home / user / disc . (The directory must already be created, if it is what we create. See Step 3. Prevents the folder name contains spaces). Third is the type of partition you are mounting. In this case vfat partition being FAT32. Fourth are the options. Here is critical information. Each parameter is separated from the next by a comma. The various options are detailed in the manual of Linux. You can access it by typing in the console

    man 8 mount. But for purposes of this tutorial use the following options rw, users, utf8, umask = 000 . The parameter

    rw

    is to give write permission (default is ro read only); users is so that any user can mount and unmount the partition (default is nouser , only root can mount partition); utf8 serves, in this case, for Linux to respect the encoding used by Windows to name files and finally umask = 000 to write permissions apply to all users automatically even if the partition mounted as root. (Without this last parameter can only write to the partition with root privileges or by disassembling and reassembling the partition on your user session) Finally add 0 the end of the line for each of the last two categories, ie 0 0 .

    Line Example:

    File System (UUID)

    Mount Point Format Partition DiscoFat
    Options Dump Pass UUID = 5673-8190 / media /
    vfat rw, users, utf8, umask = 000 0 0
    Example / etc / fstab file. The last line corresponds to the FAT32 partition
  3. Save and close the file. Ejemplo Exit the terminal window. Write
    exit.
  4. Step 3: Create the mount point
  5. We must first confirm that the folder where you mount the partition there. If we choose a directory / media
  6. can only create it with root permissions.

Open "Run Application" (Alt-F2) and run

gksu nautilus .

sailed up
    / media
  1. and create the folder (Ctrl-Shift-N). The folder should have the same name you specified in / etc / fstab respecting upper / lower case.
  2. Where possible we keep the folder name contains spaces. (If you do you should make sure that the mount point specified in / etc / fstab has a backslash (backslash
  3. ) before each space. For example:
/ media / disk \\ Fat

) From now every time you reboot you can access our FAT32 partition writable.

0 comments:

Post a Comment