Getting the screen resolution from the command line.

Brian ad44 at cityscape.co.uk
Mon Mar 1 20:15:05 UTC 2010


On Mon 01 Mar 2010 at 10:21:43 -0800, Ray Parrish wrote:

> Hello,
> 
> I need to know if there is a command line method of retrieving the 
> screen resolution for a computer that a bash script is running on. I 
> need it to center a bar graph in an HTML page.

brian at desktop:~$ xrandr




More information about the ubuntu-users mailing list