Date: Tue, 11 Nov 2008 10:25:56 +0100 From: Polytropon <freebsd@edvax.de> To: Pieter Donche <Pieter.Donche@ua.ac.be> Cc: freebsd-questions@freebsd.org Subject: Re: X11: 1280x768 Message-ID: <20081111102556.476e519b.freebsd@edvax.de> In-Reply-To: <Pine.GSO.4.63.0811111000110.23453@hmacs.cmi.ua.ac.be> References: <Pine.GSO.4.63.0811110745270.22599@hmacs.cmi.ua.ac.be> <20081111082553.a41d76e1.freebsd@edvax.de> <Pine.GSO.4.63.0811111000110.23453@hmacs.cmi.ua.ac.be>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Nov 2008 10:08:54 +0100 (CET), Pieter Donche <Pieter.Donche@ua.ac.be> 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081111102556.476e519b.freebsd>