From owner-freebsd-questions@FreeBSD.ORG Tue Nov 11 09:26:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5430A106568F for ; Tue, 11 Nov 2008 09:26:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D3C568FC1F for ; Tue, 11 Nov 2008 09:25:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-88-233.dynamic.qsc.de [92.196.88.233]) by mx02.qsc.de (Postfix) with ESMTP id 207C816C022D; Tue, 11 Nov 2008 10:25:57 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mAB9PvKx009644; Tue, 11 Nov 2008 10:25:57 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 11 Nov 2008 10:25:56 +0100 From: Polytropon To: Pieter Donche Message-Id: <20081111102556.476e519b.freebsd@edvax.de> In-Reply-To: References: <20081111082553.a41d76e1.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: X11: 1280x768 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 09:26:00 -0000 On Tue, 11 Nov 2008 10:08:54 +0100 (CET), Pieter Donche wrote: > OK, that was it for the keyboard matter. Thx.. No problem, it's all standard stuff. :-) > Similar question: > my portable is 1280x768 pixels, but KDE comes up in 1024x768, making > 'wide' icons and text :-( > I tried to add in the /etc/X11/xorg.conf in Section "Screen" for > all entries in Subsection "Display" (different Depths), a line > Modes "1280x784" ... but this does not help.. > In KDE menu / Settings / peripherals / Display / the only choice > for Screen Size remains 1024x768 without alternatives (as before) ... > How to remedy? I'd suggest to do something similar like with the keyboard: Put it explicitely into xorg.conf; I mean, autodetect is all fine, but in some cases, just crap comes out. :-) I had a similar problem here: X would only run 1024x768 or 1152x864, but not 1400x1050 as I would have liked it on a 21" CRT. So I did this: First, modify /etc/X11/xorg.conf: Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" Option "Accel" DefaultDepth 24 SubSection "Display" Depth 24 Visual "TrueColor" Modes "1152x864" EndSubSection EndSection This starts X in 1152x864. You'll see that there's not the usual bunch of depths and modes, just the one I want. Then, I put this into ~/.xinitrc: xrandr --size 1400x1050 & xrandr --fb 1400x1050 & Put it before any other program starts, and it leads to the desired screen dimension of 1400x1050. I'm sure you can play a bit with xrandr from within KDE in order to adjust the screen dimensions, and when you found it working, put it into your ~/.xinitrc so it will take effect after login. But NB that xdm / kdm won't be affected - it will run as xorg.conf specifies. You can check with xrandr's information options (refer to "man xrandr") and xvidtune. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...