4

I want to toggle windows between:

horizontal maximized <-> horizontal unmaximized ALT+F7
vetical maximized <-> vertical unmaximized ALT+F6
(both) maximized <-> (both) unmaximized ALT+F5

I looked into ccsm but the maximization plugin doesn't work this way or I didn't figured it out.

Thanks for your suggestions.

2
  • can you explain what you mean by "horizontal maximized"? A window is either maximized or not...
    – fossfreedom
    Dec 9, 2011 at 23:28
  • 1
    horizontal maximizes only in x-direction, vertical only in y-direction. Where as normal maximization maximizes in both: x- and y-direction.
    – math
    Dec 10, 2011 at 9:26

3 Answers 3

3
+50

enter image description here

In the General Compiz Options - Keybindings are the toggle options you require.

Note - ALT+F5, ALT+F6 & ALT+F7 are generally bound to other functions -

CTRL+F5, CTRL+F6 and CTRL+F7 are good substitutes....

Warning: What are some of the issues with CCSM and why would I want to avoid it?

3
  • Thanks, that's what I've been looking for, except in general options :)
    – math
    Dec 10, 2011 at 12:06
  • Unfortunately the settings for toggling Horizontal/Vertical no longer seem to exist in 14.04. At least you can still maximize in each dimension, then Unmaximize using a different shortcut.
    – Lambart
    Jun 23, 2014 at 21:55
  • These settings no longer exist, but FYI there is a perfect, fully working solution. See Hal Canary's answer (currently bottom of page) Sep 23, 2017 at 1:30
1

It's not toggle but you can set horizontal/vertical maximization shortcuts in the System settings -> Keyboard -> Shortcuts -> Windows

4
  • Great, at least maximizing both directions is togglable, and horizontal maximization works in one way, and you can disable it when maximize and unmaximize afterwards. A bit complicated but best what I've found so far. I searched within ccsm but with no luck.
    – math
    Dec 10, 2011 at 9:31
  • This works in 13.10 too, but I'm still looking for a full-toggle solution without CCSM.
    – colan
    Nov 26, 2013 at 21:54
  • I've remapped ctrl-super-up to Maximize vertically, but it's still doing a full maximize :-/ Jul 22, 2015 at 19:59
  • There is a solution that also toggles. See Hal Canary's answer (currently bottom of page.) Sep 23, 2017 at 1:31
1
dconf write \
  /org/compiz/profiles/unity/plugins/core/toggle-window-maximized-vertically-key \
  "'<Alt>F6'"
dconf write \
  /org/compiz/profiles/unity/plugins/core/toggle-window-maximized-horizontally-key \
  "'<Alt>F7'"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .