Tmux is a well-written terminal multiplexer. It allows access to multiple separate terminal sessions inside a single terminal window or remote terminal session. It can do quite a lot when advanced configurations are taken into account. Here Gregory Pakosz' explains his pretty and versatile tmux status bar modifications line by line. His modifications look great and just work, combining form and function.
https://github.com/gpakosz/.tmux/blob/master/README.md
(Score: 3, Interesting) by Subsentient on Friday May 11 2018, @07:21AM (15 children)
"It is no measure of health to be well adjusted to a profoundly sick society." -Jiddu Krishnamurti
(Score: 3, Insightful) by RamiK on Friday May 11 2018, @09:48AM (2 children)
i3 [i3wm.org] solves the problem at the root cause. Though admittedly, you'd still want lxde (for lxappearance) and/or xfce around to adjust GTK themes and fix the odd glitch in some apps just in case. But I honestly haven't touched those in years...
compiling...
(Score: 1, Interesting) by Anonymous Coward on Friday May 11 2018, @11:08AM
at some point I was looking into this, but ended up using plasma (I still think of it as kde, but whatever), with multiple separate terminator windows that I tile using "xdotool" from inside the terminal.
I wrote a little script which takes desired grid shape/position as parameters, and then applies them to the current window.
once the terminals are in place, I can resize everything else with "snap" functionality.
this works beautifully on my 3840x2160 display.
(Score: 2) by JNCF on Friday May 11 2018, @04:43PM
i3 locally, tmux remotely, vim either way. Tiles in tiles in tiles, dawg.
(Score: 2) by DannyB on Friday May 11 2018, @02:41PM (11 children)
tmux (or screen) are what you want when you SSH into a system that doesn't have any GUI.
Yes, such "headless" Linux configurations actually do exist. Both on Cloud Servers (VPS), and on headless Raspberry PIs.
Otherwise, Terminator sounds like a nice GUI program. But in a GUI, I've never needed anything more than multiple tabs in a terminal emulator.
Here is something that should be obvious, but seems to have escaped the attention of enough people to surprise me. A remote headless system with SSH allows you not only to get a multiplexed command line interface, but also to remotely view and manipulate its file system! Yes, really. SSH allows you to remotely manipulate the file system. You can use FileZilla on any platform. Or any SFTP type program (like on a Mac). Or WinSCP on a Windows. On any Linux desktop your typical File Manager can accept a URL like:
sftp://danny@somewhere.com/home/danny/foobar/fop
(where "fop" is "failure oriented programming")
If you need to do heavy-duty editing, more than you would do in VIM, then simply drag-drop the file to your desktop, edit it in favorite Whizbang IDE, and drag it back. Pretty simple.
If your boy is chewing on electrical cords, then ground him until he conducts himself properly.
(Score: 2) by Subsentient on Friday May 11 2018, @04:45PM
"It is no measure of health to be well adjusted to a profoundly sick society." -Jiddu Krishnamurti
(Score: 2) by Subsentient on Friday May 11 2018, @04:48PM (5 children)
"It is no measure of health to be well adjusted to a profoundly sick society." -Jiddu Krishnamurti
(Score: 2) by DannyB on Friday May 11 2018, @07:31PM (2 children)
I've never tried it.
With PIs, they might get rebooted a lot.
With a VPS, it might be worth a try.
If your boy is chewing on electrical cords, then ground him until he conducts himself properly.
(Score: 2) by Subsentient on Saturday May 12 2018, @05:49AM (1 child)
"It is no measure of health to be well adjusted to a profoundly sick society." -Jiddu Krishnamurti
(Score: 2) by DannyB on Monday May 14 2018, @03:46PM
I'll have to check that out. Thank you.
Even better is if it could reconnect when the "client" has a roving IP address. (Moving between WiFi and cellular networks.)
If your boy is chewing on electrical cords, then ground him until he conducts himself properly.
(Score: 2) by DannyB on Friday May 11 2018, @07:35PM
I'm not saying YOU weren't aware of what I pointed out, but I am surprised at people that don't realize that -- hey I've got a GUI at MY end. GUIs are a wonderful productivity invention (decades ago) that are to be embraced. But still there are systems that are (and probably should be) GUI-less. (Hear that Microsoft?)
If your boy is chewing on electrical cords, then ground him until he conducts himself properly.
(Score: 2) by Nerdfest on Friday May 11 2018, @07:40PM
I fucking love SSHFS. Mounting remote machines as file systems is extremely handy, and adds to the "defense in depth" approach.
(Score: 3, Interesting) by TheRaven on Friday May 11 2018, @05:11PM (3 children)
I don't care if the remote system doesn't have a GUI, my local one does. My terminal emulator sets a UUID in an environment variable, so I use a small script to ssh to remote systems that sets up a tmux session at the remote end with that name and uses autossh. If I move between networks, or reboot my local machine (or just restart the terminal program) then all of my connections are restored.
I would love to have something that does less than tmux. It's always an uphill struggle to convince tmux that I don't want it to take over from my terminal emulator (for example, I need something in my tmux config to say 'hey, you're running in a terminal that supports unicode characters, which you could tell if you weren't stupid, just pass through UTF-8 characters from the remote system to my terminal'). I want something that creates a tty on the target system, buffers input whenever I'm not connected, sends it all when I am, and does nothing else. My local terminal has scrollback. My local terminal has the ability to create multiple windows and tabs. My local terminal has selection and copy-and-paste. My local terminal does all of the things that tmux tries to do, better than tmux does most of them.
sudo mod me up
(Score: 2) by DannyB on Friday May 11 2018, @07:33PM
What I would love is something like SSH that allows the "client" end to have a roving IP address. Like a mobile phone or Pixelbook that may be on various WiFi's, or cellular IP addresses.
I looked at Mosh, but I don't think it does everything SSH does.
If your boy is chewing on electrical cords, then ground him until he conducts himself properly.
(Score: 0) by Anonymous Coward on Friday May 11 2018, @08:32PM (1 child)
abduco is what you want. I only use tmux on my OpenBSD machine because it's in base (and even there only in my urxvt-kuake script because tiling+virtual desktops mean I can just open another terminal, no need for tabs and all that), for everything else I use abduco.
(Score: 2) by TheRaven on Sunday May 13 2018, @07:42AM
sudo mod me up