Creating xorg.conf file

General Q&A stuff about FoxyRoxyLinux

Creating xorg.conf file

Postby saintless » Wed Sep 05, 2012 6:49 pm

FoxyRoxy as Debian live does not use by default xorg.conf file. It probes your configuration every time when the system boots and it works fine most of the time.

Sometimes this auto-configuration may not be what you need.
For example I had a problem to change the colors from 16 Bit to 24 Bit.
The only way I've found is by editing the xorg.conf file. But we have to create one first.

To do this exit X (logout from the task bar button) and type:

Code: Select all
Xorg -configure


This will create file /root/xorg.conf.new
Then enter X, rename xorg.conf.new to xorg.conf and move the file in /etc/x11
Then open xorg.conf with leafpad and edit what you need.
In my case I had to add DefaultDepth 24 at the end of Section "Screen".

If you use live-rw save file this is all you need to do. Otherwise use 95-create script to save the changes as a snapshot, or 95-refresh to add the new changes to existing snapshot.

After reboot the system will be forced to read /etc/X11/xorg.conf instead of probing.
User avatar
saintless
 
Posts: 246
Joined: Sat Jul 14, 2012 7:01 am
Location: Bulgaria

Re: Creating xorg.conf file

Postby KazzaMozz » Wed Sep 05, 2012 10:01 pm

Hi Saintless,
Thanks re this, I went looking for this file last night thought it was weird I couldn't find it.
Now this will make things cleaner and easier with XBMC too.
Another thing I now know about Debian Live
Cheers 8-)
User avatar
KazzaMozz
 
Posts: 332
Joined: Tue Aug 21, 2012 9:59 pm
Location: Australia


Return to Do General Stuff



Who is online

Users browsing this forum: No registered users and 1 guest

cron