On Feb 5, 2008 2:31 PM, Christopher M. Jones <<a href="mailto:cjones@partialflow.com">cjones@partialflow.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm somewhat lost as to how to set up a button on my remote to switch<br>desktops. I probably just don't understand how myth interacts with<br>irxevent. What I think I understand so far:<br><br>I am using the latest myth from ubuntu (.20?)<br>
<br>I set up lircrc with the following:<br><br>begin<br>prog = irxevent<br>button = A<br>config = Key ctrl-alt-Left RootWindow<br>end<br><br>I don't know if "RootWindow" is right. Should this work? What else<br>
should I have to do?<br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>Once you enter "prog = irxevent" that keypress is pushed off by lircd to the irxevent process (started by your myth user as "irxevent --daemon" or by root as "irxevent --daemon /home/mythtv/mythtv/.lircrc") and doesn't even hit Myth with a command, that is unless you have that same button also configured to send a command to Myth. Since your not trying to focus on a program with-in the desktop workspace, you should be able to get away with simply sending the 'Key ctrl-atl-Left{Right}' as the config string.<br>
<br>Josh