在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):rxhanson/Rectangle开源软件地址(OpenSource Url):https://github.com/rxhanson/Rectangle开源编程语言(OpenSource Language):Swift 99.7%开源软件介绍(OpenSource Introduction):RectangleRectangle is a window management app based on Spectacle, written in Swift. System RequirementsRectangle supports macOS v10.11+. InstallationYou can download the latest dmg from https://rectangleapp.com or the Releases page. Or install with brew cask: brew install --cask rectangle How to use itThe keyboard shortcuts are self explanatory, but the snap areas can use some explanation if you've never used them on Windows or other window management apps. Drag a window to the edge of the screen. When the mouse cursor reaches the edge of the screen, you'll see a footprint that Rectangle will attempt to resize and move the window to when the click is released.
Ignore an app
Terminal Commands for Hidden PreferencesDifferences with Spectacle
Common Known IssuesRectangle doesn't have the ability to move to other desktops/spacesApple never released a public API for Spaces. Other apps that move windows between spaces use unsupported or undesirable ways to achieve this. If Apple decides to release a public API for it, I'll add it in. Window resizing is off slightly for iTerm2By default iTerm2 will only resize in increments of character widths. There might be a setting inside iTerm2 to disable this, but you can change it with the following command. defaults write com.googlecode.iterm2 DisableWindowSizeSnap -integer 1 Rectangle appears to cause Notification Center to freezeThis appears to affect only a small amount of users. To prevent this from happening, uncheck the box for "Snap windows by dragging". See issue 317. TroubleshootingIf windows aren't resizing or moving as you expect, here's some initial steps to get to the bottom of it. Most issues of this type have been caused by other apps.
View Debug Logging
Preferences StorageThe configuration for Rectangle is stored using NSUserDefaults, meaning it is stored in the following location:
That file can be backed up or transferred to other machines. If you are using Rectangle v0.44+, you can also use the import/export button in the Preferences pane to share to your preferences and keyboard shortcuts across machines using a JSON file. UninstallationRectangle can be uninstalled by moving it to the trash. Prior to moving it to the trash, you might want to uncheck the box for launching on login to unregister the launcher, but this is not necessary. You can remove the Rectangle defaults from your machine with the following terminal command: defaults delete com.knollsoft.Rectangle ContributingLogic from Rectangle is used in the Multitouch app. The Rectangle Pro app is entirely built on top of Rectangle. If you contribute significant code or localizations that get merged into Rectangle, you get a free license of Multitouch or Rectangle Pro. Contributors to Sparkle, MASShortcut, or Spectacle can also receive free Multitouch or Rectangle Pro licenses (just send me a direct message on Gitter). LocalizationIf you would like to contribute to localization, all of the translations are held in the Main.strings per language. If you would like to add a localization but one doesn't currently exist and you don't know how to create one, create an issue and a translation file can be initialized. Pull requests for new localizations or improvements on existing localizations are welcome. Running the app in Xcode (for developers)Rectangle uses CocoaPods to install Sparkle and MASShortcut.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论