I would like to run a command like
get-screen-resolution during a X session to get a '800x480' output. ( or whatever the actual screen size is ).
Is there something available for this? Currently I take a screenshot and measure the resulting
*.jpg's width & height attributes.
Also, how do I set the screensize during a X session from the command-line?