Click to See Complete Forum and Search --> : X question :D
Danger Fan
12-09-2001, 08:02 PM
hey everybody!
I've just configured X, but the resolution is set to 640x480, and is rediculously large. I've looked through my XF86Config file, but it doesn't have anything about resolution in it.
I used xfree86 -configure (or something like that) to configure it. It gave me the config file.
How can I change the resolution?
thanks
I have this problem aswell... usually fix it by running "xvidtune" everytime I start X. I am not sure how to get it to set to 800X600 standard... it might be under
XFree86 -Geom 800x600
Or something like that... have a read of the manual for XFree86 (man XFree86), should list the options. ;)
Cya round
Jinx
X_Entity
12-09-2001, 09:17 PM
Add the following to the "screen" section of your config file.
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
Viewport 0 0
EndSubSection
EndSection
Obviously change the res. acording to your monitor spec.
Danger Fan
12-09-2001, 10:05 PM
X_Entity: Thanks for the resonse :D
I tried that out, but it didn't work :(
That's what I had thought it was, but it seems not. I can't figure this out.
X_Entity
12-09-2001, 10:07 PM
I assume that you are running Xfree4.X
Post your entire X config file and I'll see what I can come up with.
If you are using version 4.x.x of XFree86, the config file will be /etc/X11/XF86Config-4, as opposed to the older XF86Config. Make sure you are editing the right file. XF86Config-4 definitely has the resolution entries under the "Screens" subsection. The "modes" entries are what you want to look at. Here's a sample from one of my boxen: ************************************************** ********************
# Screen sections
# ************************************************** ********************
Section "Screen"
Identifier "screen1"
Device "Voodoo3 (generic)"
Monitor "Sony|Sony CPD-200SF"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x400"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
The earlier XF86Config file had similar entries. For either version of the file, here are some things to keep in mind:
- The first resolution listed on the "modes" line is the default. If you want X to start in another res, edit that line so your desired res comes first. If you look at the sample I provided, you'll see that "1024x768" is the first res listed. When the file was created (in my case, by running Xconfigurator), "640x480" was the first entry on that line, making it the default. I just used vi to change it.
- If you've configured multiple resolutions, and they all show up in the "modes" line, you should be able to toggle through them on the fly from within the GUI. Just hold down (simultaneously) CTRL+ALT+the +/ - keys on the numeric keypad. Using the "+" and "-" (hyphen) keys on the main keyboard won't work.
- If only part of your desktop is available, but you can "push" the mouse against the edges of your display to navigate/view the rest of it, you have the joyfull "virtual desktop" enabled. Comment out (with a #) any lines in the XF86 config file that begin with "virtual". The "ViewPort 0 0" entry in my example essentially serve the same purpose in my distro (Mandrake). I think there is a way to do disable the "feature" using one of Gnome or KDE's config tools as well, but I prefer to edit my config files by hand...
Hope this helps.
:)
Danger Fan
12-10-2001, 01:36 PM
hmmm.... that's strange. I'm using X 4.x.x, but there is no XF86Config-4 in the directory. what config file could it be using?
Siskmarek
12-10-2001, 02:44 PM
Make an XFree86Config-4 file and see if it reads from that. If it doesn't, I have to wonder if you really do have 4.x.x installed...
~ Siskie
mychl
12-10-2001, 05:51 PM
maybe you are using a sym link???
ls -ln
see if you are pointing to a file elswhere....
Danger Fan
12-10-2001, 07:22 PM
ARARRGGGG!!!
It's not a symlink, and I've edited every XF68Config file there is.
Nothing is working :confused: :mad:
AAAAAHHHHHHH!!!!