View previous topic :: View next topic |
Author |
Message |
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Thu Nov 18, 2004 2:31 pm Post subject: [Portage] Performare operazioni prima e dopo emerge |
|
|
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 |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Thu Nov 18, 2004 2:33 pm Post subject: |
|
|
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 |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Thu Nov 18, 2004 2:38 pm Post subject: |
|
|
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 |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Thu Nov 18, 2004 2:42 pm Post subject: |
|
|
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 |
|
|
DaVe&OpenMOsix Apprentice
Joined: 30 Dec 2003 Posts: 213
|
Posted: Thu Nov 18, 2004 5:47 pm Post subject: |
|
|
non potresti abbassare la nice dello screensaver, ossia dargli meno priorità?
per quanto riguarda l'emerge col beep puoi fare
oppure fare uno scriptino
Code: |
emergebeep.sh
#!/bin/bash
pacchetto=$1
emerge $pacchetto && beep
|
e lanciare
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 |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Thu Nov 18, 2004 6:18 pm Post subject: |
|
|
o magari fare un alias direttamente di emerge |
|
Back to top |
|
|
koma Advocate
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Thu Nov 18, 2004 6:40 pm Post subject: |
|
|
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 |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Nov 18, 2004 6:59 pm Post subject: |
|
|
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 |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Fri Nov 19, 2004 12:37 am Post subject: |
|
|
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 _________________ 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 |
|
|
|