PDA

View Full Version : Need command line to determine compositing



rg4w
March 1st, 2012, 04:24 PM
I'm working on an app in which I need to have one of two different UIs depending on whether rich window compositing is available, similar to how Unity chooses between "3D" and "2D".

There are C interfaces for this, but it would be a tremendous time-saver if I could just make a Bash call.

I didn't see anything in env which would tell me this - where should I look?

TIA -

ofnuts
March 1st, 2012, 07:24 PM
I'm working on an app in which I need to have one of two different UIs depending on whether rich window compositing is available, similar to how Unity chooses between "3D" and "2D".

There are C interfaces for this, but it would be a tremendous time-saver if I could just make a Bash call.

I didn't see anything in env which would tell me this - where should I look?

TIA -TCompositing can be dis/enabled on the fly (typically set of on my machine when it enters the more aggressive power saving modes).