Sets common hot keys for spice client:
     * "Ctl-Alt-Insert" for secure-attention (Ctrl-Alt-del)
     * "Shift-F11" for Full Screen toggle
     * "Ctrl-Alt-R" for cursor release

--
Lindsay
From d5c5b0f0375bd8c1ce9668fb0b1bfc3d2d2eebd5 Mon Sep 17 00:00:00 2001
From: Lindsay Mathieson <[email protected]>
Date: Thu, 16 Jan 2014 23:14:01 +1000
Subject: [PATCH] Sets common hot keys for spice client:  * "Ctl-Alt-Insert"
 for secure-attention (Ctrl-Alt-del)  * "Shift-F11" for Full
 Screen toggle  * "Ctrl-Alt-R" for cursor release


Signed-off-by: Lindsay Mathieson <[email protected]>
---
 PVE/AccessControl.pm |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm
index a745651..e3c5fa9 100644
--- a/PVE/AccessControl.pm
+++ b/PVE/AccessControl.pm
@@ -313,8 +313,11 @@ sub remote_viewer_config {

     my $cacert = PVE::Tools::file_get_contents("/etc/pve/pve-root-ca.pem", 8192);
     $cacert =~ s/\n/\\n/g;
-
+
     my $config = {
+    'secure-attention' => "Ctrl+Alt+Ins",
+    'toggle-fullscreen' => "Shift+F11",
+    'release-cursor' => "Ctrl+Alt+R",
 	type => 'spice',
 	title => $title,
 	host => $proxyticket, # this break tls hostname verification, so we need to use 'host-subject'
--
1.7.10.4

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to