2011-05-07

[How to] Disable the ‘resize grip’ in Ubuntu 11.04


Ubuntu 11.04 saw ‘resize grips’ introduced to the bottom right corner of GTK+ applications in order to make resizing windows that little bit easier.

Selection_0242.png" alt="" />

Not everyone is a fan of the “look”, though. Indeed, in some applications it tends to stick out like a sore thumb!

Disabling the grip, whilst costing you a more precise target for resizing, is an easy ‘hack’ to accomplish.
  • Open your Home folder
  • Press CTRL+H to reveal ‘hidden’ files
  • Locate the file named ‘.gtkrc-2.0′ (or create it if it is not there)
  • Right click on it and open with Gedit/text editor
  • Add the following code:

style "default-style" { GtkWindow::resize-grip-height = 0 GtkWindow::resize-grip-width = 0 } class "GtkWidget" style "default-style"

To re-enable the Grip just delete the above code from the file.

Anup via Tipform



Source

No comments: