Pagina 1 di 1

Problema installazione Facebook-notify

Inviato: mercoledì 1 dicembre 2010, 1:03
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!!

Re: Problema installazione Facebook-notify

Inviato: mercoledì 1 dicembre 2010, 1:07
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

Re: Problema installazione Facebook-notify

Inviato: mercoledì 1 dicembre 2010, 1:53
da madground
concordo...  (good)

ps manuale python

Re: Problema installazione Facebook-notify

Inviato: mercoledì 1 dicembre 2010, 16:56
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??  :'(

Re: Problema installazione Facebook-notify

Inviato: mercoledì 1 dicembre 2010, 20:40
da madground
crea un laucher che esegua il comando senza l'obbligo di tenere aperto il terminale oppure metti il terminale in background