Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set remote resizing as default #112

Open
Loader23 opened this issue Sep 10, 2023 · 3 comments
Open

Set remote resizing as default #112

Loader23 opened this issue Sep 10, 2023 · 3 comments

Comments

@Loader23
Copy link

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
Copy link
Author

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 ;-)

@jlesage
Copy link
Owner

jlesage commented Sep 10, 2023

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

@Loader23
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants