NoVNC config

vcp_ai

Renowned Member
Jul 28, 2010
177
5
83
Valencia -Spain-
Hi, sorry if this have been posted, but i can not find it...

Is there any way we can modify novnc config ?

I'm looking for:
1.- A way to add/modify sendkeys values. I.E. I need to send Windows-Desktop key to windows VMs.
2.- A way to hide address bar ("https:// ip-of-server :8006/ ...") as it is already on explorer caption.
3.- A way to (selectively) hide or reduce Status bar "Connected (encrypted) to: QEMU ......"

regards
 
Hi,
there is non config for this.
You have to change the code.
Hi wolfgang, thanks for your answer.

I've been having a look at the code, and found it at /usr/share/novnc-pve/include/pveui.js

On line 365 and after we can find the list and definitions of buttons. Ive replace definition for crtl-alt-F10 to send Control-Esc and it works:
Code:
    {
        text: 'Ctrl-ESC', handler: function() {
        UI.pve_send_key('ctrl-esc');
        }
    },
Problem is that I've not been able to send Windows-d key combination.
Ive tested (from what I can see in keyboard.js):

Code:
win-d
menu
menu-d
Super_L-d
XK_Super_L-d
and some more, with no success.

Can anybody point what to send to obtain Windows-D combination ??

Regards