Problema installazione Facebook-notify

Installazione, configurazione e uso di programmi e strumenti.
cuoreviola89
Prode Principiante
Messaggi: 10
Iscrizione: martedì 30 novembre 2010, 13:03

Problema installazione Facebook-notify

Messaggio da cuoreviola89 »

Perchè quando clicco su facebook-notify.py  come da istruzioni invece di installarsi il programma mi si apre un documento di testo con scritto:

#!/usr/bin/env python
#Facebook Notify - Facebook status notifier for GNOME
#Copyright (C) 2009 John Stowers
#
#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 3 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 General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program.  If not, see .

import gtk

from libfacebooknotify.ui import Gui

if __name__ == "__main__":
    gtk.gdk.threads_init()
    app = Gui()
    try:
        gtk.main()
    except KeyboardInterrupt:
        app.exit()


Non riesco a decifrare il messaggio...Aiutatemi!!
Man from Mars

Re: Problema installazione Facebook-notify

Messaggio da Man from Mars »

Esegui

Codice: Seleziona tutto

python facebook-notify.py
dal terminale. Devi essere nella cartella dove c'è il file facebook-notify.py
Avatar utente
madground
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 480
Iscrizione: mercoledì 23 aprile 2008, 22:04
Località: Toscana

Re: Problema installazione Facebook-notify

Messaggio da madground »

concordo...  (good)

ps manuale python
sapere è potere, il potere senza sapere è miseria
Venite a trovarci su http://www.ubuntusecrets.it Blog italiano su ubuntu (novità, anteprime, recensioni e tanto altro ancora)
cuoreviola89
Prode Principiante
Messaggi: 10
Iscrizione: martedì 30 novembre 2010, 13:03

Re: Problema installazione Facebook-notify

Messaggio da cuoreviola89 »

Cucu7te ha scritto: Esegui

Codice: Seleziona tutto

python facebook-notify.py
dal terminale. Devi essere nella cartella dove c'è il file facebook-notify.py
Ok, grazie per l'aiuto, sono riuscito ad arrivare fin qua.
Adesso il problema è che dopo aver dato il comando di installazione lui elabora e arrivo a questo punto:

leonardo@leonardo-su:~$ cd /home/leonardo/Documenti/Leonardo/facebook-notify\ folder/
leonardo@leonardo-su:~/Documenti/Leonardo/facebook-notify folder$ ls
facebook.desktop    icons              Makefile  setup.py
facebook-notify.py  libfacebooknotify  README    TODO
leonardo@leonardo-su:~/Documenti/Leonardo/facebook-notify folder$ python facebook-notify.py

facebook parsing using: JSON (json)
browser using: webkit
Calling auth.createToken...  finished

A questo punto dopo Finished Appare l'icona dell'applicazione nella barra in alto, ma se provo a chiudere il terminale mi dice: "Un processo in questo terminale è ancora in esecuzione. Chiudendo il terminale verrà interrotto il processo"

Cos altro dovrei fare??  :'(
Ultima modifica di cuoreviola89 il mercoledì 1 dicembre 2010, 17:27, modificato 1 volta in totale.
Avatar utente
madground
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 480
Iscrizione: mercoledì 23 aprile 2008, 22:04
Località: Toscana

Re: Problema installazione Facebook-notify

Messaggio da madground »

crea un laucher che esegua il comando senza l'obbligo di tenere aperto il terminale oppure metti il terminale in background
sapere è potere, il potere senza sapere è miseria
Venite a trovarci su http://www.ubuntusecrets.it Blog italiano su ubuntu (novità, anteprime, recensioni e tanto altro ancora)
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: Google [Bot] e 4 ospiti