View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Apr 25, 2017 12:18 am 
Offline
Joined: Mon Aug 14, 2006 8:24 pm
Posts: 320
Location: Melbourne, Australia
My machine has been progressively upgraded since R5.5 and one of the first things I had to do was create a custom xorg file because it was necessary to control my TV with modelines. It is still the same TV although an upgrade is on the cards. My current setup for R8.4.2 has my custom xorg data located in /etc/X11/xorg.conf.d/20-automv.conf which seems to work adequately and when I look at /var/log/Xorg.0.log all my data is present. Looking at Settings>LinHES>Display I see that user configuration can be selected if an xorg.userfile is placed in ~/templates directory which I can see would make it upgrade proof. The wiki also refers to running xconfig.sh to set the video driver.

Before I start to try things I have a few questions.

1. What is the form of of the xorg.user file? Is it the same as 20-automv.conf?
2. If I select user configuration and it fails and X won't start, can I recover by editing /etc/systemconfig to set XIgnoreConfig back to 0?
3. If /etc/X11/xorg.conf.d/20-automv.conf still exists, what is the hierarchy of the 2 files?
4. What does xconfig.sh do? I have tried to understand the code but am unsure. Given that I have a working setup will it do any harm/good?

My video card is nVidia GT220 and the driver version is 340.102.

_________________
Intel DG965WH, Dvico DVB-T Lite x2, HDHR, Gigabyte GT220, KingstonSSD, WD20EARS version=latest


Top
 Profile  
 
PostPosted: Tue Apr 25, 2017 7:21 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
1. Yes same format. But it could include multiple sections (Device, Screen, Monitor, Extension, etc).
2. It would only fail if you have an error in your xorg.user. If it does fail just delete /etc/X11/xorg.conf and X should start like before. That is where xconfig.sh copies your xorg.user file to.
3. From memory the sections in /etc/X11/xorg.conf take precedence over /etc/X11/xorg.conf.d/*.
4. xconfig.sh tries to detect the video card and install the correct drivers and settings. If you booted from the ISO or a LinHES install and got to the GUI xconfig.sh did the work to make that happen. Running it again shouldn't hurt your system unless you force it to install the wrong driver or your xorg tweaks are what made it work.


Top
 Profile  
 
PostPosted: Tue Apr 25, 2017 6:53 pm 
Offline
Joined: Mon Aug 14, 2006 8:24 pm
Posts: 320
Location: Melbourne, Australia
Thanks for the explanation. I successfully switched to using ~/templates/xorg.user without a hitch and am able to make changes then copy them over with xconfig.sh. I like this system of storing customisations in the home directory.

_________________
Intel DG965WH, Dvico DVB-T Lite x2, HDHR, Gigabyte GT220, KingstonSSD, WD20EARS version=latest


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu