Documentation:Lirc

TV-Viewer can be controlled by a remote control. In order to use this feature you'll have to install and configure lirc on your system.

There are two important things: % irexec -d The configuration is normally located in "~/.lircrc". If this file does not exist you need to create it.  
 * 1) You have to run irexec in daemon mode


 * Possible actions for your remote control:
 * teleview (Start/Stop TV playback)
 * station_up (Zap one station up)
 * station_down (Zap one station down)
 * station_jump (Jump between the last two stations)
 * key_[0-9] (Keys 0 - 9 to choose station number)
 * slist_osd (Activates the OSD stationlist)
 * slist_osd_up (Highlights the next higher channel in OSD stationlist.)
 * slist_osd_down (Highlights the next lower channel in OSD stationlist.)
 * fullscreen (Toggle fullscreen)
 * quit (Close TV-Viewer)
 * zoom_incr (Increase zoom)
 * zoom_decr (Decrease zoom)
 * zoom_auto (Autozoom 16:9)
 * size_stnd (Standard window size)
 * size_double (Double window size)
 * move_up ( Pitches the picture to the desired direction.)
 * move_down ( " )
 * move_left ( " )
 * move_right ( " )
 * move_center (Center picture)
 * record (Start Record Wizard)
 * timeshift (Starts the Timeshift function.)
 * volume_incr (Increase volume)
 * volume_decr (Decrease volume)
 * mute (Toggle mute)


 * The following actions can only be used if you are watching a recording.
 * forward_10s (10 seconds fast forward)
 * forward_1m (1 minute fast forward)
 * forward_10m (10 minutes fast forward)
 * forward_end (End of the file)
 * rewind_10s (10 seconds rewind)
 * rewind_1m (1 minute rewind)
 * rewind_10m (10 minutes rewind)
 * rewind_start (Beginning of the file)
 * pause (Toggle pause)
 * stop (Stop file playback - recording will continue)
 * start (Start file playback)

With all these options it should be possible to lay back on the sofa and relax with TV-Viewer :D

Now an example configuration for your "~/.lircrc": begin remote = Hauppauge #Name of the remote control prog = irexec button = TV #The name of the button which you want to use to start tv-viewer. config = tv-viewer & #Execute TV-Viewer, don't forget the "&" mode = tv-viewer #If you use an extra mode for TV-Viewer your remote control won't affect any other programs. repeat = 0 #Enable or disable repeat end

begin tv-viewer #Marks the begin for mode tv-viewer.

begin remote = Hauppauge prog = irexec button = Channel_UP config = tv-viewer_lirc station_up #Zap one station up. repeat = 0 end

begin remote = Hauppauge prog = irexec button = Channel_DOWN config =tv-viewer_lirc station_down #Zap one station down. repeat = 0 end

begin remote = Hauppauge prog = irexec button = Back/Exit config = tv-viewer_lirc quit #Quit TV-Viewer flags = mode #Exit mode tv-viewer repeat = 0 end

end tv-viewer #Marks the end for mode tv-viewer.

For more options see the list further up, also check the howto section for more detailed examples.