VectorLinux
November 23, 2014, 09:00:13 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: How to change my resolution to 1024x768  (Read 5710 times)
carmelofranco
Member
*
Posts: 6


« on: April 04, 2008, 12:18:41 pm »

Hi.. im new to linux and my problem is that i cant set my monitor resolution 1024x768, when i go to the configure display menĂ¹ (KDE) i can only see two resolutions 800x600 and 640x480 =(


My video card is a trideo video accelerator (16mb) and my pc is a notebook toshiba satellite intel celeron 900mhz 128mbram


Thanks anticipate for the answers
Logged
M-ake
Member
*
Posts: 92


« Reply #1 on: April 04, 2008, 01:41:16 pm »

High! Welcome to VectorLand.

To change the resolution, you need to edit xorg.conf as root. I am assuming you are using VectorLinux 5.9 STD

To login into root account, open up Terminal and issue command
Code:
su
input your root password.
Next up, backup your existing xorg.conf
Code:
cp /etc/X11/xorg.conf /etc/X11/xorgbackup.conf
Open xorg.conf with mousepad (or any other text editor you like)
Code:
mousepad /etc/X11/xorg.conf
A text editor should pop up. Find the section "Screen"
It should look something like this
Quote
Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth     1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
Modes "800x600" "640x480"
EndSubSection
EndSection
You'll notice that in the Modes lines there are resolutions. The listed resolutions are the ones the system is going to try.
Add "1024x768" to the every one of the Modes lines. So it should look something like this

Quote
Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth     1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Make sure you add "1024x768" before the other resolution modes (from left to right).
Double check there aren't any typos
Save (Hit Ctrl + s)
Save your work, next one is gonna restart your X server and that means shutting down all apps.
Hit Ctrl + Alt + Backspace.

And then you should have your resolution set to 1024x768.

If by any chance you already have "1024x768" in the Modes lines, you will prolly need to adjust the proper refresh rates for you. In this case post your /etc/X11/xorg.conf here and we will continue.
« Last Edit: April 04, 2008, 01:44:48 pm by M-ake » Logged

Jumalauta!!
--
Fish go m00!
carmelofranco
Member
*
Posts: 6


« Reply #2 on: April 05, 2008, 04:39:17 am »

Thanks for the help:)

Anyway... in my xorg.conf there are already that 1024x768... but i dont know how to post here that file cause i accessed in it with console as root.. with the help of file manager

There is a way for open that file with desktop boot?

Or maybe say me how to change my monitor refresh rate... now i have only 70herz and 75herz.. maybe i need lesser? like 60herz??

Thanks..
Logged
hata_ph
Packager
Vectorian
****
Posts: 3259


-- Just being myself --


« Reply #3 on: April 05, 2008, 04:45:48 am »

Thanks for the help:)

Anyway... in my xorg.conf there are already that 1024x768... but i dont know how to post here that file cause i accessed in it with console as root.. with the help of file manager

you can use any text editor such as mousepad to open it.....either open the file from mousepad program or run below command in console.....

Quote
mousepad /etc/X11/xorg.conf
Logged
carmelofranco
Member
*
Posts: 6


« Reply #4 on: April 05, 2008, 06:02:26 am »

My xorg.conf:

Code:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/truetype/"
FontPath     "/usr/X11R6/lib/X11/fonts/local/"
FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

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

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option  "XkbLayout"  "it"   ## KEYBOARD_MAP!
Option  "XkbModel"  "toshiba_s3000"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "auto"
Option     "Device" "/dev/mouse"
Option     "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
#DisplaySize   270   210 # mm
Identifier   "Monitor0"
VendorName   "TOS"
ModelName    ""
HorizSync 37-48
VertRefresh 72-75
Option     "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "SWcursor"            # [<bool>]
#Option     "PciRetry"            # [<bool>]
#Option     "NoAccel"            # [<bool>]
#Option     "SetMClk"            # <freq>
#Option     "MUXThreshold"        # <i>
#Option     "ShadowFB"            # [<bool>]
#Option     "Rotate"              # [<str>]
#Option     "VideoKey"            # <i>
#Option     "NoMMIO"              # [<bool>]
#Option     "NoPciBurst"          # [<bool>]
#Option     "MMIOonly"            # [<bool>]
#Option     "CyberShadow"        # [<bool>]
#Option     "CyberStretch"        # [<bool>]
#Option     "XvHsync"            # <i>
#Option     "XvVsync"            # <i>
#Option     "XvBskew"            # <i>
#Option     "XvRskew"            # <i>
#Option     "FpDelay"            # <i>
#Option     "Display1400"        # [<bool>]
#Option     "Display"            # [<str>]
#Option     "GammaBrightness"    # [<str>]
#Option     "TVChipset"          # [<str>]
#Option     "TVSignal"            # <i>
Identifier  "Card0"
Driver      "trident"
VendorName  "Trident Microsystems"
BoardName   "CyberBlade XPAi1"
BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth     1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Are you able to edit it and post it right?

Thanks a lot... you're the best =D  i love u!!!
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #5 on: April 05, 2008, 06:06:03 am »

try changing the line that says
Code:
DefaultDepth 24
to
Code:
DefaultDepth 16
then restart X
Logged
carmelofranco
Member
*
Posts: 6


« Reply #6 on: April 05, 2008, 06:28:14 am »

try changing the line that says
Code:
DefaultDepth 24
to
Code:
DefaultDepth 16
then restart X

Ok.. i did it... now what i've to do??
Logged
carmelofranco
Member
*
Posts: 6


« Reply #7 on: April 06, 2008, 05:34:37 am »

Quote
If by any chance you already have "1024x768" in the Modes lines, you will prolly need to adjust the proper refresh rates for you. In this case post your /etc/X11/xorg.conf here and we will continue.

Ok i posted it.. can you say me how to adjust refresh rates?
Logged
nightflier
Administrator
Vectorian
*****
Posts: 4029



« Reply #8 on: April 06, 2008, 06:00:25 am »

The line to look for is the one which states:
VertRefresh 72-75

In your case X will try to drive it to 75 Hz if it can. Assuming your display is an LCD, you should be fine using 60 Hz. Try changing those numbers to 50-60.

After each change, remember to save the file, and restart X (or your computer). When troubleshooting X I always boot to TUI and use "mcedit /etc/X11/xorg.conf" for edits, then "startx" to test display.
Logged
carmelofranco
Member
*
Posts: 6


« Reply #9 on: April 07, 2008, 07:55:09 am »

Ok i resolved my problem.. now im 1024x768.. thanks to all for the help Smiley

Cya boys!
Logged
nightflier
Administrator
Vectorian
*****
Posts: 4029



« Reply #10 on: April 07, 2008, 10:05:01 am »

Great!   Smiley

Would you please tell us how you fixed it, so that others may benefit from this thread?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!