From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEVXu-00010U-Bx for qemu-devel@nongnu.org; Tue, 14 Nov 2017 02:22:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEVXr-0003Ay-0W for qemu-devel@nongnu.org; Tue, 14 Nov 2017 02:22:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46102) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eEVXq-0003AI-RV for qemu-devel@nongnu.org; Tue, 14 Nov 2017 02:22:06 -0500 Date: Tue, 14 Nov 2017 08:21:59 +0100 From: Gerd Hoffmann Message-ID: <20171114072159.nx77jscj22xzikuv@sirius.home.kraxel.org> References: <03123F70-98FA-439A-868C-855E63916259@gmail.com> <20171113145041.GI18828@redhat.com> <77699873-C42D-4678-9E29-432D2A36BCCE@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77699873-C42D-4678-9E29-432D2A36BCCE@gmail.com> Subject: Re: [Qemu-devel] Command-line option to change ungrab key(s) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , "Daniel P. Berrange" , Peter Maydell , QEMU Developers Hi, > >>> Would this feature be something you would consider adding to QEMU? > >> > >> As context, virt-manager allows customization for the ungrab sequence, and > >> so do spice-gtk/gtk-vnc at the API level. So conceptually I think it is > >> reasonable for any UI console that is intended as more than just a toy. > > > > Would it make sense to share the virt-viewer/remote-viewer --hotkeys > > option format ? (see man remote-viewer / virt-viewer) > > I think you are referring to information found on this page: https://www.mankier.com/1/remote-viewer > > The command-line option for changing hotkey actions would be: > --hotkeys==[+][,=[+]] > > So this means changing the mouse ungrab would look something like this: > > --hotkeys=release-cursor=F19 (or some other key) > > Gerd what you think of this idea? Certainly not this way. The display configuration we have right now is pretty messy already. I want clean this up (draft patch series at https://www.kraxel.org/cgit/qemu/log/?h=lupin/display-cmdline), and this should be done before adding new stuff. Also when making this configurable it should be consistent across all user interfaces we have, which surely is a non-trivial amount of work. cheers, Gerd