5

I'm using the Radiance theme (I think it's installed by default on Ubuntu) but since the update to Ubuntu 16.04 I can't resize gedit's window with the mouse. It works if I select a different theme in System Settings -> Themes in Cinnamon.

3 Answers3

1

There are other methods, how to resize window, when the default method is broken.


1.

Right click on top panel and choose "Resize". Then resize window how you want.


2.

The second better method is keyboard shortcut Alt + Middle mouse button (wheel).

Hold down the Alt key and press and hold the middle mouse button.


I think that the second method is more comfortable then resizing through the window edges.

BlueManCZ
  • 613
1

Add these two lines to the bottom of the /usr/share/themes/Ambiance/gtk-3.0/gtk-main.css file:

@import url("apps/xfce.css"); @import url("apps/gtk3-window-deco.css");

Download and copy these two files from the "Ambiance-Crunchy" theme.

Dave T
  • 11
0

Ubuntu 16.04

Finally, I found it. I was suspicious about its edges, other GTK3 applications have a thin solid border (1px) with correct external shadow decoration.

  • Add

    GeditWindow {
        margin: 5px;
    }
    

    to the top of

    /usr/share/themes/Radiance/gtk-3.0/apps/gedit.css
    /usr/share/themes/Ambiance/gtk-3.0/apps/gedit.css
    

I expect this fix to work with other GTK3 app (with HeaderBar) facing same issue.

user.dz
  • 49,176