TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Tiling Desktop Environment

147 点作者 wezm将近 6 年前

34 条评论

wyclif将近 6 年前
I&#x27;ve never understood why macOS has never included the functionality of, say, Divvy or chunkwm. I&#x27;d like to easily be able to tile my desktop via a keyboard command. Also, I&#x27;ve never quite understood what macOS people have against snapping the edges of windows to each other or the edge of the screen. Sometimes I want to divide the workspace into 3 or 4 windows and maximise my use of screen real estate. It&#x27;s trivial to do this on a Linux distro (i3, awesome, dwm, ratpoison, etc.) but you have to do some tweaking on macOS, why?<p>[EDIT: best explanation of why I&#x27;ve heard: it&#x27;s because the macOS design philosophy is that Apple knows best what size a window is supposed to be, while Linux and BSD are aligned with user-centric custom settings]
评论 #20074328 未加载
评论 #20073471 未加载
评论 #20073043 未加载
评论 #20073830 未加载
评论 #20074604 未加载
评论 #20076380 未加载
评论 #20073986 未加载
评论 #20074655 未加载
评论 #20073036 未加载
评论 #20073428 未加载
评论 #20075456 未加载
nickjj将近 6 年前
I use i3 on a Linux laptop, I really enjoy it.<p>Too bad nothing exists like that on Windows. Snapping or splitting 2 windows side by side (the Windows 10 snap feature) isn&#x27;t enough.<p>On the bright side most of the other features that you would use along side a tiling wm can be used in Windows, and it&#x27;s very good.<p>- AHK to manage global hotkeys and remapping keys<p>- Keypirinha to launch apps &#x2F; folder paths with fuzzy search<p>- DexPot to have multiple virtual desktops that supports moving windows across them (same key binds as i3)<p>I made a video about 6 months ago showing some of these tools in use at: <a href="https:&#x2F;&#x2F;nickjanetakis.com&#x2F;blog&#x2F;a-linux-dev-environment-on-windows-with-wsl-docker-tmux-and-vscode" rel="nofollow">https:&#x2F;&#x2F;nickjanetakis.com&#x2F;blog&#x2F;a-linux-dev-environment-on-wi...</a><p>Although I changed a couple of things since then, such as I use Vim instead of VSCode, but I still use the above tools every day. They are really solid.
评论 #20081868 未加载
评论 #20103213 未加载
评论 #20075412 未加载
评论 #20078847 未加载
评论 #20075464 未加载
git-pull将近 6 年前
Like the author, I&#x27;ve spent years in tiling WM&#x27;s (xmonad, awesome, dwm, i3). Right now I&#x27;m hanging around big DE&#x27;s like kde, gnome, windows 10, osx + magnet.<p>Windows 10 snapping keyboard keys are top tier. Not automated tiling, but save so much time. Also the GUI is beautiful on whatever screen you plug it into (including 4k). On Linux DE&#x27;s right now? Mint or gnome will show options to scale up 200%, 300%, 400%(!) Even 200% is far to much.<p>Tiling WM+HDPI doesn&#x27;t quite exist. Most use gtkrc, xresources, and the WM config to play with sizes. But that doesn&#x27;t translate across different monitors. So it&#x27;s a flawed system.<p>Let&#x27;s assume HDPI+linux and tiling WM&#x27;s were ironed out: In practice tiling WM&#x27;s aren&#x27;t as good because once you get into a terminal window, it&#x27;s not as easy as it looks to copy from terminals &lt;-&gt; &quot;gui&quot; applications. It&#x27;s possible, but the time spent ironing it out may not be worth the trade off for some. For instance I can&#x27;t rely on copying from a vim inside of tmux, I do :!leafpad % to open a file and copy from that.<p>As for HDPI and tiling WM&#x27;s, swaywm is an i3 for wayland that appears to support it: <a href="https:&#x2F;&#x2F;swaywm.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;swaywm.org&#x2F;</a><p>If you&#x27;re okay with just HDPI and basic snapping: <a href="https:&#x2F;&#x2F;system76.com&#x2F;pop" rel="nofollow">https:&#x2F;&#x2F;system76.com&#x2F;pop</a> or gnome 3.32 (that&#x27;d be ubuntu 19.04 or debian experimental at the moment I believe). Gnome 3.32 has fractional scaling. That&#x27;ll scale by 125%, 150%, 175% (probably what you want)<p>Gnome&#x27;s snapping isn&#x27;t a smooth as Window 10&#x27;s. Windows 10 is really good and half-sizing vertically. IMO: It&#x27;d be ideal if gnome 3 behaved the same as windows snap did by default. Extensions can help, but if you rely on them, they&#x27;re limited and often behind of the latest gnome version (or two or three, or become abandoned entirely [1]), and don&#x27;t wire-in to keybindings as well.<p>[1] <a href="https:&#x2F;&#x2F;extensions.gnome.org&#x2F;extension&#x2F;723&#x2F;pixel-saver&#x2F;" rel="nofollow">https:&#x2F;&#x2F;extensions.gnome.org&#x2F;extension&#x2F;723&#x2F;pixel-saver&#x2F;</a>
评论 #20077119 未加载
评论 #20075838 未加载
评论 #20074348 未加载
评论 #20073736 未加载
评论 #20076283 未加载
评论 #20074294 未加载
tluyben2将近 6 年前
I use i3 for battery friendly-ness; it gives me many hours (sometimes double if only doing dev) more on my Ubuntu machine. Vim as IDE (bunch of extensions, like OmniSharp for .NET Core dev) and so on. I have different systems for testing and trying things on like a Macbook, Windows 10 machine with VS etc, but nothing is quite as productive as my Linux setup and that is mostly because of i3&#x2F;vim. You have to practice the keyboard shortcuts, but that does not take a lot of time.<p>I give other environments a go once in a while but this wins so far.<p>One point to make; I do personally not like large and&#x2F;or external screens. I like small laptops and I move around a lot during the day.
评论 #20074565 未加载
furgooswft13将近 6 年前
I&#x27;m just here to shamelessly shill for Notion (not-ion), though it is probably the furthest tiling WM from this guy&#x27;s wants (ease of setting up shiny things). I swear there are still dozens of active users.<p>It&#x27;s tiling is like i3 except it uses manual layouts instead of dynamic. So when you create yet another xterm window it does not rearrange all the other tiles on your screen, it just creates a new tab in the current frame. If you want a new horizontal or vertical split, you create it explicitly. I open shells like browser tabs, so if the default was to somehow find screen space for each one, I&#x27;d be looking at hundreds of 2x2 sized xterms. Honestly if I could get i3 to behave like this I&#x27;d probably switch (and I&#x27;ve tried...I realize you can set a pane into tab mode, but I find it&#x27;s still too easy to totally mess up your layout if you are not careful in i3. Anyone got tips?).<p>I also once used Awesome, and the constant reshuffling of the screen layout drove me crazy. Did not really care for the fixed layouts either.
评论 #20073445 未加载
评论 #20074122 未加载
评论 #20073189 未加载
评论 #20073259 未加载
natecavanaugh将近 6 年前
I feel like a shill with how often I recommend it, but Keyboard Maestro [0] seems like it would handle almost everything, from window management to all sorts of system automation. The kinds of things I can execute with a key command is amazing. Sometimes, I&#x27;ll just write a quick task, like realigning titles across a set of Keynote slides or very specific text manipulation operations. Seriously, best money I&#x27;ve ever spent on software (if I had to go without any tool, from Sublime Text to Photoshop to Logic Pro X, KM would be the one I couldn&#x27;t live without, and other than Logic, I actually use the others day to day for work, and I&#x27;d still give them up to keep KM).<p>[0] <a href="http:&#x2F;&#x2F;keyboardmaestro.com" rel="nofollow">http:&#x2F;&#x2F;keyboardmaestro.com</a>
iforgotpassword将近 6 年前
I started out as a kid with DOS, somehow skipping win 3.11 and then pretty much everything from win 95 to XP. Then I started using Linux in parallel ca. 2003. Before that I only took a couple curious looks.<p>Started out with kde3, switched to gnome 2, and as those two evolved found myself longing for simpler and snappier solutions. Windows was evolving relatively slowly but even there you&#x27;d always lose one or two things every time you upgraded. On Linux this was much more radical. Not just the desktop but also the stuff under the hood.<p>Today I just prefer the minimal version of most things I use and do daily. i3 does the job for window management. Vim with as little plugins as possible for scripting and coding (as long as it&#x27;s not Java or c++ with qt). Since eventually my favorite plugin will stop working as it&#x27;s unmaintained, or the file manager will get an overhaul and look different and have all its keyboard shortcuts changed. The less stuff I depend on the better.
评论 #20075390 未加载
throwaway8879将近 6 年前
My primary dev machine has been running KDE and i3wm for a while. I feel like I get a complete GUI experience while having all the benefits of a tiling window manager.<p>The author likes Gnome because of it&#x27;s UI looking like Mac OS, and that&#x27;s understandable. KDE did look different when I first switched from Macs. But at this point, the only things running in my dev machine is a whole lot of terminals and maybe 1-3 browser instances. So KDE is almost hidden at all tkmes.
评论 #20072908 未加载
n1vz3r将近 6 年前
For those who want good sides of tiling DE but won&#x27;t want to install tiling WM, there is Openbox. If you aren&#x27;t afraid of editing configuration XML, you can assign hotkeys to place windows in quarters&#x2F;halves of the display or to jump them between displays. Also Openbox is very fast. It can be used in place of XFCEs or KDEs own WM, so nothing stops you from having benefits of full-fledged DE along with powerful WM. That being said, Openbox lacks shadows or transparency (so separate compositor like xcompmgr or compton is needed) and doesn&#x27;t render rounded corners. I use XFCE + Openbox combo at my workplace for 5 years now.
flurdy将近 6 年前
A tiling window manager is a must for me. But I (like the OP&#x27;s article mentions) prefer to use a standard desktop environment (Gnome or macOS) but add tiling feature only.<p>So, on my macOS laptops, it is Amethyst all day <a href="https:&#x2F;&#x2F;github.com&#x2F;ianyh&#x2F;Amethyst" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ianyh&#x2F;Amethyst</a>. Love it.<p>But on my Linux desktops, I am stuck with Gnome and not gone for full VM replacement with XMonad, i3 or Awesome.<p>I don&#x27;t want issues with disk mounting, clipboards, multiple monitors, etc just cause I want automated tiling and have to replace my whole desktop environment to achieve it.
评论 #20077921 未加载
thecrumb将近 6 年前
FYI Microsoft recently announced a new PowerToys for Win10 and are asking for features people would like to see and there is some support behind tiling. Vote if you are interested in seeing this in Windows.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;PowerToys&#x2F;issues?utf8=%E2%9C%93&amp;q=is%3Aissue+is%3Aopen+i3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;PowerToys&#x2F;issues?utf8=%E2%9C%93...</a>
Aelius将近 6 年前
All you linux veterans may cringe at it, but maybe check out my dotfiles. I have spent years cultivating a complete DE experience around dwm. It shouldn&#x27;t be too hard to drop in your wm of choice.<p>I have used it with HiDPI but only briefly, so that may still be imperfect.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;AeliusSaionji&#x2F;dotfiles" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;AeliusSaionji&#x2F;dotfiles</a>
评论 #20074315 未加载
abathologist将近 6 年前
I installed the [i3 edition of Manjaro](<a href="https:&#x2F;&#x2F;manjaro.org&#x2F;download&#x2F;i3&#x2F;" rel="nofollow">https:&#x2F;&#x2F;manjaro.org&#x2F;download&#x2F;i3&#x2F;</a>) last weekend. I was up and running with a beautiful environment providing <i>most</i> of the listed utilities in an hour or so. I have been incredibly happy with the setup.<p>The edition could still use some more love (e.g., I had to set up auto-mounting and HiDPI compatible configs myself), but it is remarkably cohesive and (relatively) easy to get going.<p>There is definitely room for improvement, but this is probably a good place to look or inspiration, and contributing to advance this work might be a good use of energy for those interested.
评论 #20073023 未加载
评论 #20073021 未加载
enygmata将近 6 年前
I&#x27;ve been using Awesome every day since 2009. The only things I change from the default on a new install is the terminal, the default layout and hide title bars.<p>The author mentions compositors, but if you don&#x27;t require fancy things like transparent windows or shadows, and you have a a well supported&#x2F;behaved GPU and monitor, you can probably do without them if all you care about is tearfree video. Drivers like intel, ati, amdgpu and more recently modesetting have a TearFree option that does just that. For some systems switching to a DRI3&#x2F;glamour setup is enough and as a last resort you can configure X11 and mesa to force vsync.
peatmoss将近 6 年前
Any more, what I feel I want is XFCE with Xmonad &#x2F; DWM style tiling that I don’t have to hack together.<p>I’m considering taking another look at KDE with the tiling KWin extension, since KDE seems to be the center of mass for innovation in 90s style WIMP interfaces.<p>EDIT: I’ll add that the GTK software world seems to be driving towards hamburger-ization, which makes me wonder how much software of the future will integrate cleanly with XFCE. I’m not sure that the Mint and XFCE people have enough mass to keep fighting the good fight forever.<p>KDE is starting to seem like a pragmatic long-term bet.
jamespo将近 6 年前
<a href="https:&#x2F;&#x2F;github.com&#x2F;timbertson&#x2F;shellshape" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timbertson&#x2F;shellshape</a> was a good tiling extension for Gnome. Sadly it&#x27;s no longer under active development &amp; doesn&#x27;t work on recent GNOME versions.<p>EDIT: but the author has developed the simpler <a href="https:&#x2F;&#x2F;github.com&#x2F;timbertson&#x2F;slinger" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timbertson&#x2F;slinger</a>
评论 #20074253 未加载
csb6将近 6 年前
I have been using <a href="https:&#x2F;&#x2F;github.com&#x2F;miromannino&#x2F;miro-windows-manager" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;miromannino&#x2F;miro-windows-manager</a> for several months now. It is a plugin for Hammersppoon on macOS that lets you resize and organize windows using the keyboard.<p>It’s worked really well for my set-up (can make windows fullscreen, take up 1&#x2F;2, 1&#x2F;3, 1&#x2F;4 of vertical or horizontal space of the screen).
评论 #20074109 未加载
tomcam将近 6 年前
No interest in trying it. As an old-timer I find this funny. Windows 1 had a superb tiling system. I disliked it. Reviewers complained for years. I wanted independent windows and never looked back when they appeared in Windows 3 or so.<p>As a guy who runs a company I can see a massive in benefit in a world with only tiling window managers, which is that it reduces support and accessibility issues when a window can never be completely hidden.
sam0x17将近 6 年前
I so agree with this, though I have a slightly different take. As someone who can&#x27;t part with my GUIs, I&#x27;m nevertheless super jealous of all the i3 folks.<p>As such, what I want is basically i3 in a gnome window. That for me would be the best of both worlds. I can do all my fancy i3 stuff but still have a crisp, efficient UI to get settings&#x2F;stuff done when it&#x27;s about ease of use, not speed.
评论 #20073671 未加载
评论 #20073048 未加载
评论 #20073075 未加载
评论 #20073461 未加载
评论 #20073069 未加载
INTPenis将近 6 年前
I know tiling DE followers have firm principles in my experience so please don&#x27;t take this the wrong way because everyone is different.<p>My personal experience is that I used a lot of tiling DE back when I had a laptop with 256M RAM.<p>Lately my last three laptops have had 8G and more of RAM so I don&#x27;t see the point.<p>Mainly because I use vim+tmux as an IDE. So I&#x27;m already using keyboard shortcuts extensively to quickly navigate through vim, vim tabs and tmux.<p>A tiling DE would add a third layer on top, that I don&#x27;t feel I need.<p>Sure I&#x27;m a Linux veteran who has been using keyboard shortcuts for 20 years but there are limits to how far I want to push this. And I feel that vim+tmux is my limit. My DE is vanilla Gnome Desktop on Fedora and I&#x27;m loving it. (obviously with animations disabled it feels as snappy as Sway or Awesome WM)<p>Edit: Just to expand; after hours of coding my brain can do vim+tmux keyboard shortcuts without thinking. The short breaks within that time where I switch to other windows would only disrupt my flow if I had to switch to a whole new set of shortcuts.
评论 #20076840 未加载
评论 #20074470 未加载
alskdj21将近 6 年前
This was also my experience. I was using i3 for a year but things still weren&#x27;t working the way I wanted it. Stumbled upon i3-gnome (<a href="https:&#x2F;&#x2F;github.com&#x2F;csxr&#x2F;i3-gnome" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;csxr&#x2F;i3-gnome</a>) and this maybe the current solution for this problem.
l0b0将近 6 年前
As a fellow Awesome WM user my &quot;solution&quot; to this is two Git repos - one to set up the system using Puppet, and one with user configuration such as rc.lua. I&#x27;ve got to basically the same list as OP plus<p>* low power warnings from cbatticon and<p>* very basic colour management &lt;<a href="https:&#x2F;&#x2F;gitlab.com&#x2F;victor-engmark&#x2F;tilde&#x2F;blob&#x2F;6a890f649dd481028ba34ed9ddce75a3d44b5be3&#x2F;.xprofile#L35-40&gt;" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;victor-engmark&#x2F;tilde&#x2F;blob&#x2F;6a890f649dd4810...</a>.<p>Building a proper DE around a decent tiling WM (or separating out the quality-of-life parts of KDE&#x2F;GNOME) would be fantastic.
评论 #20074274 未加载
madprops将近 6 年前
I&#x27;m working on some sort of tiling wm but for the web. It&#x27;s still pretty basic in terms of browsers, but already nice if you want to use it to display websites that don&#x27;t change often. It&#x27;s based on Electron. You can get it here <a href="https:&#x2F;&#x2F;github.com&#x2F;Merkoba&#x2F;Boneless" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Merkoba&#x2F;Boneless</a> -- Also there&#x27;s this video that shows a bit how it looks right now <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Rg_3_YoVlk8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Rg_3_YoVlk8</a>
iLemming将近 6 年前
check out this project <a href="https:&#x2F;&#x2F;github.com&#x2F;agzam&#x2F;spacehammer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;agzam&#x2F;spacehammer</a>. I wish something like Hammerspoon existed for Linux.
noodlesUK将近 6 年前
For me the right balance is installing i3 on a system with GNOME installed as well. I get all the GNOME apps working well together, but my window manager looks and works the way I want it to. The only issue is configuring some of the GNOME apps (GNOME Online Accounts), where I have to convince Control Center that it&#x27;s running under GNOME. Spawning the polkit agent and some of the other GNOME components works pretty well too. I just wish I could get the nice GNOME toolbar rather than my polybar (which I like, but took far too long to get working the way I wanted).
eclipseo76将近 6 年前
If you&#x27;re using KDE Plasma with KWin, try out <a href="https:&#x2F;&#x2F;github.com&#x2F;lingtjien&#x2F;Grid-Tiling-Kwin" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lingtjien&#x2F;Grid-Tiling-Kwin</a>
ebg13将近 6 年前
One of the features of Spectacle.app that I really like is its ability to overload the same key macro to cycle through multiple variations of splits. Like if you press the left-half macro multiple times, it cycles between left-half, left-two-thirds, left-third. That way I don&#x27;t need to assign or remember nearly so many key combinations.<p>Can any of the other macOS window controllers do that? Spectacle hasn&#x27;t been maintained in years and the bug reports are piling up.
kgilmer将近 6 年前
It&#x27;s not mentioned here so I&#x27;ll add it: gnome-flashback is the thing that you can use to integrate your window manager of choice w&#x2F; the gnome shell. I expect there to be integrations for other window managers, but if you&#x27;re using i3, then this is your bridge: <a href="https:&#x2F;&#x2F;github.com&#x2F;deuill&#x2F;i3-gnome-flashback" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;deuill&#x2F;i3-gnome-flashback</a>
drjesusphd将近 6 年前
I really like the Enlightenment desktop environment, but always fall off it because I can&#x27;t get the tiling working how I like. If the tiling is fixed to be consistent with Awesome&#x2F;i3&#x2F;dwm, Enlightentment would certainly be what this article calls for.
lightbulbjim将近 6 年前
This echoes my experience. After over a decade of dwm I switched to Gnome a few months ago and can’t see myself going back. I love the performance and window management aspects of dwm but I really like the cohesive desktop I get with Gnome.
rcarmo将近 6 年前
I use Moom on the Mac, Openbox on Linux, and the default Windows 10 tiling keys. Since I don’t like auto-tiling and prefer managing workspaces and tiles interactively, this works well for me, with consistent key bindings across platforms.
tarjei_huse将近 6 年前
A simple and quick solution to getting most of the items on the checklist working is to install i3-gnome:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;csxr&#x2F;i3-gnome" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;csxr&#x2F;i3-gnome</a>
emersion将近 6 年前
Regarding the HiDPI issue with dunst: you can try sway, Wayland works way better than xorg with HiDPI displays.<p>Disclaimer: I&#x27;m a sway dev.
astazangasta将近 6 年前
&gt;I want a desktop environment like GNOME but with more control over window management and more keyboard control.<p>So... KDE?
评论 #20072956 未加载