Getting the screen resolution from the command line.

Brian McKee brian.mckee at gmail.com
Mon Mar 1 18:28:41 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.

Not what you asked for exactly, but have you seen
http://bmckee.ca/sm.html ? It uses javascript and css and might get
you started towards a solution

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




More information about the ubuntu-users mailing list