Skip to main content
  1. Archives/

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

··301 words·2 mins·
Tips & How-To's Linux
Table of Contents
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. <li>
      Go the tab named "Opacity Settings" and expand a tree named "Window opacities".
    </li>
    <p style="text-align: center;">
      <a href="https://img113.imageshack.us/my.php?image=opacitysettingsgc1.png" target="_blank"><img src="https://img113.imageshack.us/img113/3672/opacitysettingsgc1.th.png" border="0" alt="" /></a>
    </p>
    
    <li>
      There will be transparency settings for different GUI components like Menu | Window | Dialog <div>
        Double click it and locate among them an entry called DropDownMenu and remove it. You're done.
      </div>
      
      <p style="text-align: center;">
        <a href="https://img521.imageshack.us/my.php?image=dropdownmenubk9.png" target="_blank"><img src="https://img521.imageshack.us/img521/9227/dropdownmenubk9.th.png" border="0" alt="" /></a>
      </p>
      
      <div>
        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.
      </div>
    </li>
    
Sathyajith Bhat
Author
Sathyajith Bhat
Author, AWS Container Hero and DevOps Specialist.

Related

[How-To]Mounting LVM partitions from a command prompt or a Root Shell
··404 words·2 mins
Tips & How-To's Commands Linux
Today as I booted into my openSUSE box, for reasons unknown to me, my LVM partitions failed to mount. fsck didn’t help, and and LVM based container system meant that I couldn’t use the standard mount /dev/sdxx style of mounting as well. With my /home and / configured as a LVM, the root (/) partition was active, but the /home partition was not being mounted, as a result, X and KDM wouldn’t start, giving a console login.
File Associations:Changing/Removing/Adding default applications for particular filetypes in openSUSE 11 & KDE 4.1
··297 words·2 mins
Tips & How-To's Applications Linux
Consider this situation. You have multiple programs installed for a particular file type. Now double clicking it opens an application, but you want it to open in another application. For example, you want your images to open in showFoto instead of Gwenview, so how do you go about doing this? Let me show you how to do so! First, launch KDE settings, by clicking on the K menu and then Configure Desktop.
[How-To] Fix Nautilus File Manager Title Bar(Window Decorator) disappearing when Emerald is enabled
··184 words·1 min
Tips & How-To's Linux Nautilus
Most of the how-to’s and fixes posted here, are generally my experiences and I post them on how I went about fixing it. This particular how-to was mentioned to me by my very good friend, Bharath, who had this annoying problem of┬áthe title bars of every window crashing and disappearing when Emerald is chosen as the decorator. Generally, I’d recommend running gtk-window-decorator --replace or metacity --replace in terminal - that generally does reinitialize the window decorators.