View Full Version : Need help with XF86Config!
08-04-2005, 09:51 PM
Hi I have never edited a XF86Config file before (seems different from XF86Config-4) and I still am a little unsure about how to do this My first attempt killed X and I had to reinstall PCBSD. The other threads I found about this still don't anser my question of where I need to add the modeline and if I need to change anything else. In XF86Config-4 all I ever did was add a modeline and if needed execute a perl script.
Thanks for your help! So far I am very impressed with PC-BSD
08-05-2005, 12:02 AM
There seem to be (I haven't investigated this very deeply) differences in the style of xorg.conf, XFree86, etc based upon what method you use to configure them--that is, doing X -configure produces a different sort of file than does running xorgconfig.
In my case, I usually just run xorgconfig. (I should add that I know my monitor's and vid card's specs.) For a step by step, bsdnexus.com has an article in their wiki.
I'm giving the main page's url because the configuring X page has parentheses in its url and isn't rendering properly. However, go to the bottom of the main page and you'll see a link to the configuring X article.
This of course, doesn't actually answer your question, but if you follow the steps there, you should be alright with your mode lines.
08-06-2005, 08:25 PM
Open a terminal and su to root
then enter the following ee /etc/X11/XF86Config this opens the XF86 Config file
Scroll down to to section Monitor 0 and change the horizsync and vertrefresh to suit your monitor DO NOT GUESS AS INCORRECT VALUES COULD DAMAGE/DESTROY YOUR MONITOR!
Scroll down to Screen change default depth and depth if you want to then enter the mode you require when you have finished press escape and save changes then alt.cntrl.bckspace to restartX you should be able to select resolution an refresh rate in control centre>peripherals>display.
I would suggest you look at the FREEBSD Handbook section 5.4 X11 Configuration as this shows examples
Hope this helps
08-06-2005, 08:33 PM
EDIT THE /etc/X11/XF86Config file:
Open up the console and type:
"kdesu kedit /etc/X11/XF86Config"
You are prompted to insert the root password. Insert it and the file will
opened as root.
Under the "Monitor" section of the file set your monitor's specific horizontal
and vertical refresh rates replacing the existing values with the correct values for your monitor.
If you dont know the values search in your monitor's manual, manefacturer's site or simply google.
#CAUTION# You must set these values correctly because incorrect values can damage your monitor!!!!
To add more resolution modes or increase your default resolution:
Under the "Screen" after the word "modes" simply add modes. The first mode should me the highest resolution and the last the lower.
"1280x1024" "1152x864" "1152x768" "1024x768"
Now save the file, exit and reboot.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.