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

xrandr: the best supported resolution #1

Open
rayrapetyan opened this issue Feb 20, 2021 · 0 comments
Open

xrandr: the best supported resolution #1

rayrapetyan opened this issue Feb 20, 2021 · 0 comments

Comments

@rayrapetyan
Copy link
Owner

rayrapetyan commented Feb 20, 2021

Not all resolutions are supported in different environments. We need to find the best supported resolution on a given system. E.g. for:

- screen:
    resolution: 1280,768

when:
xrandr returns:

   1920x1200     59.95*+
   1920x1080     60.00  
   1680x1050     59.95  
   1600x1200     60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94

1280x960 should be used.

@rayrapetyan rayrapetyan changed the title xrandr resolution: try to use the best match xrandr: the best supported resolution Feb 20, 2021
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

1 participant