# # This is an example of ~/.lircrc file # It is a copy of actual setup from my home machine. # Contributed by Konrad Riedel # # Adjusted for my own IR remote (Brooktree Corporation Bt848 TV) # by Yaroslav Halchenko begin prog = irexec button = VOL_UP config = aumix -v +5& flags = once end begin prog = irexec button = VOL_DOWN config = aumix -v -5& flags = once end begin prog = irexec button = TV mode = xawtv config = echo "XAWTV" flags = once end begin prog = irexec button = VIDEO mode = mplayer flags = once config = echo "MPLAYER" end begin prog = irexec button = PREVIEW config = echo "xmms" && xmms & mode = xmms flags = once end begin xawtv begin prog = irexec button = POWER config = xawtv & config = xawtv-remote quit & # flags = mode end begin prog = xawtv button = VIDEO repeat = 1 config = setinput next end begin prog = xawtv button = ZOOM repeat = 1 config = fullscreen end begin prog = xawtv button = CH_DOWN repeat = 1 config = setstation prev end begin prog = xawtv button = CH_UP repeat = 1 config = setstation next end begin prog = xawtv button = RECORD repeat = 1 #config = snap jpeg config = quit end begin prog = xawtv button = SCAN repeat = 1 config = Key ctrl-z xawtv end begin prog = irexec button = MUTE config = xawtv-remote volume mute & flags = once end end xawtv begin xmms begin prog = irexec button = STOP config = xmms-shell -e "pause" end begin prog = irexec button = PLAY config = xmms-shell -e "play" end begin prog = irexec button = VOL_DOWN repeat = 1 config = xmms-shell -e "-" end begin prog = irexec button = VOL_UP repeat = 1 config = xmms-shell -e "+" end begin prog = irexec button = POWER config = killall xmms flags = mode end begin prog = irexec button = CH_UP repeat = 1 config = xmms-shell -e "forward" end begin prog = irexec button = CH_DOWN repeat = 1 config = xmms-shell -e "backward" end begin prog = irxevent button = FINE_UP(PLUS) config = Key Right xmms end begin prog = irxevent button = FINE_DOWN(MINUS) config = Key Left xmms end begin prog = irexec button = MUTE config = xmms-shell -e "mute" flags = once end end xmms begin mplayer begin prog = irxevent button = PLAY repeat = 1 config = Key space MPlayer end begin prog = irxevent button = POWER repeat = 1 config = Key q MPlayer end end mplayer