Puppy overwrites my xorg.conf changes

Using applications, configuring, problems
Post Reply
Message
Author
mow9902
Posts: 187
Joined: Wed 26 Nov 2008, 08:29

Puppy overwrites my xorg.conf changes

#1 Post by mow9902 »

Gday All,

I am using lupu 5.2.5 USB install.

I am running on a Lenovo T60 laptop - with an external monitor.

I need one xorg.conf setup to properly display on the laptop and another xorg.conf setup to properly display on the external monitor.

I know the settings I need to use for the external display. I had hoped to be able to simply replace the standard xorg.conf file with the appropriate customised xorg.conf file and restart X.

When I try to do this with lupu-5.2.5 (kernel 2.6.33.2) it does not work. When X is started, puppy seems to generate a fresh 'default' xorg.conf file which it uses for the display.

How can I force X to use the settings from one of my customised conf files instead of using the puppy generated default file?

OR - is there a more elegant way of having puppy choose the correct xorg.conf file on bootup?

Help appreciated.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Greetings, mow9902.

Do you mean that right now, you have a display EITHER on the laptop OR on the external monitor? Or do you get a display on both?

I'm no great specialist of X config files, but I have the impression that X will produce a configuration for the lowest common denominator -- which may or may not be compatible with the other monitor. At least the dimensions, 1280x1024, for example, -- and perhaps the refresh rate --, will have to be the same on both monitors. If one display cannot accept 1280x1024, then it is best to configure at dimensions of 1024x768 for both monitors.

Best of luck, and keep us posted.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

bash-3.00# X=`Xorg -help 2>&1`
bash-3.00# echo "$X" |grep conf
-configure probe for devices and write an xorg.conf
-config file specify a configuration file, relative to the
xorg.conf search path, only root can use absolute
-configdir dir specify a configuration directory, relative to the
xorg.conf.d search path, only root can use absolute

You may try to implement it to
which xwin
/usr/bin/xwin

[and probably
which xorgwizard
/usr/sbin/xorgwizard]

bash-3.00# grep xinit /usr/bin/xwin
/usr/bin/xinit /root/.xinitrc -- -br -nolisten tcp > /tmp/xerrs.log 2>&1

in the Xorg case to

Code: Select all

/usr/bin/xinit /root/.xinitrc -- -config /etc/X11/my-config.conf -br -nolisten tcp > /tmp/xerrs.log 2>&1
NOTE > if your are running as spot in the sudo jail it needs to be

Code: Select all

/usr/bin/xinit /root/.xinitrc -- -config my-config.conf -br -nolisten tcp > /tmp/xerrs.log 2>&1

Post Reply