How to find the color depth in linux?

From: Angel M de Vicente Angel M de Vicente (angelv_at_guinda.iac.es)
Date: 09/30/03


Date: 30 Sep 2003 12:14:09 +0100

Hi,

I have an application that only runs with a certain color depth, and I just
want to write a script that will warn me if I am using a different color
depth. Dow anybody know how to get the current color depth in Linux? (I know
how to change it in XF86Config, but I don't want that, I want to find the
present color depth.)

Any help?

Thanks a lot,
Angel de Vicente

-- 
----------------------------------
PostDoc Software Support
Instituto de Astrofisica de Canarias


Relevant Pages

  • Re: switching X resolution modes?
    ... available for color depth: ... You could then write a one-line script ... works if you are booting up in text mode and starting X with startx. ... > to switch them with a script. ...
    (Debian-User)
  • Re: How to find the color depth in linux?
    ... Dow anybody know how to get the current color depth in Linux? ... Chances are you won't need to write a script, fire up an xterm and run ... Regards ... Chu ...
    (alt.os.linux)