LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-05-2005, 01:32 PM   #1
Beckerjr
Member
 
Registered: Mar 2005
Location: Arizona
Distribution: Mandriva 2006
Posts: 31

Rep: Reputation: 15
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.
 
Old 04-05-2005, 03:41 PM   #2
mugwump84
Member
 
Registered: Mar 2005
Distribution: Arch Linux
Posts: 61

Rep: Reputation: 15
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.
 
Old 04-05-2005, 03:52 PM   #3
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 32
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!
 
Old 04-06-2005, 02:39 AM   #4
Beckerjr
Member
 
Registered: Mar 2005
Location: Arizona
Distribution: Mandriva 2006
Posts: 31

Original Poster
Rep: Reputation: 15
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.
 
Old 04-06-2005, 10:54 AM   #5
Nad0xFF
Member
 
Registered: Apr 2005
Location: Russia, Saint-Petersburg
Distribution: Slackware 10
Posts: 109

Rep: Reputation: 15
Change your vertical and horizontal frequency in xorg.conf or xf86conf
 
Old 04-06-2005, 12:25 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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.
 
Old 04-07-2005, 12:58 PM   #7
Beckerjr
Member
 
Registered: Mar 2005
Location: Arizona
Distribution: Mandriva 2006
Posts: 31

Original Poster
Rep: Reputation: 15
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
 
Old 04-07-2005, 01:39 PM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Desktop? paddyjoy Linux - Newbie 6 07-08-2005 12:28 PM
Changing to kde desktop barrys Fedora 4 01-28-2004 11:49 AM
Changing the name of the CDROM on desktop? LINUXWIFI Linux - Newbie 3 01-16-2004 03:01 PM
Changing icons on desktop frontier1 Linux - Distributions 9 10-28-2003 02:47 PM
Changing desktop icons mhl Linux - Newbie 5 08-30-2003 06:17 PM


All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration