469,356 Members | 1,999 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,356 developers. It's quick & easy.

Re: Getting current screen resolution

On Monday 09 June 2008, Thomas Morton wrote:
This is a "thing" that has been annoying me all morning: and I can't
work out how to do it.

I need a way to get the DPI or screen resolution of the monitor that a
script is currently runnign on.

I have a way in Windows but it doesnt port to Unix (which is important).

Any ideas?

run xdpyinfo and pull the values you need from that.
Jun 27 '08 #1
0 723

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by JIM.H. | last post: by
1 post views Thread by Carlos Albert | last post: by
5 posts views Thread by Maxi | last post: by
4 posts views Thread by pedestrian via DotNetMonster.com | last post: by
9 posts views Thread by Steve Wright | last post: by
3 posts views Thread by Joe Withawk | last post: by
3 posts views Thread by Thomas Morton | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.