LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   changing desktop alignment (https://www.linuxquestions.org/questions/linux-newbie-8/changing-desktop-alignment-310019/)

Beckerjr 04-05-2005 12:32 PM

changing desktop alignment
 
Is there anything in Gnome or Fedora that lets me change the alignment of the desktop? I can only find the change resolution/color depth utility. My desktop sets up slightly off to the right and I want to get it centered.

mugwump84 04-05-2005 02:41 PM

I think I understand what you want. Try fiddling with the buttons on the front of your monitor. Look
for H-position in the menue that pops up.

kevinatkins 04-05-2005 02:52 PM

it might also be worth checking the refresh rate that your video card is set to..

what video card are you using? i use an nVidia gForce, and found that installing nVidia's own driver solved this problem properly.. it can be annoying having to re-adjust the monitor every time you log in to X!

Beckerjr 04-06-2005 01:39 AM

I don't want to use the controls on my monitor as that affects how the winXP desktop looks then. I wanted a way within xwindows to do this. Hard to believe there isn't more availible for display configuration then just reolution and color depth.

I have an ATI card. Maybe if I got the ATI linux drivers working they might have somoe display settings that would do this.

Nad0xFF 04-06-2005 09:54 AM

Change your vertical and horizontal frequency in xorg.conf or xf86conf

tredegar 04-06-2005 11:25 AM

Better perhaps to use xvidtune.

Run it from a terminal, make adjustments to your display, by clicking "Left" "Right", "Wider", "Narrower" etc, and when you are happy, click the "show" button: It will write the "Modeline" that you need to put into your XF86Config-4, or whatever that file is called nowadays. It worked well for me.

Beckerjr 04-07-2005 11:58 AM

Ok Xvidtune does what I need, but where in the config file do I put the modeline in I don't see any current one in my xorg.conf file currently. Can you tell me were in here it should be put?

This is my file:


# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# 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.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"

# 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"
# or:
# 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"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "ViewSonic VA720"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 75.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9500 Pro"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

tredegar 04-07-2005 12:39 PM

It goes in Section "Monitor" after the line VertRefresh 50.0 - 75.0 and will look something like this:

Code:

ModeLine "1024x768"    75    1024 1048 1184 1328  768  771  777  806 -hsync -vsync
Of course, your numbers are likely to be different!


All times are GMT -5. The time now is 04:36 PM.