LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-05-2007, 08:53 AM   #1
Hugh Jass
Member
 
Registered: Feb 2005
Location: Manitoba
Distribution: SuSe, PCLinuxOS,Mint,Debian
Posts: 74

Rep: Reputation: 15
xorgconfig


If I type as root, xorgconfig ,I get a 'command not found' error.
In /etc/X11/xorg.conf (I am trying to change my monitor res to 1280x1024) I have added the "1280x1024" references as follows:-

# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480" "1280x1024"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480" "1280x1024"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "1280x1024"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480" "1280x1024"
EndSubsection
Can someone tell me what I should be doing here?
 
Old 01-05-2007, 09:15 AM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,691

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
try putting 1280x1024 before the other resolutions, make it the first resolution.
 
Old 01-05-2007, 09:20 AM   #3
nutronix
Member
 
Registered: Jan 2003
Location: montreal
Distribution: Slackware and Debian
Posts: 139
Blog Entries: 1

Rep: Reputation: 20
maybe as root; vi /etc/X11/xorg.conf , then in Depth 24 =
Modes "1280x1024" "1024x768" "800x600" "640x480" ......maybe having your highest resolution at the end of the string is not a good idea.

xorgconfig works fine on my slackware boxes (su - to root access)do not forget the -

If you are not on slackware your calls might be different .

You can also change your resolution in kde control center . hope this helps
 
Old 01-05-2007, 05:27 PM   #4
Hugh Jass
Member
 
Registered: Feb 2005
Location: Manitoba
Distribution: SuSe, PCLinuxOS,Mint,Debian
Posts: 74

Original Poster
Rep: Reputation: 15
Well using the "-" allowed me to get in.
Now I can't boot up, it hangs at...Starting up X11 Session Manager.

How on earth did I do this?

Here is the changed /etc/X11/x.conf now...


# File generated by XFdrake (rev 62599)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# font server independent of the X server to render fonts.
FontPath "unix/:-1"

# minimal fonts to allow X to run without xfs
FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Extensions"
Option "Composite"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "evdev"
Option "product" "0x0714"
Option "HWheelRelativeAxisButtons" "7 6"
Option "vendor" "0x045e"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Dell"
ModelName "Dell 1905FP (Analog)"
HorizSync 30.0-81.0
VertRefresh 56.0-76.0

# Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce 6 Series"
Driver "nv"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
Screen "screen1"
EndSection
 
  


Reply



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
Need some xorgconfig help ezor Slackware 9 04-10-2006 03:26 PM
Where does xorgconfig go? adds2one Slackware 6 11-24-2005 07:37 PM
Where is xorgconfig? infornography Fedora 4 02-09-2005 02:33 AM
xorgconfig should i DaveyB General 3 09-08-2004 04:24 PM
xorgconfig bradass General 2 07-27-2004 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:05 AM.

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
Open Source Consulting | Domain Registration