LinHES Forums http://forums.linhes.org/ |
|
Suspend/Sleep via remote http://forums.linhes.org/viewtopic.php?f=11&t=18138 |
Page 1 of 1 |
Author: | yaplej [ Fri Apr 04, 2008 7:09 am ] |
Post subject: | Suspend/Sleep via remote |
Is there a way to have KM exit to the main menu, and then suspend/hibernate/sleep whatever its called. I am getting several FEs setup and they dont need to be one 24/7, but I dont want them to be totally off either because I want to avoid the whole reboot process. Like they did here maybe by configuring the power button in lircrc to sudo /sbin/halt http://mysettopbox.tv/phpBB2/viewtopic. ... end+remote |
Author: | vabiro [ Fri Apr 04, 2008 7:54 am ] |
Post subject: | |
I thought I had seen this somewhere, and it turned out to be in the MCE Remote Wiki entry at the MythTV Wiki: http://www.mythtv.org/wiki/index.php/MCE_Remote#S3_.2F_Suspend_To_RAM EDIT: I just found another, more generic, instruction: http://www.mythtv.org/wiki/index.php/Keys-_customized_remote_control_keys#Configuring_the_power_button_to_do_DPMS_sleep.2Funsleep I am not sure how this would need to be changed to suit your configuration, but it would be a good starting point. Cheers Victor |
Author: | yaplej [ Fri Apr 04, 2008 3:41 pm ] |
Post subject: | |
Thanks. I posted this real quick heading out the door. Didnt mean for it to be in this forum ![]() |
Author: | yaplej [ Fri Apr 11, 2008 1:28 am ] |
Post subject: | |
If anyone else is finds this I found this script that turns the monitor off if you dont want to deal with two remotes to turn your TV off. I just need to figure out how to have it exit to the main menu from the script. Code: #!/bin/bash
STATUS=`xset -q | grep "Monitor is" | awk '{print $3}'` if [ "${STATUS}" = "On" ] then xset dpms force off else xset dpms force on fi exit 0 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |