LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-12-2006, 08:36 PM   #1
mr_r
LQ Newbie
 
Registered: Aug 2003
Location: London, UK
Distribution: Suse 10.1, Centos 4.3, Fedora Core 4 / 5
Posts: 22

Rep: Reputation: 15
Question SAX2 - How to add a custom modeline?


Hi,

I have a custom modeline I want to add to /etc/X11/xorg.conf to make suse work with my projector. I have all the settings from a previous xorg.conf that I used in Fedora. The problem is, I can't see anywhere to put in custom resolutions & monitors in SAX2 - and sax2 automatically generates xorg.conf.

So, how do I disable sax2 OR put custom modelines in without it overwriting xorg.conf ???
 
Old 07-13-2006, 01:49 AM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
I haven't used SuSE a whole lot, but I'll take a stab at it.

The last time I had to mess with X video settings in SuSE, I found that as long as you don't mess with SAX2 (i.e. reconfigure using SAX2), it won't overwrite your xorg.conf file. Since I rarely use GUI tools to mess with my configuration files anyway, it didn't really bother me, but chances are, there's a better solution.

Here's what I would do. Make the changes you want to your /etc/X11/xorg.conf and back it up to something like /etc/X11/my.xorg.conf. Then find your "local" startup script/settings (try /etc/rc.d/boot.local) and add the following line:

Code:
cp -vf /etc/X11/my.xorg.conf /etc/X11/xorg.conf
This will copy your customized my.xorg.conf over the SAX2-overwritable xorg.conf every time the computer boots. Just make sure to make all your changes to the my.xorg.conf from now on.

Like I said, this probably isn't the best way to do it (I'm really much more of a Slackware/Gentoo guy), but I think it'll work. If anybody else has a better idea, please feel free to chime in!

Hope that helps.

--Dane
 
Old 07-13-2006, 07:03 AM   #3
mr_r
LQ Newbie
 
Registered: Aug 2003
Location: London, UK
Distribution: Suse 10.1, Centos 4.3, Fedora Core 4 / 5
Posts: 22

Original Poster
Rep: Reputation: 15
Dane, Thanks for that! I'll give it a try
 
  


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
SAX2 Questions: Mouse Buttons & Custom Resolution SUSE 10.1 GM Old_Fogie SUSE / openSUSE 0 05-22-2006 04:11 AM
How to add RAID driver to custom install CD? Arodef Linux - Hardware 0 04-05-2006 12:48 AM
How can I add custom data to my executable bestofmed Programming 3 07-29-2004 03:24 AM
How to add my custom icon to my JAVA app? on jBuilderX randomx Programming 6 07-08-2004 03:01 PM
Custom modeline mrsolo Linux - Laptop and Netbook 2 08-16-2003 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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