Set the X color depth

Set the X color depth

Post by * Tong » Sun, 10 Jun 2001 12:18:19



Hi,

where do I specify the default color depth for X?

I changed my /etc/X11/XF86Config, and now my X is 8b depth by
default....  Here is the "Screen" part:

Section "Screen"
    Driver      "accel"
    Device      "My Video Card"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

--
Tong (remove underscore(s) to reply)
  *niX Power Tools Project: http://xpt.sourceforge.net/
  - All free contribution & collection

 
 
 

Set the X color depth

Post by Duane Healin » Mon, 11 Jun 2001 00:36:57


It should have a line that reads:
DefaultColorDepth               XX
(where XX is your chosed depth) in the "Screen" section somewhere before
the "Display" subsection.

--
-Duane
-DNAware SoftLabs

In a feverish moment of semi-lucidity, "* Tong *"

Quote:> Hi,

> where do I specify the default color depth for X?

> I changed my /etc/X11/XF86Config, and now my X is 8b depth by
> default....  Here is the "Screen" part:

> Section "Screen"
>     Driver      "accel"
>     Device      "My Video Card"
>     Monitor     "My Monitor"
>     Subsection "Display"
>         Depth       24
>         Modes       "1280x1024" "1024x768" "640x480" ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       8
>         Modes       "1280x1024" "1024x768" "640x480" ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "1280x1024" "1024x768" "640x480" ViewPort    0 0
>     EndSubsection
> EndSection


 
 
 

Set the X color depth

Post by Dexter Ruteck » Sun, 10 Jun 2001 17:23:10



> Hi,

> where do I specify the default color depth for X?

> I changed my /etc/X11/XF86Config, and now my X is 8b depth by
> default....  Here is the "Screen" part:

> Section "Screen"
>     Driver      "accel"
>     Device      "My Video Card"
>     Monitor     "My Monitor"

DefaultColorDepth <the number 24 16 8 or whtever you want>

Quote:>     Subsection "Display"
>         Depth       24
>         Modes       "1280x1024" "1024x768" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       8
>         Modes       "1280x1024" "1024x768" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "1280x1024" "1024x768" "640x480"
>         ViewPort    0 0
>     EndSubsection
> EndSection

Or startx -- -bpp <number 8 16 24 ...>
Without the < > just the digits ;)

Cheers
Per

 
 
 

Set the X color depth

Post by Tim Robert » Tue, 12 Jun 2001 13:41:10



>It should have a line that reads:
>DefaultColorDepth           XX
>(where XX is your chosed depth) in the "Screen" section somewhere before
>the "Display" subsection.

In XFree86 4.x, the preferred keyword is "DefaultDepth".
--

  Providenza & Boekelheide, Inc.
 
 
 

1. Setting colour depth on a per-user basis?

Students in my lab run various apps on a central SGI IRIX and HP-UX
system, which each then display graphical output simultaneously on
multiple remote Redat 7 linux boxes.

Some of these server apps only generate their remote graphics
correctly if the linux boxes are in an 8-bit color depth.  If set to
higher depths they either generate fatal colormap errors or just
generate screwed-up and non-usable colors.  We only have binaries of
the server apps, so have to work with them as they are.

However, on other occasions, the students want the linux screens set
in the highest color depth possible (eg when using GIMP, StarOffice,
etc)

One possible neat solution seemed to me to set different color depths
for different user accounts on each box.

Does anyone know if that's possible and how I should go about setting
it up?

Or is there a more elegant way of doing this?

 We did consider using CTRL-ALT-PLUS/MINUS to cycle through
preconfigured color depths, but this proved too unwieldy and
confusing....

2. sunscreen java gui, v0.1

3. setting color depth on Blade 100 with Expert 3D lite card

4. Help with Boot diskette or LILO

5. Help! set X server Color Depth

6. Poblems in recompiling kernel - help!

7. How to set color depth using GNOME starting as GDM?

8. FBDev VESA ATI RADEON

9. How to set color depth in X...?

10. How to set up 16 bit color depth

11. How do you set color depth with Creator3D?

12. RH5.2, xdm, setting color depth

13. XF86 and YDL CS 1.2, setting color & bit-depth (help!)