Diferencia entre revisiones de «Gmail»

De Guía Ubuntu
Saltar a: navegación, buscar
m (imagen en miniatura)
(traduzco algunos comentarios del script (faltan traducciones y algunas son incorrectas))
 
(No se muestra una edición intermedia realizada por un usuario)
Línea 7: Línea 7:
 
#!/bin/sh
 
#!/bin/sh
  
# gnome-gmail - a script that passes gnome mailto links to gmail in your browser
+
# gnome-gmail - un script que pasa enlaces de correos de GNOME a GMail en tu navegador
# Copyright (c) 2006 Matthew C Ruschmann  
+
# Copyright (c) 2006 Matthew C Ruschmann
# Version: 1.0  
+
# Versión: 1.0
  
# Adapted from ymail - by David L Norris  
+
# Adaptado de ymail - por David L Norris  
 
# http://webaugur.com/wares/files/ymail  
 
# http://webaugur.com/wares/files/ymail  
  
# This program is free software; you can redistribute it and/or modify
+
# Este programa es software libre; tú puedes redistribuirlo o modificarlo
# it under the terms of the GNU General Public License as published by
+
# conforme a los términos de la Licencia Pública General de GNU publicada
# the Free Software Foundation; either version 2 of the License, or
+
# por la Free Software Foundation; cualquier versión 2 de la licensia, o
# (at your option) any later version.
+
# (a tu elección) alguna versión posterior.
 
#
 
#
# This program is distributed in the hope that it will be useful,
+
# Este programa se distribuye con la esperanza de ser útil, pero
# but WITHOUT ANY WARRANTY; without even the implied warranty of
+
# SIN NINGUNA GARANTÍA; sin uniformidad la garantía implicada de
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
# MERCANTILISMO o APTITUD PARA UN PROPÓSITO PARTICULAR. Ver la
# GNU Library General Public License for more details.
+
# Licencia Pública General de Librerías de GNU para más detalles.
 
#
 
#
# You should have received a copy of the GNU General Public License
+
# Debes haber recibido una copia de la Licencia Pública General de GNU a
# along with this program; if not, write to the Free Software
+
# lo largo de este programa; si no, escribe a la Free Software Foundation
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, EE.UU.
  
# Ask GNOME for the web browser command.
+
# Pregunta a GNOME el comando del navegador web
 
BROWSER=`gconftool-2 –get ‘/desktop/gnome/url-handlers/http/command’ | cut -f1 -d’ ‘ `
 
BROWSER=`gconftool-2 –get ‘/desktop/gnome/url-handlers/http/command’ | cut -f1 -d’ ‘ `
  
# If no arguments just start gmail
+
# Si no hay argumentos, simplemente iniciar GMail
 
if test -z “${*}”
 
if test -z “${*}”
 
   then
 
   then
Línea 49: Línea 49:
 
echo ${BROWSER} "${TOURL}${TOMAIL}"
 
echo ${BROWSER} "${TOURL}${TOMAIL}"
  
# Execute mail command
+
# Ejecutar comando de correo
 
${BROWSER} "${TOURL}${TOMAIL}"
 
${BROWSER} "${TOURL}${TOMAIL}"
 
</bash>
 
</bash>
[[image:Gnome-gmail.jpg|thumb|right|Ventana de Aplicaciones Preferidas]]
+
[[Imagen:Gnome-gmail.jpg|thumb|right|Ventana de Aplicaciones Preferidas]]
 +
 
 
Luego lo guardamos en ''/usr/bin/'' y le damos los permisos necesarios:
 
Luego lo guardamos en ''/usr/bin/'' y le damos los permisos necesarios:
 
  $ sudo cp gnome-gmail /usr/bin  
 
  $ sudo cp gnome-gmail /usr/bin  
 
  $ sudo chmod 755 /usr/bin/gnome-gmail
 
  $ sudo chmod 755 /usr/bin/gnome-gmail
Finalmente vamos a ''Sistema -> Preferencias -> Aplicaciones preferidas'', en ''Lector de correo'' seleccionamos personalizar y en el cuadro de texto escribimos:
+
 
 +
Finalmente vamos a '''Sistema -> Preferencias -> Aplicaciones preferidas''', en ''Lector de correo'' seleccionamos personalizar y en el cuadro de texto escribimos:
 
  gnome-gmail %s
 
  gnome-gmail %s
  
==Ver también==
+
== Ver también ==
*[[Thunderbird]]
+
 
*[[Evolution]]
+
* [[Thunderbird]]
*[[KMail]]
+
* [[Evolution]]
*[[Kontact]]
+
* [[KMail]]
 +
* [[Google Desktop]]
 +
 
 +
== Enlaces externos ==
  
==Enlaces externos==
+
* [http://www.gmail.com/ Sitio web oficial de Gmail] {{en}}
*[http://www.google.com/ Sitio web oficial de Google] {{en}}
+
*[http://www.google.es/ Sitio web oficial de Google] {{es}}
+
*[http://www.gmail.com/ Sitio web oficial de Gmail] {{en}}
+
  
[[Categoría:Usuario doméstico]][[Categoría:Internet]][[Categoría:Gestores de correo]]
+
[[Categoría:Gestores de correo]]

Última revisión de 19:26 2 oct 2007

Gmail es un servicio de correo electrónico gratuito, perteneciente a la empresa Google, con una gran capacidad de almacenamiento y soporte del protocolo POP3 para recibir correo (este no está activado por defecto).

Aquellos que usen Gmail para gestionar el correo (tanto de GMail, como de otras cuentas), pueden configurar GNOME para que trate Gmail como el gestor de correo predeterminado. Para ello hace falta crear un script llamado gnome-gmail que contenga el siguiente texto:

<bash>

  1. !/bin/sh
  1. gnome-gmail - un script que pasa enlaces de correos de GNOME a GMail en tu navegador
  2. Copyright (c) 2006 Matthew C Ruschmann
  3. Versión: 1.0
  1. Adaptado de ymail - por David L Norris
  2. http://webaugur.com/wares/files/ymail
  1. Este programa es software libre; tú puedes redistribuirlo o modificarlo
  2. conforme a los términos de la Licencia Pública General de GNU publicada
  3. por la Free Software Foundation; cualquier versión 2 de la licensia, o
  4. (a tu elección) alguna versión posterior.
  5. Este programa se distribuye con la esperanza de ser útil, pero
  6. SIN NINGUNA GARANTÍA; sin uniformidad la garantía implicada de
  7. MERCANTILISMO o APTITUD PARA UN PROPÓSITO PARTICULAR. Ver la
  8. Licencia Pública General de Librerías de GNU para más detalles.
  9. Debes haber recibido una copia de la Licencia Pública General de GNU a
  10. lo largo de este programa; si no, escribe a la Free Software Foundation
  11. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, EE.UU.
  1. Pregunta a GNOME el comando del navegador web

BROWSER=`gconftool-2 –get ‘/desktop/gnome/url-handlers/http/command’ | cut -f1 -d’ ‘ `

  1. Si no hay argumentos, simplemente iniciar GMail

if test -z “${*}”

 then
   ${BROWSER} “http://www.gmail.com”
   exit

fi

  1. Grab all command line parameters and strip mailto: if it exists.

TOMAIL=`echo “${*}” | sed -e ’s/mailto://g’` TOMAIL=`echo “$TOMAIL” | sed -e ’s/?/&/g’` TOMAIL=`echo “$TOMAIL” | sed -e ’s/&subject=/&su=/g’`

  1. This is the URL Yahoo! Companion and Yahoo! Toolbar uses to send email:

TOURL=”https://gmail.google.com/gmail?view=cm&cmid=0&fs=1&tearoff=1&to=”

  1. Print out what we are about to do

echo ${BROWSER} "${TOURL}${TOMAIL}"

  1. Ejecutar comando de correo

${BROWSER} "${TOURL}${TOMAIL}" </bash>

Ventana de Aplicaciones Preferidas

Luego lo guardamos en /usr/bin/ y le damos los permisos necesarios:

$ sudo cp gnome-gmail /usr/bin 
$ sudo chmod 755 /usr/bin/gnome-gmail

Finalmente vamos a Sistema -> Preferencias -> Aplicaciones preferidas, en Lector de correo seleccionamos personalizar y en el cuadro de texto escribimos:

gnome-gmail %s

Ver también

Enlaces externos