Removing a major Compiz annoyance

September 14th, 2006 by Nicholas Petreley

Your rating: None

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


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

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

Kwin?

On September 14th, 2006 Anonymous (not verified) says:

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.

Nicholas Petreley's picture

Kwin vs. Cgwd

On September 14th, 2006 Nicholas Petreley says:

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.

Anonymous's picture

DontZap

On September 20th, 2006 Anonymous (not verified) says:

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

Anonymous's picture

DontZap: Not the solution

On September 23rd, 2006 Anonymous (not verified) says:

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

Nicholas Petreley's picture

Thanks!

On September 20th, 2006 Nicholas Petreley says:

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.

Nicholas Petreley's picture

Kwin vs. Cgwd

On September 14th, 2006 Nicholas Petreley says:

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.

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

July 2009, #183

News Flash: Linux Kernel 3.0 to include an on-the-go Expresso machine interface! Ok, maybe not, but Linux is definitely going mobile, from phones to e-readers. Find out more inside about Android, the Kindle 2, the Western Digital MyBook II, The Bug, and Indamixx (a portable recording studio). And if you've gone mobile and you been wanting more Emacs in your life then check out Conkeror.


To compliment the mobile we've got the stationary: parsing command line options with getopt, checking your Ruby code with metric_fu, and building a secure Squid proxy. How is this stationary you ask? What can we say? It's not. We just wanted to see if anybody actually read this part of the page :) .


All this and more, and all you have to do is get your hot sweaty hands on the latest copy of Linux Journal.





Read this issue