Tips & How-To's

[How To] Removing Transparency In Games without disabling/switching off Compiz

Admin’s Note: This solution was emailed to me by Bharath, as he was facing this problem and found a solution to this. If you want to drop a tip or a hack, just send me an email via the contact-me form and I might just publish it
Sometimes when playing native games in Linux they may appear transparent. This may feel good for some people. I felt games should be opaque so that the visibility of the game is more realistic and gameplay experience is better. I searched out Google, Compiz forums and even Ubuntu forums just to return without a proper solution. May be there is one out there in the internet and only its me who did not ponder over it. Switching off compiz-fusion may be one option. But switching off every time you run a game and switch it on after closing the game would be a frustrating job.
Once I searched the options of compizconfig-settings-manager (ccsm) and tried the following procedure to solve the problem, and this seems to work.

Here’s how to go about in fixing the problem:

  1. Open ccsm (press alt+f2 type “ccsm”)
  2. Enter General Options
  3. Go the tab named “Opacity Settings” and expand a tree named “Window opacities”.
  4. There will be transparency settings for different GUI components like Menu | Window | Dialog
    Double click it and locate among them an entry called DropDownMenu and remove it. You’re done.

    DropDownMenus may appear opaque but otherwise there shouldn’t be any problems. Games will be full opaque now. Please let me know if this solution works for you or if you are having other problems.

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *