[mythtv-users] Run script on frontend exit?

Stefan Enzinger stefan.enzinger at student.tugraz.at
Fri Jan 21 19:15:25 UTC 2011


On 01/21/2011 07:41 PM, Richard Shaw wrote:
> I start unclutter on my combined BE/FE so the mouse cursor will hide
> when I launch Hulu Desktop from Myth. It would nice if there was an
> easy way to kill unclutter when I exit the FE as the kids use it for a
> general purpose computer when we're not watching TV.

I'd write a wrapper startscript for the frontend.
When the FE stops, just kill unclutter.

#!/bin/sh

/usr/bin/unclutter
/usr/bin/mythfrontend
/usr/bin/killall unclutter

exit 0

just a sketch...

hth, stefan


More information about the mythtv-users mailing list