Customized Remote Control Keys

From MythTV Official Wiki
Revision as of 04:50, 3 October 2006 by Indulis (talk | contribs) (Restart Mythtv key)

Jump to: navigation, search

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 ???

Customised keys

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 your 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)