Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am using FC4 now and I have successfully installed my nVidia drivers and now I get use my usual resolution (1152x864) but I have one small problem.
I have to set the refresh rate at 70hz otherwise my screen shrinks in width and I get like a brown gradient (going from the sides) either side of the actual desktop (the only bit that should be visible). While I am logged in this is fine and easy to change to 70hz (the refresh rate I usually use), but by default Fedora is using the highest refresh available (85hz) which causes that problem. This means my login screen (the graphical greeter I'm presuming) is not using the "correct" refresh rate.
(Just to clarify, the problem isn't the refresh rate causing visual problems it's the fact the greeter is using the wrong one.)
I have looked in /etc/X11/xorg.conf, /etc/X11/gdm/gdm.conf, the pre session, post session, init and post login default (all in the /etc/X11/gdm/ directory) but have not seen anything to do with resolution, let alone the greeter resolution.
Am I on the right track and if not, where should I be looking to change the refresh rate to 70hz for the greeter (or even better... to default).
scroll through and read the comments regarding all the sections. Closer to the bottom you will find the section to edit your resolution. There is also a section to change the default screen size. Alternately, if you are compfortable with the your knowledge of your hardware, you can run as root:
in a cosnle. This will run the CLI tool for setting up your xorgconf. You will be able to enter in the V and H sync as well as the default color depth and resolution. If you elect this option you will have to set up your scroll wheel and DPMS by hand.
There is no such section for changing resolution and 'xorgconf' command doesn't exist.
I have included my xorg.conf.
EDIT: Unless I have to include something like 'DefaultRes' or 'DefaultResolution'? I mean put it in manually...
# Xorg configuration created by system-config-display
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
# Load "dri"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
VendorName "Monitor Vendor"
ModelName "Unisys EVG3100-P"
DisplaySize 310 230
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 160.0
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
Viewport 0 0
Modes "800x600" "640x480"
Viewport 0 0
Modes "1152x864" "1152x768" "1024x768" "800x600" "640x480"
The one farthest to the left is the default. I know the command xorgconf works but sometimes you have to input the entire string for the command. But the graphical tool is usually pretty good in FC. Slackware is where I have set up X with xorgconf. Change those things and restart the X server.
it should change if you change the V and H sync to the appropriate level for your monitor. Once this is done, restart the X server. If it is still not to your liking go to the Pereferences and to Screen resolution. It should work itself out.
Ok I'll try messing with the H & V Sync and try to restrict it. If I blow my monitor up, I'm blaming you... :P
AMENDMENT: Ok I changed my 'HorizSync 30.0 - 95.0' to 'HorizSync 30.0 - 70.0'. This seems to MOSTLY work, the screen isn't going strange but now it's slightly off center, there is a gap of about, half an inch on the left side of the screen. Going to continue fiddling with it maybe get it working 100%
2nd AMENDMENT: I've fixed it, now have another problem. 'HorizSync 30.0 - 60.0' makes the Greeter fit the screen perfectly, but I'm now forced into using 60Hz on everything. Which isn't good because I know this refresh rate gives me headaches & eye problems. I've only been in it for 5 minutes and my eyes are hurting... So I think I need an alternate method of running the greeter in 70hz than forcing Linux to thinking 60hz is the only frequency. Strange thing is, 'HorizSync 30.0 - 70.0' makes it off-center...
EDIT: Problem Solved. The greeter uses the highest refresh rate it can. I noticed that even though my upper limit was 70hz according to xorg.conf, I was able to choose, and use, 75hz. It seems to give a leeway of 5hz. So I changed the upper limit to 65hz in xorg.conf and lo and behold, the greeter is using the right one. I could tell this because my screen didn't flicker between that and logging in