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

Restarting MythFrontend with ATI Remote Wonder
http://forum.linhes.org/viewtopic.php?f=3&t=3024
Page 1 of 1

Author:  mapemera [ Tue Dec 07, 2004 9:51 pm ]
Post subject:  Restarting MythFrontend with ATI Remote Wonder

Hi all,
Since everybody with an IR remote had posts on how to restart the frontend when it crashed, I thought I'd set it up to work with the ATI Remote (RF). Since the remote actually emulates a keyboard, it wasn't really very hard.

You'll have to edit the .fvwm2rc file found in /home/mythtv/.fvwm
(I followed the lirc howto for these.)
First: Comment out:
Code:
#ColormapFocus FollowsMouse


Next, add:
Code:
Style * GrabFocus, GrabFocusTransient


And comment out:
Code:
#Style *           FocusFollowsMouse


I don't know for sure if those are necessary, but I did them.

Now find the part that sets up the root menu:
Code:
Mouse 1 R       A       Menu RootMenu Nop
Mouse 2 R       A       Menu Window-Ops Nop
Mouse 3 R       A       WindowList


now comment out the first line ( or change it) so it looks like this:
Code:
Key P              A       N       Menu RootMenu Nop
#Mouse 1        R       A       Menu RootMenu Nop
Mouse 2          R       A       Menu Window-Ops Nop
Mouse 3          R       A       WindowList

That changes it so instead of a mouse click bringing up the root menu, pressing the P key (mapped to Play) now brings it up. Then you can scroll down with the cursor keys(on the remote) to MythTv and hit enter (OK). Of course you can change the P above to whatever key you want to bring up the menu.

My Myth system has been running great so far... just once in a great while it would blink out to the Knoppmyth background.

Thanks everyone for their hard work and input... It makes a AWESOME end product.

Author:  mapemera [ Wed Dec 08, 2004 4:04 pm ]
Post subject:  ooops!

Sorry, I made a mistake above. The lines should read as follows:
Code:
Key P   R       N       Menu RootMenu Nop
#Mouse 1        R       A       Menu RootMenu Nop
Mouse 2 R       A       Menu Window-Ops Nop
Mouse 3 R       A       WindowList


The "A" after the Key P should be changed to an "R". This lets this work only in the root window. Otherwise it would pop up the menu anywhere you were in mythtv.

Seems to work now. Sorry.

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