TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Grid-based window tiling for X11 with powerful keyboard controls

69 pointsby dbranesalmost 8 years ago

14 comments

emilsedghalmost 8 years ago
I have a workflow that I believe is far superior to all these window managers.<p>Quake-style terminals have always been popular. I used to use Yakuake on KDE which was very convenient.<p>The convenience its not that those terminals open up with an animation (which is quite annoying). It was because there was a dedicated keyboard shortcut for them. You memorized that and you never ever think about managing the window of that application again.<p>So for years I have keyboard shortcuts assigned to my applications.<p>F1 opens Browser<p>F2 opens File manager<p>F3 opens Text Editor<p>F4 opens Chat App (Telegram)<p>F6 opens Email client<p>F7 opens ICR Client<p>F9 opens Terminal<p>F10 opens Music Player (Although Spotify on Linux has a bug that doesn&#x27;t allow this to work)<p>Ever since I adopted this scheme I simply have a better quality of life during the time I&#x27;m using my computer. If there was a CPU usage for my brain, I&#x27;m sure its dropped. I strongly suggest you to try it out.<p>Because the shortcuts become muscle memory and you don&#x27;t even think about them anymore. You know what you want and your fingers just know how to open it up.<p>I&#x27;m not quite sure which window managers allow this, but I&#x27;m using KWin and it allows me to arrange these shortcuts.
评论 #14511370 未加载
评论 #14511573 未加载
评论 #14510914 未加载
评论 #14511173 未加载
评论 #14510923 未加载
评论 #14511158 未加载
评论 #14511532 未加载
评论 #14517471 未加载
osmalaalmost 8 years ago
Wow. This is amazing, perfect keybindings.<p>Lots of keys combined with Meta(alt)+Control key, the optimum keybinding for window manager, those two keys are always unused in user programs. Its really perfect for emacs, no-one has imagined to use those two keys with some random key, on any of emacs packages or modes.<p>Poor me have binded my windowmanager commands with Super(windows) + (what ever command key I use for it.
to3malmost 8 years ago
I use my align_window3 utility on Windows: <a href="https:&#x2F;&#x2F;github.com&#x2F;tom-seddon&#x2F;align_window3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tom-seddon&#x2F;align_window3</a><p>It divides the screen into halves and thirds horizontally and vertically, with one keypress setting size and position on one dimension. (The recommended key settings are vaguely mnemonic, but of course you can pick pretty much anything and then get used to it through practice.)<p>I can&#x27;t remember the last time I felt the need for a finer grid, but the 4x3 grid here has got me thinking that maybe it could do with an update...
pmoriartyalmost 8 years ago
What&#x27;s the advantage of this over a tiling window manager like i3?
评论 #14511138 未加载
lacampbellalmost 8 years ago
This is a pretty cool idea that would really help make use of huge monitors, without the hassle of dual monitors.<p>How much would would it be to let the user custom define their grid? Ie, it&#x27;s 4 * 3 by default, could we have 3 * 2 for laptop users?, or 4 * 2 for monitors turned sideways?
评论 #14511583 未加载
评论 #14511788 未加载
sillysaurus3almost 8 years ago
For OS X, I use Optimal Layout: <a href="http:&#x2F;&#x2F;most-advantageous.com&#x2F;optimal-layout&#x2F;" rel="nofollow">http:&#x2F;&#x2F;most-advantageous.com&#x2F;optimal-layout&#x2F;</a><p>Here&#x27;s a screenshot of it in action: <a href="http:&#x2F;&#x2F;i.imgur.com&#x2F;2N8czFR.jpg" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;2N8czFR.jpg</a> It took about five keystrokes to get the windows arranged like this. No mouse.<p>It&#x27;s a product which has gotten far too little love financially compared to the value it produces. It&#x27;s become an integral part of my OS X usage, and I can&#x27;t imagine spending a day without it.<p>I have it set up like this:<p>Alt-1: Stretch the current window as wide and tall as possible. (Fill all available space.)<p>Alt-2: Make the current window occupy the left-half of the screen. Press Alt-2 again to occupy the right half.<p>Alt-3: Make the current window occupy the top-half of the screen. Press Alt-3 again to occupy the bottom half.<p>Alt-4: Occupy the top-right quarter of the screen. Pressing Alt-4 multiple times moves the window clockwise: bottom-right, bottom-left, upper-left, upper-right.<p>Alt-5: Center the current window, fill all vertical space, and fill 75% of total horizontal space.<p>Alt-Tab: <a href="http:&#x2F;&#x2F;i.imgur.com&#x2F;SRFb16t.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;SRFb16t.png</a> Better version of Cmd-Tab. Pressing Alt-Tab once will go to the most recently active window. Twice goes to the second-most-recently active, and so on. Note that this is by <i>window</i>, not <i>application</i>. This alone is a massive improvement.<p>Alt-F: Search for a window whose title contains the specified string.<p>Remarkably, these hotkeys have never conflicted with any apps I use, and I&#x27;ve been using it for like two or three years.<p>The free version works just fine, but pops up a nag screen every day or so.<p>I wish it defaulted to these shortcuts, because it takes some work to set it up as I&#x27;ve described above. There&#x27;s also no easy way for me to export and share my configuration with you. But once you&#x27;ve set it up this way, you&#x27;ll never want to go back. OS X&#x27;s maximize button is very inconsistent and it&#x27;s remarkable that there&#x27;s no hotkey to make the current window fill all available space.
评论 #14511176 未加载
infinisilalmost 8 years ago
I believe it should be easy to integrate this into xmonad by creating a few functions for that, which is the real beauty of it. The xmonad-contrib package [1] is a collection of such extensions, this one could very much join them.<p>[1]: <a href="https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;xmonad-contrib" rel="nofollow">https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;xmonad-contrib</a>
adrianpikealmost 8 years ago
Every time I see something awesome like this I have to rethink my dedication to OS X. I might have to dual-boot my next laptop.
评论 #14511178 未加载
评论 #14510910 未加载
评论 #14510869 未加载
rufugeealmost 8 years ago
I&#x27;ve been using quicktile (<a href="https:&#x2F;&#x2F;github.com&#x2F;ssokolow&#x2F;quicktile" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ssokolow&#x2F;quicktile</a>) for years to add tiling to desktop environments which don&#x27;t provide it ootb. Also in python, and works very well.
评论 #14511498 未加载
mharrisonalmost 8 years ago
This is pretty cool. Is there anything similar for OSX? The corner specification would come in handy on 40inch 4K monitor<p>(Currently using Hammerspoon, but use qtile on Linux)
评论 #14510842 未加载
评论 #14511122 未加载
cyberjunkiealmost 8 years ago
Why isn&#x27;t there a good, non-bloated, free one for Windows?<p>I try to use Windows 10&#x27;s tiling, but it&#x27;ll only do 4 quadrants (with variable sizes)
评论 #14512133 未加载
评论 #14512153 未加载
_JamesA_almost 8 years ago
&gt; Merge branch &#x27;shit&#x27;
vorticoalmost 8 years ago
This is a great idea. But it seems like a job for C, since it&#x27;ll be running in the background all the time and will bind to Xlib. Shouldn&#x27;t be more than 200 lines of code, right? Someone should attempt this!
kapauldoalmost 8 years ago
This is awesome!