[Spice-devel] Setting the default size of a spice-gtk window
Daniel P. Berrange
berrange at redhat.com
Wed Feb 1 06:42:26 PST 2012
On Wed, Feb 01, 2012 at 03:22:35PM +0100, Dominique Rodrigues wrote:
> Le 01/02/2012 11:01, Daniel P. Berrange a écrit :
> >On Wed, Feb 01, 2012 at 02:39:13AM +0100, Dominique Rodrigues wrote:
> >>Le 01/02/2012 00:52, Marc-André Lureau a écrit :
> >>>Hi
> >>>
> >>>----- Mensaje original -----
> >>>>I am using spice-gtk for a while now and I did not find yet an option
> >>>>to launch it with a predefined size (height and width).
> >>>>
> >>>>Only fullscreen can be activated. Otherwise, spice-gtk seems to start
> >>>>at something like 600x400.
> >>>>
> >>>>Is there any (hidden) option for that or could it be possible to add
> >>>>it ?
> >>>I don't think there is a way you could do that today with any of the spice-gtk clients.
> >>>
> >>>This is not as easy as it seems at first, so please file a bug to add a --geometry=GEOMETRY to command line options.
> >>>
> >>>(https://bugs.freedesktop.org/enter_bug.cgi?product=Spice gtk-client)
> >>>
> >>>Btw, which spice-gtk client are you using? spicy is meant for testing, and we are currently focusing on virt-viewer http://git.fedorahosted.org/git/?p=virt-viewer.git
> >>I don't use libvirt and up to now, I have no plan to use it.
> >NB, as of yesterday, virt-viewer is no longer tied to libvirt. We have
> >refactored the code, so that there is a simple 'remote-viewer' binary
> >available for using SPICE/VNC which is completely independent of libvirt.
> >You just give it a SPICE/VNC URI to connect to. This is why we're now
> >focusing on virt-viewer/remote-viewer as the primary user tools.
> >
> >Daniel
>
> Ok, interesting.
>
> Btw, I have then downloaded remote-viewer from the git depo and I
> have recompiled it with spice-gtk support.
>
> However, how do you connect afterwhile to a VM using spice ?
>
> For instance, if my VM is on localhost using spice port 7777, doing
> the following does not work :
>
> ./remove-viewer localhost:7777
Try using spice://localhost:7777
>
> I am missing the syntax and doc is far from being explicit
> (remote-viewer (option) URI ...).
Yes, a man page is to be written
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the Spice-devel
mailing list