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

[FEAT] set fixed resolution and use local scaling by default #87

Open
1 task done
christianmerges opened this issue Nov 1, 2024 · 2 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@christianmerges
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I want to set a environment variable with a resolution, when connection to the webvnc client, it should have this screen resolution from the environment variable and also scaling mode should be "Local scaling" instead of "Remote resizing".

Reason for change

Sometimes the default option of "remote resizing" is not big enough resolution to fit all the content. By making the chosen resolurion as the default and mode to "loal scaling", things just get smaller.

Proposed code change

I tried, but I didn't find the position inside the code, where default settings are saved.

@christianmerges christianmerges added the enhancement New feature or request label Nov 1, 2024
Copy link

github-actions bot commented Nov 1, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thelamer
Copy link
Member

thelamer commented Nov 2, 2024

The best way to fix this is the same way that a Linux desktop does. You would scale the UI at the native resolution.
Openbox is hard mode as you have to manually set gtk scale and fonts, but stuff like LDE and XFCE has it baked in.
As far as more launch options I do this on steamOS
https://github.com/linuxserver/docker-steamos/blob/master/root/defaults/startwm.sh#L54

https://github.com/linuxserver/docker-steamos/blob/master/root/etc/s6-overlay/s6-rc.d/svc-kasmvnc/run#L26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Issues
Development

No branches or pull requests

2 participants