Monday, February 1, 2010

Remove menu delay the right way

There are many sites offering bad advice for removing menu delay (as I did), e.g. http://lifehacker.com/software/linux...enu-269934.php.

These sites  tell you to create ~/.gtkrc-2.0 and then add 'gtk-menu-popup-delay = 0"| tee -a .gtkrc-2.0'. That's wrong.

It should be either:

* create file ~/.gtkrc-2.0 and add 'gtk-menu-popup-delay = 0'

or

* run in terminal 'echo "gtk-menu-popup-delay = 0"| tee -a .gtkrc-2.0'

Either delete ~/.gtkrc-2.0 and do one of the two methods above, or edit the file as needed.

You'll know if you've done it the wrong way if you get this error message:

error: scanner: unterminated string constant - e.g. `style'

Thanks to Wesley and David_1cog for pointing this out.

No comments:

Post a Comment