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

"Scale" does not seem to work #21

Closed
mizzunet opened this issue Jun 21, 2021 · 4 comments
Closed

"Scale" does not seem to work #21

mizzunet opened this issue Jun 21, 2021 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested

Comments

@mizzunet
Copy link

mizzunet commented Jun 21, 2021

Screenshot_20210622-025717

This scale setting doesn't seem to work,
This is what happens when zooming out if changed

Screenshot_20210622-025740

It did work fine Ubuntu xfce on AndroNix's, https://andronix.app/

It is handy that I wouldn't need to zoom if the scale is 2x as everything can be read.

@mizzunet mizzunet added documentation Improvements or additions to documentation question Further information is requested labels Jun 21, 2021
@SaicharanKandukuri
Copy link
Member

I didn't came to this part yet
So open for suggestions

@SaicharanKandukuri SaicharanKandukuri added the help wanted Extra attention is needed label Jun 22, 2021
@ghost
Copy link

ghost commented Jun 22, 2021

keep in mind that you're using the latest version of ubuntu under proot. it's been buggy and you're on newer version of tigervncserver too as compared to andronix. it uses 18.04 or 20.04 which were much stable for proot.

this may cause because of that. my device's native resolution 2264x1080, and I use 1508x720 which makes the text more visible. just use -geometry with that in starting and it will appear like this:-
IMG-20210620-WA0003
5
and it works same for this too. also not recommended to change resolution from display directly to avoid further problems...

@SaicharanKandukuri
Copy link
Member

SaicharanKandukuri commented Jun 22, 2021

@mizzunet this feature seems to be important! until I implement this in the next fs release file here is a hack to make it happen like this
Screenshot_20210622-112351_NetHunter KeX


we need export env variables ( GDK_SCALE, QT_SCALE_FACTOR, XCURSOR_SIZE=48 ) before vncserver executes startxfce4
so change your ~/.vnc/xstartup with cmd nano ~/.vnc/xstartup and change it to like this

#!/bin/bash
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADRESS
export PULSE_SERVER=127.0.0.1
export GDK_SCALE=2
export XCURSOR_SIZE=48
export QT_SCALE_FACTOR=2
exec startxfce4

after starting the server with vncserver and goto Applications>Settings>Appearence and in the window goto settings
and change window scaling to 2x

and as @GxmerSam said don't try to change resolution from vnc it makes things look bad
to make resolution match your device automatically check this issue #22

You can play with that values to make them suitable for you
Hope this helps you out

@SaicharanKandukuri SaicharanKandukuri pinned this issue Jun 22, 2021
@SaicharanKandukuri SaicharanKandukuri self-assigned this Jun 22, 2021
@mizzunet
Copy link
Author

@saicharankandakuri thank you, that did the job

@SaicharanKandukuri SaicharanKandukuri unpinned this issue Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants
@mizzunet @SaicharanKandukuri and others