Removing a major Compiz annoyance

As much as I love the 3D Compiz/Cgwd, there is one thing I can do without: Wobbly menus. When you pull down or pop-up a wobbly menu, hitting the right menu selection is like target practice. It's even worse if you have to drill down to a sub-sub-sub menu selection because each sub-menu wobbles, too. Here's how to turn off this behavior in the most recent installation of Compiz.

Use the csm program to customize the behavior of plugins. Select Wobbly Windows from the left panel. Look for the Map Windows Types group box. Uncheck PopupMenu, Unknown and DropdownMenu. That's all there is to it. You can uncheck Menu, too, if it's checked on your system. It isn't checked by default on mine. Here's a quick screen shot of the csm configuration.

AttachmentSize
Wobbly-Menus-Off.png87.17 KB
______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Kwin?

Anonymous's picture

Hi! Are you running XGL/Compiz in KDE with Kwin Window Decorator? If so, please let me know how, 'cause I have to use cgwd in KDE, which is not so stable.

Thanks.

Kwin vs. Cgwd

Nicholas Petreley's picture

As far as I know, the existing Kwin doesn't support Xgl/Compiz. I use cgwd. It is surprisingly stable for me. The only problem I encountered was the fact that the new compiz-start program doesn't do the xmod change, so things like shift-Backspace will kill the X server. Edit /usr/bin/compiz-start and add this line at the end to fix this problem:


xmodmap -e "keycode 22 = BackSpace Delete"

That will stop the X server from seeming to crash every time you accidentally hit a combination like shift-Backspace.

DontZap

Anonymous's picture

There's a better way to prevent yourself from killing the X server. Put this directive in your xorg.conf and X will just ignore Alt+Control+Backspace:


Section "ServerFlags"
Option "DontZap" "true"
EndSection

DontZap: Not the solution

Anonymous's picture

The DontZap option had no effect for me - only using the xmodmap trick stopped SHIFT+BACKSPACE from killing XGL.

Thanks!

Nicholas Petreley's picture

I knew there was a setting for xorg.conf to do this, but I couldn't remember what it was. You're right - it's a better way of handling this.

Kwin vs. Cgwd

Nicholas Petreley's picture

As far as I know, the existing Kwin doesn't support Xgl/Compiz. I use cgwd. It is surprisingly stable for me. The only problem I encountered was the fact that the new compiz-start program doesn't do the xmod change, so things like shift-Backspace will kill the X server. Edit /usr/bin/compiz-start and add this line at the end to fix this problem:


xmodmap -e "keycode 22 = BackSpace Delete"

That will stop the X server from seeming to crash every time you accidentally hit a combination like shift-Backspace.

White Paper
Fabric-Based Computing Enables Optimized Hyperscale Data Centers

Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions