[mythtv-users] CTRL-ALT-BACKSPACE

Stephen Worthington stephen_agent at jsw.gen.nz
Sat Mar 9 02:57:13 UTC 2019


On Fri, 8 Mar 2019 11:40:09 -0800, you wrote:

>Stephen,
>
>I ran the command on /dev/sdb1 and it made its 5 passes and gave a
>summary.  It was very quick. I am used to fsck taking hours to run. I
>didn't time it but I would say under a minute.  At the time of day I killed
>the power, Myth wasn't doing anything that I know of. The last show we
>record was over more than an hour before. I used a clonezella bootable DVD
>and exited to a command prompt to do the test.

It looks like you were right and it was mostly shut down at the time -
good news.  But you still need to make sure to check the database
also.

Fsck processing time tends to be proportional to the number of files
on a partition.  So if you have a huge collection of 100,000 photo
files, then it will take a fair bit longer.

>On the CTRL-ALT-Backspace, I guess I am just going to try some things.
>Entering commands on a terminal to either shut down Myth or X is not what I
>am looking for.  If I could have a key sequence that killed just
>mythfrontend that would be even better but killing X is fine.
>CTRL-ALT-Backspace is probably faster than opening a terminal, finding a
>pid and killing it and a lot more wife friendly.  Full disclosure:  I am
>talking about my wife only, not commenting on the ability of woman in
>general.  My daughter could handle it.
>
>Allen

One alternative is to use lirc to assign a button on your remote to
kill mythfrontend.real.  Lirc can be set up to run scripts using
irexec.  The script would do a ps -e and find any running copies of
mythbackend.real and kill them.  Then the mythfrontend script would
see that mythfrontend.real had died and would restart it.


More information about the mythtv-users mailing list