[Spice-devel] spice-gtk : magic key options

Marc-André Lureau mlureau at redhat.com
Tue May 31 14:15:02 PDT 2011


Hi Frédéric,

----- Original Message -----
> works very well over 100Mbit network, 1440*1280 fullscreen), some key
> combinations don't work well. In particular, alt works alone (client's
> cursor gets changed), but you can't press another key together with it
> nor click (zoom out in photoshop is with alt+space+click, or alt+click
> when already in pan mode, which doesn't work either). When I try that,
> the gtk client's menu appears, and that is very frustrating...

> That's my first point : at the moment, only shift+F11/F12 are supposed
> to interact with the outside, but combinations involving Alt
> interfere.

Hopefully, this is fixed in git. We now disable all Gtk mnemonics & accels. If you have a chance, please give it a try and tell us if the problem persist.

> My second point would be about a configuration option : I used to use
> Virtualbox, and there is a possibility to choose the key that gets
> intercepted. Using specifically "Right shift" (which is, otherwise,
> almost never used), I solved all my problems : I'm not sure if there
> is already a configuration framework for storing user-defined options
> in spicy, but maybe that would be a good thing...

spice-gtk have support for custom grab key combination. It is used by virt-manager "Preferences" for instance. Spicy however, doesn't have configuration UI for it. Adding it to spicy.ini configuration file should be easy, if you don't mind editing ini files. I'll keep that in mind before the next release. Feel free to open a bug in bugzilla.freedesktop.org.

> I talked only about a single "magic key", regarding how VB works : the
> base key (or combination, it can be "Alt+Ctrl" for example) is
> defined, and gives access to all shortcuts : key+F for fullscreen,
> "magic key"+other key for the other functions....

That seems neat, indeed. I very much like it, and I might well try to implement that for spicy.

> Sorry for not helping much in this project that I really believe in,
> but I hope that at least my user feedback will help you!

Your feedback is great, thanks a lot!

-- 
Marc-André Lureau



More information about the Spice-devel mailing list