screenresolution
screenresolution copied to clipboard
Support for retina resolutions.
Supporting retina resolutions is described here: http://lists.apple.com/archives/cocoa-dev/2014/May/msg00262.html. I found some code to help me here: https://github.com/kaoru-sakurazaka/chreso/blob/master/chreso/main.c.
It seems this was approved but never merged. Would you be so kind to merge it?
I've applied this to the base tree and it doesn't work; I get a very long list of "repeated" resolutions when I do a "list":
Available Modes on Display 0
640x480x32@60 1280x1024x32@60 2048x1152x32@60
640x480x32@60 1280x720x32@60 2048x1152x32@60
640x480x32@60 1280x720x32@60 2048x1152x32@60
640x480x32@60 1280x960x32@60 2048x1152x32@60
720x480x32@60 1280x960x32@60 2304x1296x32@60
720x480x32@60 1344x1008x32@60 2304x1296x32@60
800x600x32@60 1344x1008x32@60 2304x1296x32@60
800x600x32@60 1344x756x32@60 2304x1296x32@60
800x450x32@60 1344x756x32@60 2560x1440x32@60
800x450x32@60 1504x846x32@60 2560x1440x32@60
800x600x32@60 1504x846x32@60 2560x1440x32@60
800x600x32@60 1600x900x32@60 2560x1440x32@60
960x540x32@60 1600x900x32@60 3008x1692x32@60
960x540x32@60 1600x1200x32@60 3008x1692x32@60
960x540x32@60 1600x1200x32@60 3008x1692x32@60
960x540x32@60 1600x900x32@60 3008x1692x32@60
1024x576x32@60 1600x900x32@60 3200x1800x32@60
1024x576x32@60 1680x945x32@60 3200x1800x32@60
1024x768x32@60 1680x945x32@60 3200x1800x32@60
1024x768x32@60 1920x1080x32@30 3200x1800x32@60
1024x576x32@60 1920x1080x32@30 3360x1890x32@60
1024x576x32@60 1920x1080x32@60 3360x1890x32@60
1152x648x32@60 1920x1080x32@60 3360x1890x32@60
1152x648x32@60 1920x1080x32@60 3360x1890x32@60
1280x720x32@60 1920x1080x32@60 3840x2160x32@30
1280x720x32@60 1920x1080x32@60 3840x2160x32@30
1280x1024x32@60 1920x1080x32@60 3840x2160x32@60
1280x1024x32@60
Available Modes on Display 1
640x480x32@0 1024x640x32@0 1440x900x32@0
640x480x32@0 1024x768x32@0 1440x900x32@0
720x450x32@0 1024x768x32@0 1650x1050x32@0
720x450x32@0 1152x720x32@0 1650x1050x32@0
800x600x32@0 1152x720x32@0 1680x1050x32@0
800x600x32@0 1280x800x32@0 1680x1050x32@0
825x525x32@0 1280x800x32@0 2048x1280x32@0
825x525x32@0 1280x800x32@0 2048x1280x32@0
840x524x32@0 1280x800x32@0 2560x1600x32@0
840x524x32@0 1440x900x32@0 2560x1600x32@0
1024x640x32@0 1440x900x32@0 2880x1800x32@0
1024x640x32@0
but trying to do a "set" will get me an error:
./screenresolution set 1920x1080x32@60
2019-01-15 11:38:47.680 screenresolution[5433:364720] starting screenresolution argv=./screenresolution set 1920x1080x32@60
2019-01-15 11:38:47.686 screenresolution[5433:364720] Error: mode [email protected] not available on display 0
Anyhow, looking at #21, I've found a (different) project that supports changing resolution from the command line: https://github.com/avibrazil/RDM
So in a way, this project has got me where I wanted...
It's been a while since I've looked at this project but I believe it doesn't work on newer versions of macOS basically at all
On Tue, Jan 15, 2019, 5:45 AM Javier JJ [email protected] wrote:
I've applied this to the base tree and it doesn't work; I get a very long list of "repeated" resolutions when I do a "list":
Available Modes on Display 0 640x480x32@60 1280x1024x32@60 2048x1152x32@60 640x480x32@60 1280x720x32@60 2048x1152x32@60 640x480x32@60 1280x720x32@60 2048x1152x32@60 640x480x32@60 1280x960x32@60 2048x1152x32@60 720x480x32@60 1280x960x32@60 2304x1296x32@60 720x480x32@60 1344x1008x32@60 2304x1296x32@60 800x600x32@60 1344x1008x32@60 2304x1296x32@60 800x600x32@60 1344x756x32@60 2304x1296x32@60 800x450x32@60 1344x756x32@60 2560x1440x32@60 800x450x32@60 1504x846x32@60 2560x1440x32@60 800x600x32@60 1504x846x32@60 2560x1440x32@60 800x600x32@60 1600x900x32@60 2560x1440x32@60 960x540x32@60 1600x900x32@60 3008x1692x32@60 960x540x32@60 1600x1200x32@60 3008x1692x32@60 960x540x32@60 1600x1200x32@60 3008x1692x32@60 960x540x32@60 1600x900x32@60 3008x1692x32@60 1024x576x32@60 1600x900x32@60 3200x1800x32@60 1024x576x32@60 1680x945x32@60 3200x1800x32@60 1024x768x32@60 1680x945x32@60 3200x1800x32@60 1024x768x32@60 1920x1080x32@30 3200x1800x32@60 1024x576x32@60 1920x1080x32@30 3360x1890x32@60 1024x576x32@60 1920x1080x32@60 3360x1890x32@60 1152x648x32@60 1920x1080x32@60 3360x1890x32@60 1152x648x32@60 1920x1080x32@60 3360x1890x32@60 1280x720x32@60 1920x1080x32@60 3840x2160x32@30 1280x720x32@60 1920x1080x32@60 3840x2160x32@30 1280x1024x32@60 1920x1080x32@60 3840x2160x32@60 1280x1024x32@60
Available Modes on Display 1 640x480x32@0 1024x640x32@0 1440x900x32@0 640x480x32@0 1024x768x32@0 1440x900x32@0 720x450x32@0 1024x768x32@0 1650x1050x32@0 720x450x32@0 1152x720x32@0 1650x1050x32@0 800x600x32@0 1152x720x32@0 1680x1050x32@0 800x600x32@0 1280x800x32@0 1680x1050x32@0 825x525x32@0 1280x800x32@0 2048x1280x32@0 825x525x32@0 1280x800x32@0 2048x1280x32@0 840x524x32@0 1280x800x32@0 2560x1600x32@0 840x524x32@0 1440x900x32@0 2560x1600x32@0 1024x640x32@0 1440x900x32@0 2880x1800x32@0 1024x640x32@0
but trying to do a "set" will get me an error:
./screenresolution set 1920x1080x32@60 2019-01-15 11:38:47.680 screenresolution[5433:364720] starting screenresolution argv=./screenresolution set 1920x1080x32@60 2019-01-15 11:38:47.686 screenresolution[5433:364720] Error: mode [email protected] not available on display 0
Anyhow, looking at #21 https://github.com/jhford/screenresolution/pull/21, I've found a (different) project that supports changing resolution from the command line: https://github.com/avibrazil/RDM
So in a way, this project has got me where I wanted...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jhford/screenresolution/pull/23#issuecomment-454347967, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJpz819kTtnirNxGJcWJWbQJqzWEk-eks5vDbEvgaJpZM4Iz0cJ .
Who or what is IPonyRadio?