LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-02-2003, 04:32 PM   #1
cradlebin
LQ Newbie
 
Registered: Sep 2003
Posts: 10

Rep: Reputation: 0
Starting X with a different config?


Hi,

I'm having a bit of a problem with running X with different configs, I tried to do:
startx -- -xf86config nameofmyconfig
where the config resides in /etc/X11/ but my default config gets loaded, any of you have an idea where the problem is? I'm running XFree 4.3.0
As root it doesn't work either, and I would really like to be able to use different configs for when I'm using the TV-out function of my videocard or when I'm just using my monitor alone (or could it be that it checks if my tv is connected and when it is not connected it switches to 1280 and when it is connected it switches to 1024?)

Just want to know if there are other ways or if I'm overlooking something stupid, any help is welcome.
 
Old 10-02-2003, 05:23 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Not too sure about that... did you check /var/log/XF86Config.*.log for any messages or errors about why your specified config didn't get loaded? My only thought is that it maybe encountered problems with your config, and so loaded the default one instead.
 
Old 10-02-2003, 05:26 PM   #3
pesho_p
Member
 
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
startx -- -xf86config /etc/X11/NameOfYourConfig

or

XFree86 -xf86config /etc/X11/NameOfYourConfig

Probably this is what you're looking for?
 
Old 10-03-2003, 10:16 AM   #4
cradlebin
LQ Newbie
 
Registered: Sep 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Well i tried that config by copying it to /etc/X11/XF86Config first and starting X as usual, and that worked, so I then copied my regular XF86Config file back and copied the other config file that worked to another filename, but in the same directory.
pesho_p: tried that, didn't help (only root can give absolute pathnames even, well according to the manual of X that is.)

Anyone else has an idea?
 
Old 10-03-2003, 11:58 AM   #5
pesho_p
Member
 
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Quote:
Originally posted by cradlebin
pesho_p: tried that, didn't help (only root can give absolute pathnames even, well according to the manual of X that is.)
How about:

cd
ln -sf /etc/X11/XF86Config.1 XF86Config.1
ln -sf /etc/X11/XF86Config.2 XF86Config.2
startx -- -xf86config XF86Config.{1,2}
 
Old 10-05-2003, 06:56 AM   #6
cradlebin
LQ Newbie
 
Registered: Sep 2003
Posts: 10

Original Poster
Rep: Reputation: 0
How could that be of any use? Doesn't X check the /etc/X11 dir to see if the config you're specifying is in that directory when it boots up? always assumed it does, and it looks logical to me .. but i'll try it in a minute or so, but let me get this straight, you mean I have to put the symlinks in my homedir, right?
 
  


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
how to run system-config-soundcard automatically during starting process? leduytien Linux - Software 1 02-11-2006 10:57 AM
Starting X with a custom config Fozza Linux - General 6 09-15-2005 03:24 AM
starting xprogram without starting X server. bruse Linux - Newbie 9 04-26-2005 08:05 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 07:39 PM
Starting KDE with x config for gnome johan the olive Slackware 1 11-13-2003 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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