LinHES Forums
http://forum.linhes.org/

getting rod of the quit option
http://forum.linhes.org/viewtopic.php?f=6&t=4343
Page 1 of 1

Author:  kruuth [ Fri Apr 29, 2005 3:52 pm ]
Post subject:  getting rod of the quit option

Is there a way to prevent the quit menu for coming up?

Author:  khrusher [ Fri Apr 29, 2005 5:13 pm ]
Post subject: 

not sure about disabling the quit menu, but what is your goal? if you are tring to assure that no one can exit the frintend (and no one can provide a better way) this is a script hack that will respawn the frontend if the quit function is used
Code:
while true
do
   mythfrontend
done

This put the frontend start command in a loop, once the frontend exits, the loop cycles and restarts te frontend.....forever, well, for at least as long as true is, well, true.

put that in a script and call inplace of current frontend start command.

dont forget the 'halt' and 'reboot' buttons

Author:  Xsecrets [ Fri Apr 29, 2005 8:06 pm ]
Post subject: 

If you just don't want it to come up when you hit esc one to many times there is an option in one of the settings I think it's the general settings menu to change the key sequence to bring it up for instance mine is alt+esc therefore I cannot exit with the remote. I have to break out the keyboard if I really want to exit and run an xterm or something.

Author:  kruuth [ Fri Apr 29, 2005 10:53 pm ]
Post subject: 

Yes. I pretty much want to avoid someone escaping out of the program.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/