<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 18, 2020 at 12:38 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 18 May 2020 12:05:19 -0400, you wrote:<br>
<br>
>On Mon, May 18, 2020 at 11:44 AM Stephen Worthington <<br>
><a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
><br>
>><br>
>> If p was being trapped by the desktop, that would be very unusual.<br>
>> Desktops almost always use Alt- or Ctrl-Alt- keys for hotkeys. And if<br>
>> you do p on the desktop, you would hope that you would see something<br>
>> happen as a result. I am still on Xubuntu 18.04 and there in the<br>
>> Setttings > Window Manager > Keyboard tab I can not see any single<br>
>> alphabetic keystrokes, and no p key. For the obvious reason that if<br>
>> you wanted to type p into a field in a program, you really do not want<br>
>> it grabbed by the desktop before it gets there.<br>
>><br>
>> What sort of remote is it? How does it interface with the system?<br>
>> Does it have any testing software? Is lirc running and grabbing<br>
>> keystrokes from the remote somehow?<br>
>><br>
><br>
>The remote is an Air Mouse as shown on the wiki:<br>
><a href="https://www.mythtv.org/wiki/Air_mouse_rf_remote" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Air_mouse_rf_remote</a><br>
>It's RF and connects via USB receiver.<br>
>lirc is not installed<br>
>Here's what I just did. In Settings -> Keyboard -> Application Shortcuts.<br>
>I added a shortcut to run mate-calc if I pressed my remotes >|| button. It<br>
>created the short cut noting that the key would be the AudioPlay. However<br>
>this didn't work as something else has captured the AudioPlay button.<br>
>That's why mythfrontend can't set that button to pause.<br>
><br>
>Jim A<br>
<br>
Ok, it is just a mouse and keyboard as far as the system is concerned.<br>
So you should be able to use it in a terminal session and see what<br>
keystrokes it is producing when you use the pause button. Or install<br>
screenkey:<br>
<br>
<a href="https://www.omgubuntu.co.uk/2016/11/screenkey-show-key-presses-screen-ubuntu" rel="noreferrer" target="_blank">https://www.omgubuntu.co.uk/2016/11/screenkey-show-key-presses-screen-ubuntu</a><br>
<br>
It should be available as a package:<br>
<br>
apt install screenkey<br>
<br>
When it is running, screenkey shows the keystrokes as they happen in<br>
an overlay band across the mid-bottom of the screen and makes it easy<br>
to see what each keystroke is.<br></blockquote><div><br></div><div>Screenkey shows XF86AudioPlay when I press my play/pause button</div><div>It's the same code that's generated on my keyboard with FN+F8.</div><div><br></div><div>Jim A</div><div> </div></div></div>