Xu, Dan D
2005-Oct-20 02:05 UTC
[Xen-devel][PATCH]Cannot send special keys, such as Ctrl+Alt+Del
Here is the patch useful to send special keys that your graphical user interface intercepts at low level, such as ctrl-alt-del in X Window. This patch adds a command "sendkey" to deal with it in the monitor, you can send keys to the vm. Use - to press several keys simultaneously. Example: sendkey ctrl-alt-f1 Signed-off-by: Dan Xu <dan.d.xu@intel.com> Signed-off-by: Zhai, Edwin <edwin.zhai@intel.com> Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Thanks Dan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2005-Oct-20 10:37 UTC
Re: [Xen-devel][PATCH]Cannot send special keys, such as Ctrl+Alt+Del
On 20 Oct 2005, at 03:05, Xu, Dan D wrote:> Here is the patch useful to send special keys that your graphical user > interface intercepts at low level, such as ctrl-alt-del in X Window. > > This patch adds a command "sendkey" to deal with it in the monitor, you > can send keys to the vm. Use - to press several keys simultaneously. > Example: > sendkey ctrl-alt-f1Is this generally useful? If you are proposing this as a general way to get around useful key sequences getting stolen by the local gui, it doesn''t seem the kind of interface that users will want. Can we remap such key sequences in some way to make them accessible to users without needing to run a monitor program and type in sequences longhand? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Edwin Zhai
2005-Oct-21 02:18 UTC
Re: [Xen-devel][PATCH]Cannot send special keys, such as Ctrl+Alt+Del
On 10/20/05, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:> > > Is this generally useful? If you are proposing this as a general way to > get around useful key sequences getting stolen by the local gui, it > doesn''t seem the kind of interface that users will want. Can we remap > such key sequences in some way to make them accessible to users without > needing to run a monitor program and type in sequences longhand?vmware/vncviewer use a menu such as "Send ctrl-alt-del" to do the same thing, but it''s limited for our environment because various key sequences are stolen by linux host. this patch is borrowed from qemu and good enough at this point (we didn''t use this frequently) -- Best Rgds Edwin Zhai _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Xu, Dan D
2005-Oct-24 07:18 UTC
RE: [Xen-devel][PATCH]Cannot send special keys, such as Ctrl+Alt+Del
Keir, we did consider such way to supply useful key sequences. But if we remap such key sequences, it is very possible to conflict with other applications and meanwhile users have to change their habits and remember the mappings. Then maybe they''ll get some confused. Until now, you know, there isn''t standard way to deal with combined keys in virtual machines, such as vmware, qemu, and so on. So this way is the easiest remembered, least conflicted one, I think. Thanks! Xu dan On 10/20/05, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote: Is this generally useful? If you are proposing this as a general way to get around useful key sequences getting stolen by the local gui, it doesn''t seem the kind of interface that users will want. Can we remap such key sequences in some way to make them accessible to users without needing to run a monitor program and type in sequences longhand? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel