Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Portage] Performare operazioni prima e dopo emerge
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Thu Nov 18, 2004 2:31 pm    Post subject: [Portage] Performare operazioni prima e dopo emerge Reply with quote

Esiste un qualcosa che permetta di eseguire operazioni prima e dopo il termine dell'emerge?
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Thu Nov 18, 2004 2:33 pm    Post subject: Reply with quote

l'idea è quella di stoppare xscreensaver all'avvio di un emerge e rilanciarlo al termine (mangia molta meno cpu)
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Thu Nov 18, 2004 2:38 pm    Post subject: Reply with quote

anche a me servirebbe sapere come si fanno cose del genere... in particolare vorrei che al termine di un'emersione lo speaker del sistema emettesse un po' di beep per segnalarmelo... avevo pensato di fare cosi':
1. emergo beep
2. creo un alias
3. emerge <...> && <nome_alias>
ma è un workaround...
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Thu Nov 18, 2004 2:42 pm    Post subject: Reply with quote

ho guardato il man portage e il man emerge e anche il man make,conf ma niente di utile
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
DaVe&OpenMOsix
Apprentice
Apprentice


Joined: 30 Dec 2003
Posts: 213

PostPosted: Thu Nov 18, 2004 5:47 pm    Post subject: Reply with quote

non potresti abbassare la nice dello screensaver, ossia dargli meno priorità?
per quanto riguarda l'emerge col beep puoi fare
Code:
emerge foo && beep

oppure fare uno scriptino
Code:

emergebeep.sh
#!/bin/bash
pacchetto=$1
emerge $pacchetto && beep

e lanciare
Code:
emergebeep foo

così, un'idea...
a me cmq beep non funziona...
ciao
DV
_________________
-- Siccome sono un informatico ho votato PCI convinto di aumentare gli slot di espansione della società --
-^v^v^v^v^v^v^v^v^v^-
DaVe the WaVe
http://dave.ccni.it
http://www.davethewave.it
-^v^v^v^v^v^v^v^v^v^-
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Thu Nov 18, 2004 6:18 pm    Post subject: Reply with quote

o magari fare un alias direttamente di emerge 8)
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Thu Nov 18, 2004 6:40 pm    Post subject: Reply with quote

si ma io cercavo un'opzione interna mi sembra strano che un programma di questo tipo non abbia l'opzione
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Nov 18, 2004 6:59 pm    Post subject: Reply with quote

Penso che portage non possieda una funzione del genere. Secondo me ti devi fare uno script.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Fri Nov 19, 2004 12:37 am    Post subject: Reply with quote

fctk wrote:
anche a me servirebbe sapere come si fanno cose del genere... in particolare vorrei che al termine di un'emersione lo speaker del sistema emettesse un po' di beep per segnalarmelo... avevo pensato di fare cosi':
1. emergo beep
2. creo un alias
3. emerge <...> && <nome_alias>
ma è un workaround...

Ma funziona! A me mi spara a tutto volume la sigla di Lupin però... effettivamente sullo stile puoi migliorare :D :lol:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum