ubuntu - Minimize/Maximize current window keyboard shortcut

23
2014-04
  • Ionică Bizău

    Are there any Keyboard Shortcuts for maximizing, minimizing and resizing the current window?

    I am on Ubuntu 13.04, Gnome-latest version.

  • Answers
  • Tiago Ƈ.

    Try that:

    Alt + F9 Minimize current window.

    Alt + F10 Maximize the current window.

    If you prefer to create custom shortcuts see this article.

    Edit:

    Go to: Applications > System Tools > System Settings > Keyboards > Shortcuts. Choose the Navigation option, then just add. Or:

    enter image description here

    enter image description here


  • Related Question

    osx - What keyboard shortcuts move, resize, and maximize windows under Mac OS X?
  • Philip Durbin

    I just checked http://en.wikipedia.org/wiki/Table%5Fof%5Fkeyboard%5Fshortcuts but the following "Window management" entries are blank for Mac OS X:

    • Move the focused window
    • Resize the focused window
    • Maximize the focused window

    Are there really no built in keyboard shortcuts for these in OS X? I do this stuff all the time with GNOME under Linux.


  • Related Answers
  • John Gallagher

    Personally, I prefer Size Up - it has a huge array of options for auto resizing with a single keypress including quarter screen, maximise and moving windows between monitors and even Spaces.

    http://www.irradiatedsoftware.com/sizeup/

  • Bobby B

    Following along with the idea of windowflow - check out it's parent project Optimal Layout. I tried sizeup for a while and was actually trying to find a replacement for it when I found Optimal Layout.

    It is by far the best OSX keyboard based window manipulation app I've seen yet! Rocks...

    http://most-advantageous.com/optimal-layout/

  • alexoviedo999

    If you consider yourself a "hacker" you may consider Slate. Slate is like Bettertouch or Sizeup on steroids. Here is the github repo.

    There is a learning curve but it is very powerful and customizable. There is a great write-up on how to set up and use it.

  • Philip Durbin

    Spectacle hasn't been mentioned yet. "Move and resize your windows with ease." -- http://spectacleapp.com

    It's open source: https://github.com/eczarny/spectacle

  • Russell Davis

    I've tried the other third party apps here and have found Moom to be the best:

    http://manytricks.com/moom/

  • Indrek

    See the following AppleScript for the popular (and free) Mac OS X keyboard/mouse shortcut program QuickSilver that will get you a keyboard shortcut for the green zoom button. When you install that and use it with Quicksilver, you'll be able to customize your keyboard shortcut.

    tell application "System Events"
        if UI elements enabled then
            set FrontApplication to (get name of every process whose frontmost is true) as string
            tell process FrontApplication
                click button 2 of window 1
                --button 2 is the green "zoom" button for all applications
                --window 1 is always the frontmost window.
            end tell
        else
            tell application "System Preferences"
                activate
                set current pane to pane "com.apple.preference.universalaccess"
                display dialog "UI element scripting is not enabled. Check 'Enable access for assistive devices'"
            end tell
        end if
    end tell
    

    Source: http://snippets.dzone.com/posts/show/1026

  • Graham Perrin

    SizeWell

    Features and ease of use are combined in a way that I can't find in any alternative software.

    I use it with Mountain Lion.

    Downside

    SIMBL (required by SizeWell) is not recently updated.

  • Tobias Patton

    I haven't tested in other versions, but in OS X 10.9 (Mavericks), you can use the Voice Over Utility to move and resize windows.

    1. Enable Voice Over in the Accessibility control panel.
    2. Click "Open Voice Over Uitlity"
    3. Click "Commanders" in the left panel.
    4. Select "keyboard"
    5. Select "enable keyboard commander"
    6. Add a new commander.
    7. Specify any keyboard key not already in use.
    8. Choose the command: Size and Position -> Start Moving Window
    9. Select with window to be moved
    10. Hold down the right option key, and press the key selected in 7.
    11. Move the window with the cursor keys.