Never understood why tmux had to be different and use ctrl+b when ctrl+a is already standard and much, much better.
Tmux Tutorial
111–120 of 166 posts
Re: Tmux Tutorial
#112Re: Tmux Tutorial
#113Re: Tmux Tutorial
#114I have been using screen for almost 10 years now, is it worth switching? I know it's not much learning but why switching when screen is not broken? It feels like there's more important stuff I can learn.
Re: Tmux Tutorial
#115Earlier quoted context omitted.
I often run screen sessions inside tmux if I need to ssh to remote machines. tmux is beautiful and I say that as a screen veteran.
> I often run screen sessions inside tmux if I need to ssh to remote machines What possible reason can there be?
Re: Tmux Tutorial
#116I have been using screen for almost 10 years now, is it worth switching? I know it's not much learning but why switching when screen is not broken? It feels like there's more important stuff I can learn.
Another option would be to split screen's roles of "terminal multiplexer" and "terminal detacher" into two programs: dvtm and abduco, respectively. I find that approach more flexible than screen/tmux, and it works better spanning work environments where I might or might not have tabs and splits built in to my window manager or terminal emulator. It's also nice to not have to give up C-a or C-b keybindings when I don'…
Re: Tmux Tutorial
#117Am I the only one using screen? Couldn't switch to tmux since most of what i need is in screen.
Can we do vertical splits in screen without having to install additional plugins? How?
Re: Tmux Tutorial
#118What's a good way to handle ssh and tmux, if I'm already in a tmux session in my desktop? I'm in a tmux session in my desktop. Then I ssh into a server from within tmux. I want to start tmux to be able multiplex and detach from some tasks. What do?
Re: Tmux Tutorial
#119I used PM2[1] as process manager for Node.js, Python services in the cloud servers. It did its job well, apart from ensuring that process is always up, it provided monitoring capabilities(incl. emails), capturing logs from the stdout among other things. Recently I wanted to manage a Golang service, found that PM2 is not stable for it yet and I didn't want to install Node.js just for managing the Golang service; so us…
Tmux won't restart the service when it fails. It won't start the service when the machine reboots (or even if someone deliberately reboots the machine and forgets about the service). Assuming you're on a modern Linux distribution, it's pretty easy creating a systemd service file which will make it easier to manage the service.
For restarting the service, systemd is the way to go.
Re: Tmux Tutorial
#120I tried to use tmux as a terminal multiplexer on sway just so I could make it remember a setup of terminals for specific projects. That way I could simply do `tmux-command start project-name` and have it automatically open a setup of windows and panes. Though I found it unfortunate that I had to learn new shortcuts that are different for shortcuts elsewhere. A simple example but which was a deal breaker was in order…