Getting the screen resolution from the command line.

Brian McKee brian.mckee at gmail.com
Tue Mar 2 00:19:59 UTC 2010


On Mon, Mar 1, 2010 at 1:21 PM, Ray Parrish <crp at cmc.net> wrote:
> 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.

Are you assuming the browser is full screen? 'Cause otherwise the
screen resolution doesn't equal browser window size...


-- 
Hey, it's your computer.... isn't it?




More information about the ubuntu-users mailing list