It takes me about 5 tries to resize a window on my computer.
Is there a way to increase the resize margin on the edge of windows?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityIt takes me about 5 tries to resize a window on my computer.
Is there a way to increase the resize margin on the edge of windows?
As others have mentioned, it depends on the theme. Try a few out. What I frequently do instead is hold down Alt and middle-click (right-click in some environments) and drag to resize, which works anywhere on the window.
Note that many themes that seem to have a 1px border (or no border at all) actually do tend to have a generous invisible border just outside the window. You usually don't have to pinpoint a tiny window border to resize.
To modify Ambiance to have a wider margin, open /usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml
and increase the values of the following properties:
<distance name="left_width" value="1"/>
<distance name="right_width" value="1"/>
<distance name="bottom_height" value="1"/>
You may want to back up the original file before modifying, and/or make a duplicate of the entire theme.
Note that you can also resize windows by pressing Alt + Button2.
There is also a default keyboard short-cut in gnome -- Alt-F8 -- that is a 'resize window' function.
ALT+F8
, release, choose border with arrow keys, use arrows to resize, ESC
to leave resize mode
May 18, 2012 at 19:58
The GNOME desktop environment is designed to give priority to usability and simplicity over customizability. Hence, the width of the window border is something that is not easily changeable. In all practical considerations, Jacob's recommendation that you use Alt+middle-click instead of dragging the window borders is likely to be the best solution for most users.
With that said, the size of the window border does vary between Metacity themes. As a first step, you might try picking a different theme from GNOME-Look.org.
If you're really determined to adjust just the window border without changing the rest of the theme, it is possible to modify existing themes. Here's a reference to get you started.
/apps/metacity/general/resize_with_right_button
in gconf-editor
. I've only seen a few graphics programs (Inkscape comes to mind) where this setting gets in the way.
The GNOME desktop environment is designed to give priority to usability and simplicity
, It is pretty ironic that having a 1 pixel "hot" area for resizing is not user friendly at all.
The thickness of the window border is set by the theme you are using.
So to make the window edges bigger try a different theme.
It looks like this will be fixed in Natty.
(This is from my answer to a duplicate question that was closed. )
It depends on the theme used. You could change your theme, or edit the theme if you really wanted to, but an easier and more consistent way is to hold down Alt and drag with the middle mouse button. You can imagine it as slicing the window into a 3x3 grid, and clicking in any rectangle but the center one will allow you to drag the appropriate side or corner.
Note that Alt + MiddleButton is the default configuration. To change it (at least in Compiz):
The last two settings are called Initiate Window Resize. One of them is the middle click option described above; the other is a similar keyboard binding that allows you to resize with the keyboard arrow keys (as well as the mouse without clicking).
(possibly more, pls add to comments)
Yes, those borders are a pain, bordering on –pun intended– masochism...
Well, ClearLooks is (for some reason) not really a "full theme" to pick on the Theme tab, but rather a "Border Theme" under „customize..“ on the Window Border Tab:
Well, never mind, let's create a copy (use rsync or cp as you please):
(If you are fond of another "border theme" then duplicate that one accordingly. Look it up under customize theme-> Window Border what you are currently using.)
sudo rsync -vr /usr/share/themes/ClearlooksRe/* /usr/share/themes/ClearlooksReBIGGER
sudo pluma /usr/share/themes/ClearlooksReBIGGER/metacity-1/metacity-theme-1.xml
There are actually two places:
<frame_geometry name="normal"...
<frame_geometry name="border"...
For left, right and bottom I went for a rather generous 12px:
<distance name="left_width" value="12"/> <!-- FRANK: was: 4 -->
<distance name="right_width" value="12"/>
<distance name="bottom_height" value="12"/>
3 pick the new Window Border theme and there you are
.../metacity-1/metacity-theme-1.xml
?
Jan 6, 2020 at 15:30
Alt+MiddleButton is the right way to resize windows; it's right are your hands, and you don't have to move the pointer to the window edges first.
However, I still find that the scroll overlay often gets in my hair. So I went for a different approach and disabled the overlays all together! Scroll still works, of course, and the nice orange scroll indicator is still present. On Ubuntu 13.04, I did it like this:
gsettings set com.canonical.desktop.interface scrollbar-mode 'overlay-touch'
You can revert it by doing:
gsettings set com.canonical.desktop.interface scrollbar-mode 'overlay-auto'
OK, to maximize the window the keyboard shortcut is ctrl+super+ up(on the keyboard) to minimize it is ctrl+super+down. To resize it is alt+ F8
I know this is an old question, but IMO none of the answers really solved this particular question, they just added workarounds.
The actual answer to this is what's described in this GitHub issue's comment, which is to manually edit a setting that isn't exposed in the GUI. (No, the Settings
> Windows
> Behavior
> Window drag/resize threshold (Pixels)
entry doesn't fix this, contrary to what 99% of users would think.)
TL;DR The "real" solution to this is:
dconf write /org/cinnamon/muffin/draggable-border-width 20
where 20
represents "20 px". The default is 10 px. Note that cinnamon
and/or muffin
would be replaced with whichever environment you're using. Should be somewhat easy to decipher which pertains to your system since all the other Settings > Windows fields would be listed inside it (i.e. running dconf list /org/env/windowsSettings/
would show the other Windows settings' fields).