Hello,
I just re-installed a bunch of old server with fresh proxmox,
and I found myself fighting with the standalone console
Code:
https://yak.lan/?console=kvm&novnc=1&vmid=104&vmname=ventoytest&node=yak&resize=off&cmd=
You know when you try to resize it and it fights you, resizes itself to the "native size"
And when you try to maximize it, it gets letterboxed heavily
I always want "local scaling
And I would like to make "Local Scaling" the default here for good on future installs
As per the above discussion and
This can be done manually by going to My Settings in the upper right corner
And then selecting Local Scaling
But I would like, every time I re-install proxmox, to make this change permanent with a console command
I had a look in pvemanagerlib.js, but it isn't the same as discussed above
Code:
root@yak:/etc/pve/nodes/yak# cat /usr/share/pve-manager/js/pvemanagerlib.js | grep -i "resize: "
resize: scaling,
resize: ['VM/CT', gettext('Resize')],
resize: sp.get('novnc-scaling', 'scale'),
resize: function(container) {
resize: function(panel) {
resize: function(panel) {
resize: function(panel, width, height) {
resize: function(panel, width, height) {
So I couldn't create a sed command to patch it ?
Is there a way to change the "My Settings/noVNC Settings/Scaling mode to Local Scaling instead of Auto by default ?
Where is "Auto" defined in the code ?
Thanks !