0

Here How do I increase the resize margin on windows? it says to edit in /usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml the properties

<distance name="left_width" value="1"/>
<distance name="right_width" value="1"/>
<distance name="bottom_height" value="1"/>

Well, there are three frames with those properties, and the default values are:

<frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
  <distance name="left_width" value="1"/>
  <distance name="right_width" value="1"/>
  <distance name="bottom_height" value="1"/>
</frame_geometry>

<frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
  <distance name="left_width" value="0"/>
  <distance name="right_width" value="0"/>
  <distance name="bottom_height" value="0"/>
</frame_geometry>

<frame_geometry name="border" has_title="false">
  <distance name="left_width" value="3"/>
  <distance name="right_width" value="3"/>
  <distance name="bottom_height" value="3"/>
</frame_geometry>

I have already altered all three to ridiculous values to no visible effect:

<frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
  <distance name="left_width" value="100"/>
  <distance name="right_width" value="100"/>
  <distance name="bottom_height" value="100"/>
</frame_geometry>

<frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
  <distance name="left_width" value="100"/>
  <distance name="right_width" value="100"/>
  <distance name="bottom_height" value="100"/>
</frame_geometry>

<frame_geometry name="border" has_title="false">
  <distance name="left_width" value="200"/>
  <distance name="right_width" value="200"/>
  <distance name="bottom_height" value="200"/>
</frame_geometry>

and have rebooted between changes.

What am I missing? (and how to effect changes without rebooting?)

WurmD
  • 111
  • 4

1 Answers1

0

You will need to edit /usr/share/themes/Ambiance/gtk-3.0/apps/unity.css file. Find -UnityDecoration-input-extents line and change 10px to something larger.

If you have gtk-3.20 folder then you need to edit /usr/share/themes/Ambiance/gtk-3.20/apps/unity.css file. In case you update your ubuntu version.

muktupavels
  • 1,374