Opened 11 years ago

Closed 9 years ago

#5713 closed enhancement (wontfix)

X Events for Mythfrontend Telnet control

Reported by: yolanother@… Owned by: danielk
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

I've created this patch based on fixes 18207 that adds support for sending keyboard commands to a focused X window. I've been writing a MythRemote? for my n800 internet tablet and I'm using the Mythfrontend telnet control for sending commands to my frontend. I noticed that when mplayer was focused commands were still sent to the frontend. I created this patch to provide a means to send x commands to the focused window. It adds the xkey command (behaves just like key). I also added a sub command "focused" to retrieve the name of the x window that currently has the focus. Its pretty rough, but I thought I'd send it out to get some discussion started.

Attachments (5)

myth-network-sendxkey.patch (25.8 KB) - added by yolanother@… 11 years ago.
Mythfrontend telnet remote sendxkey patch.
myth-network-sendxkey.2.patch (25.8 KB) - added by yolanother@… 11 years ago.
Mythfrontend network patch with files removed (applies cleanly to fixes18207 branch)
myth-network-xkey-svn.patch (20.0 KB) - added by yolanother@… 11 years ago.
This version of the patch should apply cleanly to svn 18282.
5713-v1.patch (15.3 KB) - added by danielk 11 years ago.
Updated patch to trunk
5713-v2.patch (20.3 KB) - added by danielk 11 years ago.
Oops, missing sendxkey.{h,cpp} in last patch

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by yolanother@…

Attachment: myth-network-sendxkey.patch added

Mythfrontend telnet remote sendxkey patch.

Changed 11 years ago by yolanother@…

Mythfrontend network patch with files removed (applies cleanly to fixes18207 branch)

Changed 11 years ago by yolanother@…

Attachment: myth-network-xkey-svn.patch added

This version of the patch should apply cleanly to svn 18282.

comment:1 Changed 11 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newaccepted

Changed 11 years ago by danielk

Attachment: 5713-v1.patch added

Updated patch to trunk

comment:2 Changed 11 years ago by danielk

Type: patchenhancement
Version: unknownhead

I think this is a great addition, but because this is so powerful I'm uncomfortable applying it without some kind of authentication for Network Control being added first.

Changed 11 years ago by danielk

Attachment: 5713-v2.patch added

Oops, missing sendxkey.{h,cpp} in last patch

comment:3 Changed 10 years ago by stuartm

Component: mythtvMythTV - General

comment:4 Changed 9 years ago by danielk

Resolution: wontfix
Status: acceptedclosed

Unless someone wants to add authentication to this it's a no go.

Note: See TracTickets for help on using tickets.