[NTLUG:Discuss] Font Madness in X(KDE)

Chris Cox cjcox at acm.org
Wed Mar 1 09:40:52 CST 2006


Stephen Davidson wrote:
> Robert Pearson wrote:
>>
>> If you haven't already tried Steve Baker's excellent fix you might
>> want to try
>> this fix first.
>> SaX sometimes gets confused and and writes the new config file
>> incorrectly.
>> It makes a backup of the config file before creating the new one.
>> On my SuSE 9.3, with xorg, the files are "/etc/X11/xorg.conf" (new one)
>> and "/etc/X11/xorg.conf.saxsave".
>> If you have tried SaX or YaST both of the files will contain the bad
>> lines.
>> I have had good luck manually editing the file back to a known working
>> configuration. The reason for this is that the error may have occurred
>> in
>> an area of the file that you are not changing with SaX or YaST.
>> Then the new new file will still not work right.
>> For example, the new mouse information got put in wrong by SaX and is
>> screwing up everything past that point.
>>
>> If the files are unchanged since you ran SaX try a "diff" on them and see
>> what the differences are. You should see the new mouse in the new file
>> no other changes.
>>
>>   
> Greetings.
> 
> I have not been able to find the font settings.  While the
> xorg.conf.saxsave had been overridden with the bad configuration (I had
> tried going in to undo my bad), there were also several older backups,
> including one made during the system install.  So, I tried reloading
> with that one.  After copying, ran SAX2 to verify configuration.  No dice.
> 
> My display is still acting like a 800x600 display.  :(
> 
> Then I wised up.  Did the copy, and w/o running SAX2, restarted X.  Now
> everything is working properly.  So what's up with SAX2????
> 
> 
> -Steve

>From the xorg.conf man page:

       DisplaySize  width height
              This optional entry gives the width and height, in

              millimetres, of  the  picture  area  of the monitor.
              If given this is used to calculate the horizontal and
              vertical pitch (DPI) of the screen.

You can give that a try.  Just an idea.

Word of advice, ALWAYS backup your existing xorg.conf before changing
anything.  I name mine xorg.conf.YYYYMMDD-SS  Where SS is just
a sequence number if I'm making many incremental changes on the same
day.

When I get a config I like, I name it with something meaningful.
For example xorg.conf-twinview-3840x1200 (that's for 2 1920x1200
displays acting as single panel)... or xorg.conf-twinview-1920-and-1024
which for me is a setup where the primary display goes to the external
port at 1024x768 (for an LCD projector) and the local display on
may laptop is at 1920x1200.  Feel free to come up with better
names that make sense for your own use.

I hope that helps...




More information about the Discuss mailing list