Fretes Avelar - Fretes em Uberlândia

Navegue

    Rectangle App for Mac: Keyboard Window Tiling Without the Mouse

    Rectangle app App for Mac: Keyboard Window Tiling Without the Mouse

    Rectangle mac is a free, open-source window manager for macOS. Press a shortcut and the active window moves to the left half, a corner quarter, or a third of the screen; drag a window to a screen edge and it snaps into place. It runs on macOS 10.15 and later, on Intel and Apple Silicon, and the current release (v0.96 at the time of writing) is available from rectangleapp.com or the Rectangle app/releases”>GitHub releases page.

    If all you want is two windows side by side, macOS Sequoia and later can already do that from the keyboard. Rectangle earns its place when you want thirds, quarters, repeatable shortcuts you can rebind, or a way to move windows between displays without touching the trackpad.

    Install and grant Accessibility access

    Download the .dmg and drag Rectangle to Applications, or use Homebrew:

    brew install --cask rectangle

    On first launch, macOS asks for Accessibility permission. Enable Rectangle under System Settings > Privacy & Security > Accessibility. This is the only permission the app needs, and without it no window will move. Rectangle also asks whether you want its own default shortcuts or Spectacle’s legacy set; the tables below assume Rectangle’s defaults.

    Before changing anything, pick a browser window and choose Left Half from the menu bar icon. If the window moves, the permission is working and you can start learning shortcuts.

    Default keyboard shortcuts

    Every action uses Control + Option plus one key. All of them can be rebound in the Shortcuts tab of the preferences window.

    Action Shortcut
    Left half / Right half ⌃⌥← / ⌃⌥→
    Top half / Bottom half ⌃⌥↑ / ⌃⌥↓
    Maximize ⌃⌥↩
    Center ⌃⌥C
    Top-left / Top-right quarter ⌃⌥U / ⌃⌥I
    Bottom-left / Bottom-right quarter ⌃⌥J / ⌃⌥K
    First / Center / Last third ⌃⌥D / ⌃⌥F / ⌃⌥G
    First two thirds / Last two thirds ⌃⌥E / ⌃⌥T
    Next display / Previous display ⌃⌥⌘→ / ⌃⌥⌘←
    Make larger / Make smaller ⌃⌥= / ⌃⌥-
    Restore ⌃⌥⌫

    Two behaviors are worth knowing from the start. Repeating First Third cycles the window through first, center, and last third, so one shortcut covers all three columns. And Restore returns the window to the size and position it had before Rectangle last moved it; it applies to the active window only, not to every window you’ve arranged.

    Additional sizes that don’t have a default shortcut (fourths, sixths, ninths, “almost maximize,” “maximize height,” move-to-edge without resizing) live under the ellipsis button at the bottom of the General tab, where you can assign your own keys.

    Snap areas: drag-to-tile

    Drag a window to an edge and a translucent footprint shows where it will land when you release. The mapping is fixed:

    Drag to Result
    Left or right edge Left or right half
    Top edge Maximize
    Any corner Quarter in that corner
    Left or right edge, just above or below a corner Top or bottom half
    Bottom edge, left / center / right third That third
    Bottom-left or bottom-right third, then drag to bottom center First or last two thirds

    Snapping can be turned off in the preferences if you find yourself triggering it by accident. The README also notes that a small number of users see Notification Center freeze with snapping enabled; disabling “Snap windows by dragging” is the documented fix.

    A first layout: document plus reference

    Suggested workflow for a laptop screen:

    1. Click the document window to make it active, then press ⌃⌥←.
    2. Click the browser window, then press ⌃⌥→.

    Focus matters. If the document stays active while you press both shortcuts, it moves twice and the browser stays where it was.

    On a wider display, a 2/3 + 1/3 split usually reads better than halves: document on ⌃⌥E, reference on ⌃⌥G. Use the named placement for both windows. Pressing Make Larger on one window doesn’t shrink its neighbor, so growing the document from a half-screen layout will overlap the reference instead of producing a clean split.

    Working across two displays

    Next Display (⌃⌥⌘→) moves the active window to the adjacent monitor, scaling it to that display’s dimensions. Thirds respect orientation: on a portrait-mounted monitor, “first third” is the top third.

    There is also an option to let repeated Left Half or Right Half presses carry a window onto the next display once it’s already at the edge, which some people prefer over a separate display shortcut.

    One limit to know: Rectangle does not move windows between Spaces (virtual desktops). Apple has no public API for it. Rectangle Pro implements Next/Previous Space by simulating a title-bar drag plus the system Space shortcut, but the free app doesn’t include those actions.

    Ignore an app with conflicting shortcuts

    Some apps use Control + Option combinations themselves. Rather than remapping Rectangle, bring the conflicting app to the front, open the Rectangle menu, and choose Ignore app. While that app is frontmost, Rectangle’s shortcuts are unregistered from macOS; switch away and they come back. The same thing can be scripted:

    rectangle://execute-task?name=ignore-app&app-bundle-id=com.apple.Safari

    Trigger actions from scripts and launchers

    Any action can be run through a URL, which is how people wire Rectangle into Alfred, Raycast, Keyboard Maestro, or a Stream Deck:

    open -g "rectangle://execute-action?name=left-half"

    The full list of action names (including tile-all, cascade-all, reverse-all, and every fraction from halves to ninths) is in the project README.

    Hidden settings and where preferences live

    The preferences window is deliberately small. More options are set through defaults write commands documented in TerminalCommands.md, such as adding a gap between tiled windows. Restart Rectangle after changing one.

    Preferences are stored in ~/Library/Preferences/com.knollsoft.Rectangle.plist. The Settings tab has Export and Import buttons that write and read the same configuration as JSON. A file placed at ~/Library/Application Support/Rectangle/RectangleConfig.json is imported once at launch and then renamed with a timestamp; it is not a live config file. If you installed with Homebrew and settings don’t persist across restarts, the README’s fix is brew uninstall --zap rectangle followed by a reinstall.

    What macOS already does without Rectangle

    Since macOS Sequoia, Apple ships window tiling of its own: drag a window to a screen edge, use the Window > Move & Resize menu, or press documented shortcuts such as Fn-Control-Left Arrow and Fn-Control-Right Arrow for halves and Fn-Control-R to return a window to its previous size. The margin between tiled windows is a setting (“Tiled windows have margins” under System Settings > Desktop & Dock) and can be turned off.

    Try the native controls with your everyday apps first. If halves and quarters through the Window menu cover your work, there’s no reason to add a utility. Rectangle is the better fit when you want thirds and two-thirds from the keyboard, cycling through sizes on a repeated press, shortcuts you choose yourself, a per-app ignore list, or scriptable actions. This is a judgment about workflow, not a feature-count contest.

    Rectangle vs. Rectangle Pro

    Rectangle Pro is a separate, paid, closed-source app by the same developer, built on top of Rectangle. Its page advertises a “throw” gesture that sends a window to one of 16 positions from anywhere on it, custom sizes and positions, workspace layouts that apply with one shortcut or when a display connects, window stashing on screen edges, Next/Previous Space actions, and iCloud sync of settings. It offers a 10-day trial and requires macOS 13.5 or later; check the Pro page for current pricing.

    The practical test: if you rebuild the same editor-browser-terminal arrangement every time you dock a laptop, Pro’s workspace feature is designed for exactly that. If you mostly split two windows, the free app is enough.

    If a shortcut does nothing

    The README’s troubleshooting order, which reflects the causes the maintainer sees most often:

    1. Lock and unlock your Mac. This resolves a surprising share of failures, particularly after a macOS update.
    2. Restart the Mac if it still doesn’t work.
    3. Try the same action from the menu bar menu. If the menu works and the shortcut doesn’t, the problem is a shortcut conflict in the frontmost app.
    4. Quit any other window manager (Magnet, BetterSnapTool, yabai, and so on) while diagnosing.
    5. Reset the Accessibility permission: tccutil reset All com.knollsoft.Rectangle, or in System Settings disable Rectangle in the Accessibility list, remove it with the minus button, restart, and re-grant on launch. The order (disable, then remove) matters.

    For a problem confined to one app, look at that app first. The README calls out iTerm2, which resizes only in character-width increments by default; defaults write com.googlecode.iterm2 DisableWindowSizeSnap -integer 1 turns that off.

    To see what Rectangle is actually doing, hold Option while the menu is open and choose View Logging… (it replaces the About item). Each action prints the calculated rect and the resulting rect. If they match but the window didn’t land there, another app is interfering. Save the log if you open a GitHub issue.

    Uninstalling

    Quit Rectangle and move it to the Trash. To remove stored preferences as well:

    defaults delete com.knollsoft.Rectangle

    Homebrew users should run brew uninstall --zap rectangle so the plist is removed too.

    Gostou do artigo? Então compartilhe:

    Leia também

    Rectangleの最大化が本物のフルスクリーンと違う理由

    Rectangleの最大化が本物のフルスクリーンと違う理由 Rectangle macのissueトラッカーに実際に寄せられた具体的な報告(issue #1350)は、Rectangle macの最大化アクションを使った後に感じたユーザーの戸惑いを説明している。Optionを押しながら緑色のボタンをクリックすることで発動するmacOSネイティブのフルスクリーンとは違い、Rectangle appの最大化は、ネイティブのフルスクリーンのようにそれ以外をすべて完全に隠すのではなく、ウィンドウの裏にあったものがわずかに見える状態を残す。これはバグではなく、maximize window to fill screenの最大化が実際に何をするために設計されているかの直接的な結果であり、この違いを理解すれば、本当によくある戸惑いのポイントがすっきりする。 技術的なレベルで、2つの機能が実際何なのか macOSネイティブのフルスクリーン(緑色のボタンをOptionを押しながらクリックする、あるいは標準のクリック長押しメニュー)は、アプリを専用のスペース、つまりそのアプリ1つに割り当てられた独立した仮想デスクトップへと移動させ、メニューバーとDockを完全に隠す。これはウィンドウのサイズを変えているのではなく、macOSの視点から見て、そのウィンドウがそもそもどんな種類のオブジェクトなのかを変えているのだ。 keyboard window managementの最大化はまったく種類の異なることをしている。普通のウィンドウのサイズと位置を、利用可能な画面スペースいっぱいになるように調整しながらも、その間ずっと普通の、通常のウィンドウのままにしておく。つまり同じスペース、同じメニューバー、同じDockのまま、そのスペース内でできるだけ大きくサイズが変わるだけだ。これは見落としではなく、意図的な設計判断だ。Rectangleの他のアクション(復元、左半分、別のディスプレイへの移動)がその後もそのウィンドウに対して動作し続けるためには、ウィンドウが普通のサイズ変更可能なウィンドウのままである必要がある。もし最大化が実際にネイティブのフルスクリーンを発動させてしまったら、そのウィンドウはスペースになってしまい、Rectangleの他のショートカットはもう何一つそれに作用できなくなる。複数の位置にまたがる、速くてキーボードだけで完結するワークフローという前提全体が、ウィンドウが普通のウィンドウのままであることに依存しているのだ。 別のウィンドウがわずかに見えることがある理由 最大化は、画面全体を専用のスペースに置き換えるのではなく、利用可能な画面スペースの範囲内でサイズを調整するため、「利用可能な画面スペース」の計算そのものが重要になる。メニューバーの自動非表示設定、特定のディスプレイの使用可能領域の計算、あるいは(このシリーズの他の記事で扱っている理由により)隙間の設定が関わってくると、結果として最大化されたウィンドウが物理的な画面全体よりもわずかに小さくなり、裏にあるものの薄い端が露出することがある。これは、この話題を専門に扱ったトラブルシューティング記事で説明した上端の隙間の問題とは症状こそ異なるものの、根本原因は一致している。どちらも、特定の構成において、Rectangleが計算する利用可能領域が、端から端までの実際の画面寸法とわずかに異なることに由来しているのだ。 実際にはどちらを使うべきか どちらも客観的に優れているわけではなく、それぞれ異なる目的に応える。 ネイティブのフルスクリーンを使うべき場面: 1つのアプリに完全に、他に気を取られずに注意を向けたく、Dockとメニューバーを完全に視界から外したい、そしてその後すぐにそのウィンドウを半分や3分の1に切り替える必要がない場合。プレゼンテーション、動画再生、気が散らない環境での執筆などがよく当てはまる。 Rectangleの最大化を使うべき場面: ウィンドウをできるだけ大きくしつつ、別のショートカットで瞬時に半分・4分の1・3分の1にスナップし直したり、メニューバーをちらっと見て時刻やステータスアイコンを確認したり、復元を使って以前していたことに戻したりできる状態を保ちたい場合。1日を通してフル幅表示と画面分割を行き来するようなワークフローなら、最大化の方が相性が良い。ネイティブのフルスクリーンは、他の何かをするためにスペースから完全に抜け出す必要があるからだ。 Rectangleの操作体系から離れずに、ネイティブのフルスクリーンにもっと近いものが欲しい場合 ほぼ最大化(ショートカットのチートシートで扱っているように、Rectangleのより完全なアクション一覧から割り当てられる)は、デフォルトで画面のおよそ90%にリサイズする。端から端までの本当の最大化よりは小さいが、目に見える余白をあえて残すことで、今見ているものが最大化された普通のウィンドウなのか、独自のスペースを持つフルスクリーンアプリなのか、決して混乱しないようになっている。実際の目的が「できるだけ大きく、それでいて紛れもなく普通のウィンドウのまま」であるなら、ほぼ最大化のほうが単なる最大化よりも合っていると言えるだろう。まさに、見た目をフルスクリーンに似せようとまったくしていないからだ。

    Leia Mais
    © 2026 – Clínica Teraêutica TRG
    Todos os direitos reservados