docker-baseimage-gui icon indicating copy to clipboard operation
docker-baseimage-gui copied to clipboard

Set remote resizing as default

Open Loader23 opened this issue 1 year ago • 3 comments

Hi,

I would like to have an Environment variable to set remote resizing as default. I switch often between different Devices and having this setting as default would be a great help. Even if you don't want to implement this, can you tell me which file I need to edit to achieve this?

Thanks :-)

Loader23 avatar Sep 10 '23 05:09 Loader23

I just found a solution for me :-) Adding this inside my dockerfile will overwrite the setting for it: sed -i "s/resize = 'scale';/resize = 'remote';/g" /opt/noVNC/app/ui.js Maybe there is a better solution but at least its working.^^ I would still prefer an environment variable to also use it in the Images from you ;-)

Loader23 avatar Sep 10 '23 09:09 Loader23

Note that remote sizing is already the default, unless you are on a touch device or the browser's window is too small.

jlesage avatar Sep 10 '23 17:09 jlesage

And because I always switch between Tablet and PC that was bothering me.^^

Loader23 avatar Sep 12 '23 04:09 Loader23