config:terminal-sharing
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:terminal-sharing [2026/11/04 17:25] – Wuff | config:terminal-sharing [2026/11/05 14:26] (current) – Wuff | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| # Local desktop tmux wrapper (No-Exit Edition) | # Local desktop tmux wrapper (No-Exit Edition) | ||
| - | if [[ -z " | + | if [[ -z " |
| # Unique session name | # Unique session name | ||
| SESSION_NAME=" | SESSION_NAME=" | ||
| Line 111: | Line 111: | ||
| chmod +x ~/ | chmod +x ~/ | ||
| </ | </ | ||
| + | |||
| + | |||
| + | Useful commands: | ||
| + | < | ||
| + | # Reload config file | ||
| + | tmux source-file ~/ | ||
| + | |||
| + | # Kill specific session | ||
| + | tmux kill-session -t term_556644 | ||
| + | |||
| + | # Wipe state clean/kill all sessions | ||
| + | tmux kill-server | ||
| + | </ | ||
| + | |||
| + | To use tmux via cinnamon applet "ssh launcher", | ||
| + | <code bash ~/ | ||
| + | #!/bin/bash | ||
| + | # Called by the SSH Launcher applet as: ssh-tmux ssh [flags] < | ||
| + | host=" | ||
| + | name=" | ||
| + | exec tmux new-session -A -s " | ||
| + | </ | ||
| + | <code bash> | ||
| + | chmod +x ~/ | ||
| + | </ | ||
| + | and in the ssh launcher settings, a custom command needs to be set for the terminal launcher. Note that the absolute path with proper username is required here and ~ does not work: | ||
| + | < | ||
| + | gnome-terminal -- / | ||
| + | </ | ||
| + | |||
config/terminal-sharing.1793813128.txt.gz · Last modified: by Wuff