which utility is it?

Devin Teske dteske at vicor.com
Mon Jun 20 05:23:01 UTC 2011


On Jun 19, 2011, at 5:40 PM, Gary Kline wrote:

> 
> guys,
> 
> i have it tatooed on my forehead that ``xev'' relays keycode
> information about X appa--say xload or xclock.  which utility gives
> to the size in pixels and give you the -geometry info about an X
> app?  i'm trying to maximize the realestate of my display.
> 

xdpyinfo(1)

E.g.,

$ xdpyinfo | grep dim
  dimensions:    1600x1200 pixels (473x350 millimeters)
$ xdpyinfo | grep depths
  depths (7):    16, 1, 4, 8, 15, 24, 32
# note: the first one listed is the active depth
$ xdpyinfo | grep -A3 screen
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1600x1200 pixels (473x350 millimeters)
  resolution:    86x87 dots per inch
  depths (7):    16, 1, 4, 8, 15, 24, 32

-- 
Devin

_____________

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
_____________


More information about the freebsd-questions mailing list