How do I detect if desktop is 256 color?

BlitzMax Forums/BlitzMax Programming/How do I detect if desktop is 256 color?

Didn't Skidracer post a possible solution for Linux in the same thread?

AFAIR, it was GetGraphicsMode(0, w, h, d, r) or did that not work (I don't run Linux and so can't test)?