Bug #238

"Use your own config" setting on Video Setup doesn't seem to do anything

Added by nickca over 15 years ago. Updated almost 13 years ago.

Status:Closed Start date:
Priority:Normal Due date:12/31/1969
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:6.00.04

Description

The "use your own config" option in the LinHES Video Setup doesn't seem to do anything. I have my xorg.conf in /data/home/mythtv/templates/xorg.user, but whenever I check or uncheck the box, it overwrites /etc/X11/xorg.conf with the default configuration file. I found this section in /usr/MythVantage/bin/xconfig.sh:

if [ -f "$BASE/data/home/mythtv/templates/xorg.user" ]
then
cp -f "$BASE/data/home/mythtv/templates/xorg.user" "$XORG_CONF"
else

I don't see anywhere where that $XORG_CONF variable is defined. The script sources /etc/profile, but it's not in there either.


Related issues

related to LinHES - Bug #220: Bad X config files generated Closed
related to LinHES - Bug #226: nvidia tv out does not change xorg.conf file Closed

History

Updated by jams over 15 years ago

It's defined at the bottom of xconfig.sh.
The process appears to work as expected, but I did make a change to the expected location of the user file.
Please update LinHES-config and try again, with the user file in /home/mythtv/templates/xorg.user

X will not restart by itself after xconfig.sh runs but it will change xorg.conf.

Updated by nickca over 15 years ago

After updating LinHES-config, it now works with the file in /home/mythtv/templates/xorg.user.

Is this going to be the new location for all user-supplied config files going forward? For example, I currently have smb.conf in /data/home/mythtv/templates/, and the configuration script still looks for it there after the update.

Updated by tjc over 15 years ago

I was wondering about the location too. IMO config files that affect the whole system should belong to root and be in some "preserved" directory like "/myth/templates". While "/home/mythtv" is backed up and restored that may happen later than is desirable in the general case. A single consistent location would also be good.

Updated by jams almost 13 years ago

  • Target version changed from 7.2 to 6.00.04

Also available in: Atom PDF