Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2011 22:22:57 -0700
From:      Devin Teske <dteske@vicor.com>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: which utility is it?
Message-ID:  <4BF0E206-2DE8-4EB6-BAC7-A3B82153DCE9@vicor.com>
In-Reply-To: <20110620004052.GA31512@thought.org>
References:  <20110620004052.GA31512@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.
_____________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BF0E206-2DE8-4EB6-BAC7-A3B82153DCE9>