Disable resize gripper in windows?
It is possible to resize grippers or hide them by setting width and height to a zero. Put the following into ~/.gtkrc-2.0
:
style "default-style"
{
GtkWindow::resize-grip-height = 0
GtkWindow::resize-grip-width = 0
}
class "GtkWidget" style "default-style"
or add this strings in "default" style body of /usr/share/themes//gtk-2.0/gtkrc:
GtkWindow::resize-grip-height = 0
GtkWindow::resize-grip-width = 0
You can make the grippers off by default by recompiling gtk+2 and gtk+3:
sudo apt-get build-dep libgtk2.0-0 libgtk3.0-0
sudo apt-get install quilt
apt-get source libgtk2.0-0 libgtk3.0-0
export QUILT_PATCHES=debian/patches
cd gtk+2*
quilt new 999_remove_grips.patch
quilt edit gtk/gtkwindow.c
Find the line of code:
priv->has_resize_grip = TRUE;
Change TRUE to FALSE
quilt refresh
fakeroot dpkg-buildpackage
cd ../gtk+3*
quilt new 999_remove_grips.patch
quilt edit gtk/gtkwindow.c
Find the line of code:
priv->has_resize_grip = TRUE;
Change TRUE to FALSE
quilt refresh
fakeroot dpkg-buildpackage
Install the resulting deb packages and reboot.
(Of course, you'll have to do this every time there is an update for gtk)
As a user, this isn't possible. Since it would require you to manually modify the source of an application and include the below line:
gtk_window_set_has_resize_grip(window, false);
This feature was backported from GTK3 and hence the developer docs for it are on this page.
As long as you are having no problems with the grips, it's best to leave them there as they serve a very important purpose: making it easier to resize windows.
This may be possible by editing the gtkrc theme files as I found a post on Deviantart that mentions using pixmap engine and a transparent png.
I tried a quick edit but couldn't get it to work however someone with more knowledge of themes might be more successful.
I found this to be the easiest way: http://www.omgubuntu.co.uk/2011/05/disable-the-resize-grip-in-ubuntu-11-04/