mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-html5
synced 2025-12-29 08:42:13 +00:00
Hi, I'm the Debian Developer working on spice-html5 (eg: I uploaded spice-html5 recently in Debian Sid). I noticed that the minus key on the alphanumeric block wasn't mapped. This was particularly annoying on my laptop keyboard when using spice-html5 to access remote servers (eg: many commands needs argument with the minus sign), with the "no map for 173" alert box popping each time... The attached patch made it work with Firefox 21 (in fact, Iceweasel 21 in Debian). I don't know if it works on other browsers, but it worked for me. Cheers, Thomas Goirand (zigo) From ad9d69eb09f63538db06664a3d88d48ff56b2abb Mon Sep 17 00:00:00 2001 From: Thomas Goirand <thomas@goirand.fr> Date: Sat, 25 May 2013 23:56:14 +0800 Subject: [PATCH] Adds missing mapping of the alphanumeric minus key. |
||
|---|---|---|
| thirdparty | ||
| .gitignore | ||
| apache.conf.sample | ||
| atKeynames.js | ||
| bitmap.js | ||
| COPYING | ||
| COPYING.LESSER | ||
| cursor.js | ||
| display.js | ||
| enums.js | ||
| inputs.js | ||
| lz.js | ||
| main.js | ||
| Makefile | ||
| png.js | ||
| quic.js | ||
| README | ||
| simulatecursor.js | ||
| spice_auto.html | ||
| spice-html5.spec.in | ||
| spice.css | ||
| spice.html | ||
| spicearraybuffer.js | ||
| spiceconn.js | ||
| spicedataview.js | ||
| spicemsg.js | ||
| spicetype.js | ||
| ticket.js | ||
| TODO | ||
| utils.js | ||
| wire.js | ||
Prototype Spice Javascript client
Instructions and status as of June 1, 2012.
Requirements:
1. Modern Firefox or Chrome
2. A WebSocket proxy
I've used websockify:
https://github.com/kanaka/websockify
works great.
3. A spice server
At this point, I've tested with qemu hosting
a Fedora image, a Vista image, and with Xspice.
Vista was pretty bad; I recommend either Linux or Xspice.
** Xspice has a processing issue; see this email:
http://lists.freedesktop.org/archives/spice-devel/2012-May/009020.html
Optional:
1. A web server
With firefox, you can just open file:///your-path-to-spice.html-here
With Chrome, you have to set a secret config flag to do that, or
serve the files from a web server.
Steps:
1. Start the spice server
2. Start websockify; my command line looks like this:
./websockify 5959 localhost:5900
3. Fire up spice.html, set host + port + password, and click start
Status:
The TODO file should be a fairly comprehensive list of tasks
required to make this client more fully functional.
As of June 1, 2012, this client is a nifty proof of concept,
but a long way from being a useful production tool.