How do I get the screen resolution?

Christopher Katko ckatko at gmail.com
Thu Apr 28 22:51:02 UTC 2022


On Thursday, 28 April 2022 at 11:22:15 UTC, Alexander Zhirov 
wrote:
> Are there any methods to get the screen resolution?
> On C/C++ from under X11, it is not possible to do this on the 
> command line via SSH, since the display is not defined. And is 
> it possible to do this somehow by means of D, pulling out the 
> system resolution of the installed display?

Are you sure about that?

https://askubuntu.com/questions/1077581/from-a-remote-ssh-session-how-can-i-get-the-screen-resolution-of-the-physically



More information about the Digitalmars-d-learn mailing list