How to change the color depth?

41,517

Solution 1

You can create a new xorg.conf by switching into a virtual virtual console (Ctrl + Alt + (F1-F6)) and running sudo service gdm stop.

Then run Xorg -configure (yes, it should be Xorg, not xorg). If you had an old xorg.conf file in /etc/X11/ you'd first back that up by doing sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup.

Then move your newly created xorg.conf to /etc/X11/ by running sudo mv xorg.conf.new /etc/X11/xorg.conf and restart gdm by running sudo service gdm start.

Then you can change the color depth in there by finding the appropriate section and changing/adding whatever's in there to DefaultDepth 16

Solution 2

Try doing this step, but before you get to the sudo service xdm start part, change the screen section (within the xorg.conf file) to something like:

Section "Screen"
Identifier    "Default Screen"
Monitor        "Configured Monitor"
Device        "Configured Video Device"
DefaultDepth    16
Modes        "1024x768"
EndSection
Share:
41,517

Related videos on Youtube

Tobias Kienzler
Author by

Tobias Kienzler

Physicist.

Updated on September 17, 2022

Comments

  • Tobias Kienzler
    Tobias Kienzler over 1 year

    I have Ubuntu 10.04 installed on a Dell C600 and the highest available resolution is 800x600. From my previous I remember 1024x768 would work after setting the colour depth to 16bit, but there is no xorg.conf in /etc/X11 anymore. So, how can the colour depth be changed on lucid lynx?

  • Tobias Kienzler
    Tobias Kienzler over 13 years
    replace xdm with gdm and it's fine
  • Tobias Kienzler
    Tobias Kienzler over 13 years
    Thanks, that changes the depth. Unfortunately, there seem to be more steps necessary, I still cannot change the resolution to 1024x768.
  • Tobias Kienzler
    Tobias Kienzler about 13 years
    @IngoGerth: gnome's philosophy I guess... "Let's assume the dumbest possible user and insult even them by hiding important options"