Within my bash script I replace the Window Manager on Linux to Metacity, the source code is:
metacity --replace --composite &
This script is executed on a Red Hat 7 platform. For some reasons the background color changed to a gray background.
If I start metacity within my bash script with:
metacity --replace &
The background color is not changed and LightSkyBlue. But for some reasons the text window (Using Qt: QTextEdit) shown on the displays is not transparent anymore.
Two solutions are possible in this case:
- Starting metacity in combination with the –composite flag, in this case how can I solve the problem with the gray background
- Staring metacity without the –composite flag, in this case how can I solve the problem with the QTextEdit background color in Qt.
Hopefully someone can help me.