applications:terminals:tmux:notes
Differences
This shows you the differences between two versions of the page.
| applications:terminals:tmux:notes [2021/01/10 02:37] – Created with headline "Open tmux with several windows with applications". bas | applications:terminals:tmux:notes [2026/09/20 12:00] (current) – Added the headline "Start tmux with several windows with commands by default". bas | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | |||
| + | =====Start tmux with several windows with commands by default===== | ||
| + | |||
| + | Store the below in your ~/ | ||
| + | |||
| + | < | ||
| + | # Override the default-client-command to ' | ||
| + | # default-client-command does not exist in all tmux version. It works on OpenBSD, but not on Devuan 6.0.0 | ||
| + | set-option -g default-client-command attach | ||
| + | # Don't kill windows on exit of the command that's running in them. | ||
| + | # Then you can use C-b-: and : | ||
| + | set-option -g remain-on-exit on | ||
| + | new-session -s DEFAULT top | ||
| + | new-window radeontop | ||
| + | new-window | ||
| + | new-window mc | ||
| + | new-window | ||
| + | </ | ||
applications/terminals/tmux/notes.txt · Last modified: by bas
