For this, all you have to do is download a couple of scripts that I have written and/or modified, and put them both in your /usr/local/bin/directory:
cd /usr/local/bin
wget http://s91928265.onlinehome.us/hfamily/mythtv/mbe.keepup.sh
wget http://s91928265.onlinehome.us/hfamily/mythtv/mythpowerbutton.sh
chmod a+rx mbe.keepup.sh
chmod a+rx mythpowerbutton.sh
As long as you used my lircrc-haupgrey.txt file (in the LIRC step), the mappings are already there for the power button to work immediately. This script will kill the frontend if it is running (and leave the backend alone), or, if the frontend is not running, it will start both the backend (if necessary) and the frontend. Note that for this to work, you should have placed "irexec" in the auto-run section in System->Preferences->Sessions for the mythtv user (done in a previous step).
søndag den 17. juni 2007
Abonner på:
Kommentarer til indlægget (Atom)
Ingen kommentarer:
Send en kommentar