public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] MIME type of SPICE configuration file
@ 2023-04-28 21:24 Uwe Sauter
  2023-04-29 14:55 ` Thomas Lamprecht
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Sauter @ 2023-04-28 21:24 UTC (permalink / raw)
  To: pve-user

Hi all,

quoting https://pve.proxmox.com/wiki/SPICE section "Start your SPICE session":

"A Spice session can be started by clicking directly on the Console button or by opening the Console sub menu and 
selecting Spice explicitly. This will trigger the download of the connection config file.

Open this file with Remote Viewer to start the session.

The association is automatic for Chrome and Internet Explorer (they use the mime type association from the OS). For 
Firefox, the association must be done manually, as Firefox has his own internal mime type association (See 
Options/Applications)."


I'm having trouble finding out the MIME type of the configuration file that is presented as download. As mentioned 
Firefox has no automatic association but in order do the configuration I'd need to know which MIME type I need to 
associate with virt-viewer.


Any hint is appreciated.

Have a nice weekend,

	Uwe



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PVE-User] MIME type of SPICE configuration file
  2023-04-28 21:24 [PVE-User] MIME type of SPICE configuration file Uwe Sauter
@ 2023-04-29 14:55 ` Thomas Lamprecht
  2023-04-29 19:19   ` Uwe Sauter
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Lamprecht @ 2023-04-29 14:55 UTC (permalink / raw)
  To: uwe.sauter.de, Proxmox VE user list

Am 28/04/2023 um 23:24 schrieb Uwe Sauter:
> I'm having trouble finding out the MIME type of the configuration file that is presented as download. As mentioned Firefox has no automatic association but in order do the configuration I'd need to know which MIME type I need to associate with virt-viewer.

The MIME media type set is "application/x-virt-viewer", as that's what
the main SPICE client "virt-viewer" uses, e.g. on my Debian workstation:

# grep mime-type /usr/share/mime/packages/virt-viewer-mime.xml
  <mime-type type="application/x-virt-viewer">

For completeness sake: we set it here:
https://git.proxmox.com/?p=pve-manager.git;a=blob;f=www/manager6/Utils.js;h=d5dd2999081ec6970bd2122da9d61caf43d3ce0b;hb=f548e4fca214a409d638a59e9a6dc0080b9f0f6a#l1416

cheers,
Thomas




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PVE-User] MIME type of SPICE configuration file
  2023-04-29 14:55 ` Thomas Lamprecht
@ 2023-04-29 19:19   ` Uwe Sauter
  0 siblings, 0 replies; 3+ messages in thread
From: Uwe Sauter @ 2023-04-29 19:19 UTC (permalink / raw)
  To: Thomas Lamprecht, Proxmox VE user list

Thanks Thomas!


Am 29.04.23 um 16:55 schrieb Thomas Lamprecht:
> Am 28/04/2023 um 23:24 schrieb Uwe Sauter:
>> I'm having trouble finding out the MIME type of the configuration file that is presented as download. As mentioned Firefox has no automatic association but in order do the configuration I'd need to know which MIME type I need to associate with virt-viewer.
> 
> The MIME media type set is "application/x-virt-viewer", as that's what
> the main SPICE client "virt-viewer" uses, e.g. on my Debian workstation:
> 
> # grep mime-type /usr/share/mime/packages/virt-viewer-mime.xml
>    <mime-type type="application/x-virt-viewer">
> 
> For completeness sake: we set it here:
> https://git.proxmox.com/?p=pve-manager.git;a=blob;f=www/manager6/Utils.js;h=d5dd2999081ec6970bd2122da9d61caf43d3ce0b;hb=f548e4fca214a409d638a59e9a6dc0080b9f0f6a#l1416
> 
> cheers,
> Thomas
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-29 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 21:24 [PVE-User] MIME type of SPICE configuration file Uwe Sauter
2023-04-29 14:55 ` Thomas Lamprecht
2023-04-29 19:19   ` Uwe Sauter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal