[mythtv-users] how to set in lircrc.txt or related files so as to simulate pressing "Ctrl+Tab" on keyboard?

Nick Morrott knowledgejunkie at gmail.com
Mon Oct 1 19:18:36 UTC 2007


On 01/10/2007, Xi Jiarong <XiJiarong at sp.edu.sg> wrote:
>
>
> Hi,
>  How to set in lircrc-haupgrey.txt so as to be mathched with "Ctrl+Tab" in
> keyboard;
>  for example, pressing the "Video" button on Hauppauge remote control
> simulate the "Ctrl + Tab", so as to swith to another application.
>  how to set in lircrc.txt or related files so as to simulate pressing
> "Ctrl+Tab" on keyboard?

Jerry,

This is really a question for the lirc-list (read/subscribe at
https://lists.sourceforge.net/lists/listinfo/lirc-list) which you
might like to bookmark for future reference.

However, the following should work for the "Video" button in your
~/.lircrc file:

begin
        prog = irxevent
        button = Video
        config = Key ctrl-Tab CurrentWindow
end

This will pass Ctrl-Tab to the current window when running your X
server. irxevent needs to be running for this to work. You may also
need to use a different key name which is correct for your locale.

See http://lirc.org/html/irxevent.html for more useful information in
configuring irxevent, and your system's keysymdef.h file for valid key
names.

-- 
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list