[Spice-devel] Setting the default size of a spice-gtk window

Dominique Rodrigues dominique.rodrigues at nanocloud.com
Wed Feb 1 06:28:33 PST 2012


Le 01/02/2012 15:42, Daniel P. Berrange a écrit :
> 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
>

Thanks ! It works fine.

Regards

Dominique
>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dominique_rodrigues.vcf
Type: text/x-vcard
Size: 308 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120201/19dca91e/attachment-0001.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3710 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120201/19dca91e/attachment-0001.bin>


More information about the Spice-devel mailing list