LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-10-2006, 01:40 AM   #1
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Rep: Reputation: 31
Set number of colors to be displayed


Ubuntu has a tool for adjusting screen resolution and refresh rate, however, I couldn't find an option for selecting how many colors it should use. As by default, it chose a resolution higher than recommended by my Monitor's manufacturer, I am concerned that the colors could be too high as well, which might explain why I am having redraw artifacts when moving windows around quickly.

How can I set the number of colors to be displayed in X?
 
Old 06-10-2006, 06:35 PM   #2
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
sudo gedit /etc/X11/xorg.conf

Scroll down to Section Screen. Mine's included for reference.

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5200]"
Monitor "Generic Monitor"
DefaultDepth 24

Following this are a set of "Display" subsections for each color depth the driver understands for your display. Change the "DefaultDepth" to the number you want. It probably defaulted to 24 bit depth and you may need 16 bit or even less. My monitor wasn't recognized in the hardware scan so this is where I added "1280x1024" as a GUI option in the "Display" subsections. A sample subsection for this purpose follows:

SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to select number of colors for display in slack10 timsch75 Slackware 3 08-28-2004 02:45 PM
Switching off line number colors on vi or vim raees Linux - Software 4 04-21-2004 07:31 AM
program that allows changing of number of colors in .png file? frieza Linux - Software 1 02-10-2004 12:05 AM
XSession Number of Colors Problem partyman6666 Solaris / OpenSolaris 0 01-07-2004 09:17 AM
changing the number of colors Robert0380 Linux - General 7 05-22-2003 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration