# Bottoni per xawtv begin prog = irexec button = F_TV config = xawtv & config = xawtv-remote quit # Questa sezione configura il bottone TV: la prima volta che viene premuto # fa partire xawtv (config=xawtv &) la seconda lo chiude (config=xawtv-remote quit). end begin prog = irexec button = Mute repeat = 0 config = aumix -v m # Questa sezione configura il bottone Mute: usa aumix per abbassare il volume a 0 end begin prog = irexec button = Chan-Stop repeat = 0 config = xawtv-remote setstation prev # Il canale precedente end begin prog = irexec button = Chan+Play repeat = 0 config = xawtv-remote setstation next # Il canale successivo end begin prog = irexec button = Fullscreen repeat = 0 config = xawtv-remote fullscreen # Passa alla visuale a schermo intero end begin prog = irexec button = Power repeat = 0 config = shutdown -h now # Forse questa linea e' un po' brutale: spegne il pc! # funziona solo se irexec e' stato fatto partire da root end begin prog = xawtv-remote button = 1 repeat = 1 config = xawtv-remote setstation 0 # raiuno? end begin prog = irexec button = 2 repeat = 1 config = xawtv-remote setstation 1 end begin prog = irexec button = 3 repeat = 1 config = xawtv-remote setstation 2 end begin prog = irexec button = 4 repeat = 1 config = xawtv-remote setstation 3 end begin prog = irexec button = 5 repeat = 1 config = xawtv-remote setstation 4 end begin prog = irexec button = 6 repeat = 1 config = xawtv-remote setstation 5 end begin prog = irexec button = 7 repeat = 1 config = xawtv-remote setstation 6 end begin prog = irexec button = 8 repeat = 1 config = xawtv-remote setstation 7 end begin prog = irexec button = 9 repeat = 1 config = xawtv-remote setstation 8 end begin prog = irexec button = 0/AV repeat = 1 config = xawtv-remote setinput Composite1 # Utile se si ha un videoregistratore (o una playstation!) collegato su Composite1 end begin prog = irexec button = Vol-Rew repeat = 1 config = aumix -v-2 end begin prog = irexec button = Vol+FF repeat = 1 config = aumix -v+2 end # Bottoni per mplayer begin prog = mplayer button = Vol+FF config = volume 1 repeat = 1 end begin prog = mplayer button = Vol-Rew config = volume -1 repeat = 1 end begin prog = mplayer button = Play config = pause repeat = 1 end begin prog = mplayer button = Stop config = seek 0 1\npause end begin prog = mplayer button = Fullscreen config = vo_fullscreen end begin prog = mplayer button = FForward config = seek 30 val [type=1] end begin prog = mplayer button = Rewind config = seek -30 val [type=1] end # Bottoni per gqmpeg begin prog = irexec button = F_RADIO config = gqmpeg & config = echo quit > /home/antonio/.gqmpeg/command # ovviamente devi sostituire "antonio" col nome del tuo utente # ~/.gqmpeg/command non sembra funzionare... end begin prog = irexec button = Play config = echo play > /home/antonio/.gqmpeg/command end begin prog = irexec button = Stop config = echo stop > /home/antonio/.gqmpeg/command end begin prog = irexec button = FForward config = echo next > /home/antonio/.gqmpeg/command end begin prog = irexec button = Rewind config = echo prev > /home/antonio/.gqmpeg/command end begin prog = irexec button = pause config = echo pause > /home/antonio/.gqmpeg/command end