0

Solution:

  1. If you're on standard Unity which uses Compiz for 3D compositing, use compizconfig-settings-manager. See WeAreGeek's answer below.

  2. If you're on Unity 2D, as I am, then wmctrl is the only way, per user55822's answer. apt-get wmctrl gconf-editor, open gconf-editor, navigate to apps \ metacity \ keybinding_commands, bind user55822's command string to command_1, then navigate to apps \ metacity \ global_keybindings, and set run_command_1 to the key combination you want to use. Details here.


Some dialog windows are too small and I have to painstakingly drag the corners to make them big enough to be useful (looking at you Chrome/ium bookmark dialog). Is there any way to maximize these with a shortcut key, mouse is too slow.

I found a related discussion but the solution is already implemented in my Ubuntu 12.04 installation and doesn't have any effect on dialog windows.

Edit: Clarification on the specific window I'm talking about: In Chrome/ium, hit CTRL-d. It will bring up an Add Bookmark dialog with a "Folder:" dropdown menu. Scroll that menu down, all the way to the last selection "Choose Another Folder". That will close this menu and open a new one, "Edit Bookmark", which is detached from the browser. That's the main one I want to maximize but can't.

bgibson
  • 5,037

4 Answers4

1

Press ALT and pull the window with your middle mouse click while holding both.

thonixx
  • 882
1

Try Ctrl+Alt+5

(I don't know if this will work on the particular windows/dialogs you're talking about.)

8128
  • 28,868
1

Not sure about your windows, seems like I just dont have any like it, but you could try wmctrl (need to be installed) and bind something like

wmctrl -r :ACTIVE: -e 0,500,400,0,10

man wmctrl for options.

user55822
  • 3,245
1

I have resolved this by installing compizconfig-settings-manager and enabling the "Window Rules" plugin. You can make a rule "type=Dialog" for "Maximize". Now all Dialog windows are opened maximized. You could also make a "Size Rule" to have dialoges opened at a fixed size.

I found a bugreport for this: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/774254

WeAreGeek
  • 11
  • 1