To preface this, I’ve used Linux from the CLI for the better part of 15 years. I’m a software engineer and my personal projects are almost always something that runs in a Linux VM or a Docker container somewhere, but I’ve always used a Mac to work on personal and professional projects. I have a Windows desktop that I use exclusively for gaming and my personal Macbook is finally giving out after about 10 years, so I’m trying out Linux Mint with Cinnamon on my desktop.
So far, it works shockingly well and I absolutely love being able to reach for a real Linux shell anytime I want, with no weird quirks from MacOS or WSL. The fact that Steam works at all on a Linux environment is still a little magical to me.
There are a couple things I really miss from MacOS and Rectangle is one of them. I’ve spent a couple hours searching and trying out various solutions, but none of them do the specific thing Rectangle did for me. You input something like ctrl+cmd+right
and Rectangle fits your current window to the top right quadrant of your screen.
Before I dive into the weeds and make my own Cinnamon Spice, I figured I should just ask: is there an app/extension that functions like Rectangle for Linux? Here’s the things I can say do not work:
- Muffin hotkeys: Muffin only supports moving tiles, not absolutely positioning them. You can kind of mimic Rectangle behavior, but only with multiple keystrokes to move the windows around on the grid.
- gTile: This is a Cinnamon Spice that I’m pretty sure has the bones of what I want in it, but the UI is the opposite of what I want.
- gSnap: Very similar to gTile, but for Gnome. The UI for it is actually quite a bit worse, IMO; you are expected to use a mouse to drag windows.
- zentile: On top of this only working for XFCE, it doesn’t actually let me position windows with a keystroke
To be super clear: Rectangle is explicitly not a tiling window manager. It lets you set hotkeys to move/resize windows, it does not reflow your entire screen to a grid. There are a dozen tiling tools/window manager out there I’ve found and I’ve begun to think the Linux community has a weird preoccupation with them. Like, they’re cool and all, but all I want is to move the current window to specific areas of my screen with a single keystroke. I don’t need every window squished into frame at once or some weird artsy layout.
It’s funny. I have been forced to use macOS because of work, and I use rectangle to mimic what KDE plasma does out of the box. I’d suggest using KDE if you wanted something powerfully customizable and user friendly. If you find something that works with other windows decorations (non-KDE), I’d love to know about them too for when I inevitably switch back to Linux Desktop!
Yeah. I was forced to use Mac too. Rectangle didn’t really help much. After a few months I convinced them to buy me a System76. I needed tiling.
Asahi Linux is shaping up nicely. I’ll probably install that soon. 👀
How did you manage that? Those laptops are nice but fairly expensive
Have you seen the cost of a MacBook Pro? I doubt a system76 is actually much more expensive. May even be cheaper. Though to be honest Asahi is probably good enough now for coding work.
Fair point I honestly don’t understand the Apple tax
The laptop was $4700. I’m doing machine learning stuff, I needed the gpu. If the laptop make me 10% faster, they make their money back pretty quickly.at least that’s the reason they gave me when they agreed.
At least you’re not forced to use windows
True that. Small victories 🥲
Forced?