Customized Remote Control Keys
Tips, Hints, and customised keys for remote controls
This page documents remote control tips, hints, and customised remote control keys. These are generally applicable to all remote control setups. For setup steps and customisations specific to a particular type of remote control see ???
Restart Mythtv key
Give the mythtv user permission via sudo. Edit /etc/sudoers and add the following line:
mythtv ALL=NOPASSWD: /etc/init.d/mythbackend
If you are running mythtv as a different user you will change mythtv to the user name you are using.
This sets up sudo so that user mythtv can do "sudo /etc/init.d/mythbackend restart".
Add something like this to the lircrc file in your ~/.mythtv directory e.g. if user fred runs mythtv on your system this would be /home/fred/.mythtv/lircrc:
# Power Off/Exit begin prog = irexec button = OFF config = /script/to/re-cycle/everything end
From PaulPick in the mythtv mailing list.
--indulis 04:48, 3 October 2006 (UTC)