Indice del forum
infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a
 REGOLAMENTOREGOLAMENTO   FAQ  FAQ   Cerca  Cerca   Lista utenti  Lista utenti   Gruppi  Gruppi CHAT  CHAT   Phoogle Map  Phoogle Map
Registrati  ::  Log in Messaggi privati


Nuovo argomento  Rispondi
 Ubuntu e launcher per "shell programs" « Precedente :: Successivo » 
Autore Messaggio
simone_lago
MessaggioInviato: Mar Ago 05, 2008 12:00 pm    Oggetto: Ubuntu e launcher per "shell programs" Rispondi citando




Registrato: 08/07/07 20:05
Età: 28
Messaggi: 1389
Residenza: Onara

Ciao,
dato che sono un linaro niubbo, mi direste come fare per avere un launcher sul desktop che fatta partire, ad esempio, lo script di test? Nel mio caso i comandi sono questi:
cd Documenti
sudo ./testE4A.sh

Il problema principale è impedire alla shell di chiudersi dopo aver eseguito lo script, per darmi modo di copiare i risultati.
Ciao e grazie!
S.
_________________
6M/1M@512K-MCR

I dati della mia stazione meteo:
http://meteonara.altervista.org/urbana/index.html
---
http://www.simonelago.it
This post doesnot have score yet, be the first to comment:    
The copyright belongs to simone_lago and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato Invia e-mail HomePage MSN Skype Phoogle Map
Sponsor
r3lative
MessaggioInviato: Mar Ago 05, 2008 12:49 pm    Oggetto: Re: Ubuntu e launcher per "shell programs" Rispondi citando

BANNATO


Registrato: 03/05/07 00:27

Messaggi: 7340
Residenza: Saccolongo - PD - ITALY - terzo pianeta a sinistra

simone_lago ha scritto:
Ciao,
dato che sono un linaro niubbo, mi direste come fare per avere un launcher sul desktop che fatta partire, ad esempio, lo script di test? Nel mio caso i comandi sono questi:
cd Documenti
sudo ./testE4A.sh

Il problema principale è impedire alla shell di chiudersi dopo aver eseguito lo script, per darmi modo di copiare i risultati.
Ciao e grazie!
S.


puoi fare una shell che ti lancia la shell Wink basta che metti un "read" alla fine

una cosa tipo questa

Codice:



blablabla
sudo ./testE4A.shA
echo premi un tasto per continuare ...
read


_________________
“Mai argomentare con un idiota;
ti fa scendere al suo livello e ti batte per esperienza ”
r3lative blog
This post doesnot have score yet, be the first to comment:    
The copyright belongs to r3lative and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato Invia e-mail HomePage Phoogle Map
simone_lago
MessaggioInviato: Mar Ago 05, 2008 1:13 pm    Oggetto: Rispondi citando




Registrato: 08/07/07 20:05
Età: 28
Messaggi: 1389
Residenza: Onara

Quindi stai parlando di uno script... Hmmm... Siccome so niubbo tanto, espliciteresti il "bla bla bla" ? Mr. Green
Grazie! Sei sempre il più tempestivo.
_________________
6M/1M@512K-MCR

I dati della mia stazione meteo:
http://meteonara.altervista.org/urbana/index.html
---
http://www.simonelago.it
This post doesnot have score yet, be the first to comment:    
The copyright belongs to simone_lago and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato Invia e-mail HomePage MSN Skype Phoogle Map
krakatoa
MessaggioInviato: Mar Ago 05, 2008 1:26 pm    Oggetto: Rispondi citando




Registrato: 05/09/07 20:12
Età: 25
Messaggi: 118

Oppure potresti fare anche una cosa del genere, così puoi tenere i risultati senza rifare il test

Codice:


#!/bin/bash
cd /home/nome_utente/Documenti
./testE4A > /tmp/teste4a.txt
gedit /tmp/teste4a.txt &



in questo modo la shell si chiude finito il test, e ti si apre il gedit con il file con i risultati...e quando vuoi rivederlo non fai altro che riaprirlo..e i risultati non cambiano finchè non rifai il test
hi
_________________
Computers are like air conditioners: they stop working properly when you open windows

##############################################

cercare di fare network security è paragonabile a cambiare lo scafo di una nave quando è già al largo
Marcus Ranum
This post doesnot have score yet, be the first to comment:    
The copyright belongs to krakatoa and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
Bridgeman
MessaggioInviato: Mar Ago 05, 2008 1:28 pm    Oggetto: Rispondi citando




Registrato: 10/11/07 00:08
Età: 27
Messaggi: 461
Residenza: Castelnovo

Simone, potresti fare sulla barra aggiungi pannello, aggiungi Lanciatore applicazione personalizzato, tipo applicazione nel terminale e come comando gli dai sudo ./testE4A.sh...può essere mmm chiaro che ogni prima volta bisogna dargli la password..

edit:
Sono din don, perchè così dopo si chiude.. dho
_________________
"We did not choose to become robots. There was an accident in our studio. We were working on our sampler, and at exactly 9:09 a.m. on September 9, 1999, it exploded. When we regained consciousness, we discovered that we had become robots."

This post doesnot have score yet, be the first to comment:    
The copyright belongs to Bridgeman and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato HomePage MSN Skype Phoogle Map
simone_lago
MessaggioInviato: Mar Ago 05, 2008 2:59 pm    Oggetto: Rispondi citando




Registrato: 08/07/07 20:05
Età: 28
Messaggi: 1389
Residenza: Onara

Grazie a tutti!
Ho adottato la soluzione di Relative. Mi mancava il passaggio fondamentale: #!/bin/bash Mr. Green Mr. Green

Oh, ve l'avevo detto che so' niubbo Smile
Grazie ancora.
CiaoCiao
_________________
6M/1M@512K-MCR

I dati della mia stazione meteo:
http://meteonara.altervista.org/urbana/index.html
---
http://www.simonelago.it
This post doesnot have score yet, be the first to comment:    
The copyright belongs to simone_lago and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato Invia e-mail HomePage MSN Skype Phoogle Map
Mostra prima i messaggi di:   
Nuovo argomento  Rispondi Pagina 1 di 1

Vai a:  
Discussioni simili
Argomenti Autore Risposte Consultazioni Ultimo messaggio
Quest'argomento è chiuso: Non puoi inserire, rispondere o modificare i messaggi. Test @ 14/04/2012
wall-e 4 53 Sab Apr 14, 2012 9:06 pm
Emilien Leggi gli ultimi messaggi
Non ci sono nuovi messaggi Fatta richieta upgrade banda
erik501 3 668 Lun Mar 09, 2009 11:11 pm
3N Leggi gli ultimi messaggi
Non ci sono nuovi messaggi speed test (importante)
mannaro 5 500 Gio Lug 19, 2007 12:25 pm
mannaro Leggi gli ultimi messaggi
Non ci sono nuovi messaggi fatevi sto test...con onesta pero'!!!
marte_57 0 816 Ven Gen 26, 2007 10:20 pm
marte_57 Leggi gli ultimi messaggi
Non ci sono nuovi messaggi Test gestione mail e voip
karyal 0 923 Ven Gen 26, 2007 11:33 am
karyal Leggi gli ultimi messaggi



Non puoi inserire nuovi argomenti
Non puoi rispondere a nessun argomento
Non puoi modificare i tuoi messaggi
Non puoi cancellare i tuoi messaggi
Non puoi votare nei sondaggi


Powered by phpBB © 2001, 2005 phpBB Group