Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "AlessioTreglia/Prove0"
Differenze tra le versioni 3 e 74 (in 71 versioni)
Versione 3 del 01/03/2007 09.34.50
Dimensione: 6950
Commento: prima bozza script gmail per ubuntu
Versione 74 del 18/09/2007 17.14.05
Dimensione: 1518
Commento: creata tabella
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
Qui andrò a inserire le mie bozze! #format wiki
#language it
[[BR]]
Linea 3: Linea 5:
||<:style="background-color:orange;":20%>'''#1'''||<:style="background-color:orange;">'''Descrizione e avanzamento'''||<:style="background-color:orange;">'''Avanzamento''' ||
|| 1 ||Stabilire un nuovo nome della sezione ||<style="background-color:red;">Da avviare ||<style="background-color:lightblue;" rowspan=3>Fase preliminare||
|| 2 ||Individuare sottosezioni ||<style="background-color:red;">Da avviare ||
|| 3 ||Spostare le singole pagine nelle relative sottosezioni. ||<style="background-color:red;">Da avviare ||
|| 4 ||Stabilire il colore del portale. ||<style="background-color:red;">Da avviare ||<style="background-color:lightblue;" rowspan=3>Prima fase||
|| 5 ||Caricare le icone relative alle singole sezioni. ||<style="background-color:red;">Da avviare ||
|| 6 ||Preparare le tabelle in StrumentiWiki. ||<style="background-color:red;">Da avviare ||
|| 7 ||Revisionare almeno il 60 % del totale delle sottopagine di tutto il portale. ||<style="background-color:red;">Da avviare ||<style="background-color:lightblue;" rowspan=2>Seconda fase||
|| 8 ||Applicare il nuovo stile alle sottosezioni. ||<style="background-color:red;">Da avviare ||
|| 9 ||Revisionare almeno un altro 25 % delle guide del portale. ||<style="background-color:red;">Da avviare ||<style="background-color:lightblue;" rowspan=2>Terza fase ||
|| 10 ||Applicare lo stile grafico alla pagina principale del portale. ||<style="background-color:red;">Da avviare ||
Linea 4: Linea 17:
Questa è la guida per impostare gmail come client predefinito su Gnome

= Introduzione =
= Creazione dello script =

Per prima cosa dobbiamo scrivere lo script che andremo ad eseguire al posto di Evolution.

Aprire un editor di testo (i.e. '''gedit''' per '''Gnome''', e copiare all'interno di un nuovo file il seguente testo:

== Versione per Gnome ==
{{{
#!/bin/sh

# gnome-gmail - a script that passes gnome mailto links to gmail in your browser
# Copyright (c) 2006 Matthew C Ruschmann <http://matthew.ruschmann.net>
# Version: 1.0

# Adapted from ymail - by David L Norris <dave@webaugur.com>
# http://webaugur.com/wares/files/ymail

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# Riceve da Gnome il comando per lanciare il browser.
BROWSER=`gconftool-2 --get '/desktop/gnome/url-handlers/http/command' | cut -f1 -d' ' `

# Se non ci sono argomenti a riga di comando, lancia Gmail
if test -z "${*}"
  then
    ${BROWSER} "http://www.gmail.com"
    exit
fi

# Riceve gli argomenti e li passa a Gmail
TOMAIL=`echo "${*}" | sed -e 's/mailto://g'`
TOMAIL=`echo "$TOMAIL" | sed -e 's/?/\&/g'`
TOMAIL=`echo "$TOMAIL" | sed -e 's/&subject=/\&su=/g'`

# Questo è l'url che Yahoo! Companion and Yahoo! Toolbar usano per inviare email:
TOURL="https://gmail.google.com/gmail?view=cm&cmid=0&fs=1&tearoff=1&to="

# Stampa quello che stiamo facendo
echo ${BROWSER} "${TOURL}${TOMAIL}"

# Esegui il comando
${BROWSER} "${TOURL}${TOMAIL}"
}}}

== Versione per KDE ==

{{{
    #!/bin/sh
    # kde-gmail - a script that passes kde mailto links to gmail in your browser
    # Copyright (c) 2006 Treviño <http://italy.copybase.ch/blog/>
    # Version: 1.0

    # Mainly based on gnome-gmail by Matthew C Ruschmann <http://matthew.ruschmann.net>

    # Adapted from ymail - by David L Norris <dave@webaugur.com>
    # http://webaugur.com/wares/files/ymail

    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU Library General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

    # Ask KDE for the default web browser.

    KDE_HOME=$(kde-config –localprefix)
    BROWSER=$(cat $KDE_HOME/share/config/kdeglobals| grep BrowserApplication| cut -f2 -d‘!’ -s)

    # Use konqueror if no other browser is set
    if [ -z $BROWSER ];
     then
      BROWSER=$(which konqueror)
    else
      BROWSER=$(which $BROWSER)
    fi

    # No Browser found: exit
    if [ -z $BROWSER ];
     then
      echo ‘No browser available’
      exit
    fi

    # If no arguments just start gmail
    if test -z "${*}"
    then
    ${BROWSER} "http://www.gmail.com"
    exit
    fi

    # 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’`

    # This is the URL Yahoo! Companion and Yahoo! Toolbar uses to send email:
    TOURL="https://mail.google.com/mail?view=cm&cmid=0&fs=1&tearoff=1&to="

    # Print out what we are about to do
    echo ${BROWSER} "${TOURL}${TOMAIL}"

    # Execute mail command
    ${BROWSER} "${TOURL}${TOMAIL}"
}}}

Salvare il file come `gmail-client` nella propria '''Home''', dunque aprire una finestra di terminale e digitare:
{{{
cd
sudo chmod +x gmail-client
sudo cp gmail-client /usr/bin/
}}}



= Modifica delle impostazioni =













= Introduzione =

Insieme al sistema operativo viene installato un set di applicazioni di default, contenente il software adatto agli usi più comuni. É molto probabile che per soddisfare delle esigenze più o meno particolari, oppure anche solo per provare una soluzione alternativa a quelle fornite dal sistema di base, si presenti la necessità di installare una o più applicazioni. Installare il software su Ubuntu è facile, e l'intento di questo wiki è mostrare all'utente alcuni procedimenti.

= Gestire i pacchetti =

Questa sezione offre una panoramica sui pacchetti software e sulla loro gestione all'interno di Ubuntu.

== Cosa sono i pacchetti ==

Allo scopo di svolgere correttamente la propria missione, un applicazione può ''appoggiarsi'' ad altri componenti software, come, per esempio, delle librerie o altre applicazioni. Durante l'installazione di un programma non è raro che per la sola esecuzione di esso siano richiesti migliaia di file, i quali devono trovarsi nelle giuste posizioni all'interno del filesystem. Tutto questo può apparire molto complicato, se non impossibile da amministrare ''a mano'', o, per dare meglio l'idea, ''a click di mouse''.

Ubuntu mette a disposizione dell'utente un potente sistema in grado di gestire il software installato, all'occorrenza capace di installare, nonchè rimuovere, applicazioni e librerie, risolvendo in maniera automatica il problema delle dipendenze fra i vari componenti software. Il vero punto di forza di questo sistema risiede proprio nella sua unità fondamentale: i ''pacchetti''.

I ''pacchetti'' sono, essenzialmente, insiemi di files compressi in un unico file. Un ''pacchetto'' memorizza al suo interno tutto il necessario affinchè il software contenuto possa essere eseguito senza problemi. Inoltre, insieme alla parte relativa al programma vero e proprio, vengono memorizzati anche degli ''scripts'' di installazione, responsabili dell'operazione di copia su disco del programma stesso.

== Binari e sorgenti ==
== Dipendenze dei pacchetti ==
== I gestori dei pacchetti ==
== Canali/Repository software ==
----
CategoryHomepage

BR

#1

Descrizione e avanzamento

Avanzamento

1

Stabilire un nuovo nome della sezione

Da avviare

Fase preliminare

2

Individuare sottosezioni

Da avviare

3

Spostare le singole pagine nelle relative sottosezioni.

Da avviare

4

Stabilire il colore del portale.

Da avviare

Prima fase

5

Caricare le icone relative alle singole sezioni.

Da avviare

6

Preparare le tabelle in StrumentiWiki.

Da avviare

7

Revisionare almeno il 60 % del totale delle sottopagine di tutto il portale.

Da avviare

Seconda fase

8

Applicare il nuovo stile alle sottosezioni.

Da avviare

9

Revisionare almeno un altro 25 % delle guide del portale.

Da avviare

Terza fase

10

Applicare lo stile grafico alla pagina principale del portale.

Da avviare


CategoryHomepage