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: Cockpit – create tmux panes and windows with ease

125 pointsby jaisonjustusover 7 years ago

16 comments

caternover 7 years ago
It's quite an indictment of the current state of our tooling (not just tmux) that such an application as this is necessary. Why isn't it easy to configure this in tmux itself, and persist the resulting configuration?
评论 #15437046 未加载
评论 #15438551 未加载
评论 #15436277 未加载
评论 #15435970 未加载
评论 #15436171 未加载
_ixover 7 years ago
This looks really nice!<p>It&#x27;s not for me, though. Maybe I&#x27;m not a very good systems engineer, but I&#x27;ve got a decent .tmux.conf. Between writing automation and trying to make sense of the mess I&#x27;ve inherited, I&#x27;m constantly splitting, resizing, and re-adjusting my work space to suit the task at hand.
评论 #15438729 未加载
评论 #15439632 未加载
评论 #15438775 未加载
joshuamcginnisover 7 years ago
Neat. I personally use <a href="https:&#x2F;&#x2F;github.com&#x2F;tmuxinator&#x2F;tmuxinator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tmuxinator&#x2F;tmuxinator</a> for this.
评论 #15436525 未加载
评论 #15437164 未加载
评论 #15437127 未加载
mmahemoffover 7 years ago
Nice tool. I suggest showing the script beside the window so it can easily be cut-and-pasted. Browser downloading is a hassle especially with tmux on a remote server.
评论 #15439690 未加载
vhodgesover 7 years ago
I was using tmuxinator for this, but found that all of my sessions were essentially the same thing except for the name and the working directory.<p>So I just wrote a shell script that takes a directory, using basename for the session name, starting up what ever windows and panes it needs to. I have two variants, one for generic dev stuff (shell and an editor) and the other is for rails work (shell, editor, logs, rails db and a rails c in the last window).<p><a href="https:&#x2F;&#x2F;github.com&#x2F;vhodges&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;utils&#x2F;bin&#x2F;tmux-dev" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vhodges&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;utils&#x2F;bin&#x2F;tm...</a> or <a href="https:&#x2F;&#x2F;github.com&#x2F;vhodges&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;utils&#x2F;bin&#x2F;tmux-rails" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vhodges&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;utils&#x2F;bin&#x2F;tm...</a>
spinningarrowover 7 years ago
Nice work. I’ve been using teamocil (<a href="https:&#x2F;&#x2F;github.com&#x2F;remiprev&#x2F;teamocil" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;remiprev&#x2F;teamocil</a>) so far (which is doubly nice because its configs can be used with plain iterm via itermocil) but will take a look at this too!
recentdarknessover 7 years ago
Please try to use a different name this clashes quite with <a href="http:&#x2F;&#x2F;cockpit-project.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;cockpit-project.org&#x2F;</a><p>But otherwise it’s a nice tool
评论 #15439918 未加载
tux1968over 7 years ago
How do you create 3 equal sized horizontal windows with Cockpit?
评论 #15439955 未加载
snarainover 7 years ago
Great job, this is something that I&#x27;d definitely use - especially when I can&#x27;t be bothered with installing extra gems.
anilgulechaover 7 years ago
I use tmuxomatic, which is very simple to use with it&#x27;s visual layout. Works really well.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;oxidane&#x2F;tmuxomatic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;oxidane&#x2F;tmuxomatic</a>
timvdalenover 7 years ago
Nice application!<p>I found a small bug: When you have an edit field open and try to open another one (command&#x2F;session name&#x2F;window name), the second one will just be cleared to blank.
评论 #15449344 未加载
oso2kover 7 years ago
This is awesome. Side note, you may want to rename your project to avoid a clash with kubernetes&#x27; cockpit UI for kubernetes cluster monitoring.
评论 #15439975 未加载
humanfromearthover 7 years ago
There is a bug when you close windows (the round yellow thing remains). Also can you name the windows?
评论 #15440276 未加载
评论 #15439647 未加载
muxatorover 7 years ago
The layout seems to be broken on Firefox for Android. The pane with the demo fully covers the text
评论 #15439672 未加载
rudedoggover 7 years ago
I thought about building something like this every time I messed with tmuxinator layouts. Nice!
评论 #15437006 未加载
Willson50over 7 years ago
What I want is iTerm2 hotkeys for tmux so I don&#x27;t have to remember both.
评论 #15438009 未加载