LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-13-2005, 01:42 PM   #1
hughgjohnson
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 15

Rep: Reputation: 0
Deleted xorg.conf. Now what is x using?


So, I've been playing with xorgsetup and wasn't seeing any changes I made so I thought I'd delete xorg.conf. Now I can startx and get into KDE and actually see the settings I was hoping for, but when I look in X11 I only see.

xorg.conf-fbdev
xorg.conf-vesa
xorg.conf.backup
xorg.conf~

I though maybe it was using a cached version so I rebooted the machine (I'm sure I didn't have to do this, but didn't know a better way) and started x again, but still no xorg.conf

Not sure which file is being used for the settings.

I'm using Slackware 10 if this makes any difference.

Thanks!

Hugh

Last edited by hughgjohnson; 06-13-2005 at 01:49 PM.
 
Old 06-13-2005, 01:48 PM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
Okay the file should live in /etc/X11/ and is called xorg.conf as you say. however, you can have the file elsewhere. Can't quite rememeber how this is acheived but find it by typing find / -name xorg.conf

The i would recommend deleting the file (presuming it is not a sample file) and then running xorgconfig as root

then you'll want to know about a wheel mouse!
 
Old 06-13-2005, 02:03 PM   #3
hughgjohnson
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 15

Original Poster
Rep: Reputation: 0
OK. I found it

/usr/X11R6/etc/X11/xorg.conf

When I created it I was in root. Yes, you're correct, now I want to make the changes for the mouse. This is funny because I first had the mouse working fine, but my resolution sucked lemons, and everytime I'd edit the xorg.conf I would get the "No Screens ..." error and couldn't boot X, so I ran the xorgsetup a few times to get the monitor and video working. But then when I edited the mouse settings they weren't sticking so thats when I deleted the xorg.conf file in /etc/X11.

So, can I the the xorg.conf in the directory above and leave it there? Or, does it need to be in /etc/X11?

Thanks.

Hugh



Quote:
Originally posted by satinet
Okay the file should live in /etc/X11/ and is called xorg.conf as you say. however, you can have the file elsewhere. Can't quite rememeber how this is acheived but find it by typing find / -name xorg.conf

The i would recommend deleting the file (presuming it is not a sample file) and then running xorgconfig as root

then you'll want to know about a wheel mouse!
 
Old 06-13-2005, 02:16 PM   #4
hughgjohnson
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by hughgjohnson

....
So, can I the the xorg.conf in the directory above and leave it there? Or, does it need to be in /etc/X11?
...
Well, that was pretty painless. I edited the file and sure enough I'm happily wheel mousing my windws up and down as I type!

Thanks for the help!

Hugh
 
Old 06-13-2005, 02:18 PM   #5
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
if it works it works. personally i would delete and start again with xorgconfig.

what you need to add is:

Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

and there you go scroll mouse.

If you are unaware you can go straight into KDE or Gnome etc by editting /etc/inittab and changing the default run level to 4.

Other tips? Hmm Nvdia/ATI drivers i guess. Make sure when you run xorgconfig that you set your monitor settings to the max you want to use. If you don't you won't be able to use those settings (KDE gnome etc) are ruled by what is in your xorg.conf file.
 
  


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
restore deleted rc.conf file fraggelfraggel *BSD 7 10-22-2005 11:53 PM
resolv.conf getting deleted at startup Caysho Mandriva 1 08-24-2005 09:44 AM
deleted httpd.conf - apache still finds it after restart jordanthompson Linux - Software 1 10-16-2004 02:08 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM
Help, help.. I'm a moron and deleted my rc.inetd.conf xanas3712 Slackware 5 05-12-2004 03:23 PM

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

All times are GMT -5. The time now is 03:45 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
Open Source Consulting | Domain Registration