Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2012 18:21:20 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        David Tilbrook <dmtilbrook@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: xrandr cropping my window
Message-ID:  <alpine.BSF.2.00.1206211818040.74790@wonkity.com>
In-Reply-To: <CAAPNFHS-0X8pfgdp%2B%2BTCZqTTNmewOJwS4e6DfVPXU3GKQ9v4yg@mail.gmail.com>
References:  <CAAPNFHS-0X8pfgdp%2B%2BTCZqTTNmewOJwS4e6DfVPXU3GKQ9v4yg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Jun 2012, David Tilbrook wrote:

> Preamble:
>
> % cvt 1600 1280
> # 1600x1280 59.92 Hz (CVT 2.05M4) hsync: 79.51 kHz; pclk: 171.75 MHz
> Modeline "1600x1280_60.00"  171.75  1600 1712 1880 2160  1280 1283
> 1290 1327 -hsync +vsync
>
> Running the following:
>
> xrandr --auto
> xrandr --newmode "1600x1280_60.00"  171.75  1600 1712 1880 2160  1280
> 1283 1290 1327 -hsync +vsync
> xrandr --addmode VGA1 "1600x1280_60.00"
> xrandr --output VGA1 --mode "1600x1280_60.00"
> yields:
>
> Default gamma for IRGB image is  2.20
>  Compressing colormap ...no improvment [sic]
>  Clipping image...(Adding border)...done
>  Building XImage...done
>
> It does accomplish most of what I want, but indeed added a black border
> at the top of the display.
>
> The root window has geometry 1600x1280+0+0, however the area
> that's visible on the display is approximately 1520x1200.
>
> This means that when maximizing a window, the bottom and left edges
> are not displayed.
>
> Are there adjustments I can make to get my full screen?

Unless you have a very old or defective monitor, it will report the 
modes it can display.  xrandr should pick those up; run it without 
options to display known modes.  Select one of those existing modes 
rather than creating a new one that the monitor may not be able to 
display.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1206211818040.74790>