LinuxQuestions.org
Help answer threads with 0 replies.
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 09-03-2004, 05:16 PM   #1
dc_cid
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Rep: Reputation: 0
Slackware 10.0 xorg.conf


I screwed up my xorg.conf file, attempting to get my mouse to scroll, i didnt make a back up cause i didnt think i would screw it up this bad. How can i go about editing or replacing the file, i cant boot up slack because i get an error, due to the xorg.conf file. My guess is i use the cd's and fix it in shell. In any case pls post an answer to my question, thanks
 
Old 09-03-2004, 05:27 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
When you get the error message, hit ctrl-alt-f6, this will take you to a login prompt. After you log in you will not have X loaded. You can then edit xorg.conf.
 
Old 09-03-2004, 06:25 PM   #3
dc_cid
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Can you post a copy of your xorg.conf, cause most of mine is gone
 
Old 09-04-2004, 06:34 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Here you go:
Code:
# File generated by xf86config.

Section "Module"


    Load        "dbe"  	# Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load        "speedo"

    Load       "glx"

EndSection


Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"


    FontPath 	"/usr/X11R6/lib/X11/fonts/local"
    FontPath 	"/usr/X11R6/lib/X11/fonts/misc"
    FontPath 	"/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Type1"
    FontPath 	"/usr/X11R6/lib/X11/fonts/CID"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath 	"/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath 	"/usr/local/share/fonts"
    FontPath 	"/usr/X11R6/lib/X11/fonts"
EndSection

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"Keyboard"

EndSection

Section "InputDevice"

    Identifier	"Mouse1"
    Driver	"mouse"


    Option "Protocol"    "IMPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Device" "/dev/mouse"


    Option "Device"      "/dev/mouse"

EndSection

Section "InputDevice"

    Identifier	"Touchpad"
    Driver	"mouse"

    Option "Protocol"    "Auto"
    Option "Device"      "/dev/mouse"

EndSection

Section "Monitor"

    Identifier  "My Monitor"

    HorizSync   31.5 - 50.0

    VertRefresh 40-90

EndSection


Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"

EndSection


    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"

   DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"

    Screen "Screen 1"

    InputDevice "Touchpad"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
I'd suggest only using this for a comparison - obviously, my hardware is different to yours. Also, try running xorgconfig (as root) at the terminal - this will rewrite xorg.conf if it is really messed up.
 
Old 09-27-2004, 12:35 AM   #5
gadgervais
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
how do we start the xorgconfig???
if i type xorgconfig ... it write
-bash : xorgconfig : bad command line
 
Old 09-27-2004, 12:52 AM   #6
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
do a find or "locate xorgconfig" then go to that directory and run it
The path on my machine is "/usr/X11R6/bin/xorgconfig"
 
Old 09-27-2004, 01:00 AM   #7
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
i may be mistaken..but i'm assuming you're logging into a command prompt? black screen, white letters?
log in there as root, then type 'xorgconf' without the quotes, and it should start a nifty little question and answer session for you to set up your xorgconfig...
 
Old 09-27-2004, 01:34 AM   #8
Sinope
Member
 
Registered: Aug 2004
Location: Chicago
Distribution: Debian testing/unstable
Posts: 82

Rep: Reputation: 15
You need to be root to run xorgconf.

Do this:

Boot up the computer. It's screwed up, so you get what? A black screen? Whatever.
Once it boots, press Control+Alt+F6. You should get a login prompt.
Login as yourself.

su to root, and run xorgconfig:
Code:
$ su -l
Password: <YOUR ROOT PASSWORD>
# xorgconfig
<You will get lots of nice prompts to help you out.>

# reboot
Good luck!
 
Old 09-27-2004, 03:03 PM   #9
gadgervais
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
i'm logging in as root typing xorgconfig in the prompt (black whit white text) ans it's telling me bad bahs command ... and if i type locate xorgconfig it do nothing.

i whent to /usr/X11R6/bin/ but there is no xorgconfig

fedora core 2

Last edited by gadgervais; 09-27-2004 at 03:05 PM.
 
Old 09-27-2004, 03:16 PM   #10
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
gadgervais...i think if you're using fedora core 2, the command would be 'xf86config'
 
Old 09-27-2004, 09:22 PM   #11
Sinope
Member
 
Registered: Aug 2004
Location: Chicago
Distribution: Debian testing/unstable
Posts: 82

Rep: Reputation: 15
Slackware uses xorgconfig and xorg.conf.

I think most other distros use xf86config or and XF86.conf, or maybe different capitalizations....
 
  


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
Screen Resolution problems connected with xorg.conf and xorgconfig with Slackware 10 tvisher Linux - Newbie 17 04-03-2007 08:39 AM
Slackware 10.1 and Xorg.conf mikz Slackware 1 02-24-2005 04:43 AM
X, xorg.conf, and Slackware socks Slackware 3 02-01-2005 05:44 PM
Slackware 10 xorg.conf Gerardoj Slackware 6 12-01-2004 06:13 AM
Slackware Xorg.conf problem Quelltext Linux - Newbie 5 07-17-2004 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration