@zesbe/tmux-linux
v1.0.0
Published
๐ง Tmux configuration optimized for Linux desktop with advanced features
Maintainers
Readme
@zesbe/tmux-linux
๐ง Tmux configuration optimized for Linux desktop development
โจ Features
- ๐ป Desktop Optimized - Perfect for Linux desktop environments
- ๐ System Clipboard - Seamless copy/paste with xclip
- ๐จ Enhanced UI - Beautiful status bar and colors
- ๐ง Dev Friendly - Productivity shortcuts and tools
- ๐ Plugin Ready - TPM (Tmux Plugin Manager) support
๐ Quick Install
# Install globally
npm install -g @zesbe/tmux-linux
# Or install locally
npm install @zesbe/tmux-linux
# Run configuration
tmux-linux๐ Usage
After installation:
# Start tmux
tmux
# Or use alias
tm
# Edit configuration
tconf
# Reload configuration
tsrc
# List sessions
tl๐ฎ Controls
Window Management
Prefix + c- Create new windowPrefix + w- List windowsPrefix + ,- Rename windowPrefix + &- Close window
Pane Management
Prefix + |- Split horizontalPrefix + -- Split verticalPrefix + h/j/k/l- Navigate panesPrefix + x- Close panePrefix + z- Zoom/unzoom pane
Copy Mode (Vi-style)
Prefix + [- Enter copy modev- Start selectiony- Copy to clipboardr- Rectangle togglep- Paste from buffer
Productivity Shortcuts
Prefix + e- Edit config in new windowPrefix + r- Reload configurationC-h/C-l- Navigate windows
Default Prefix: Ctrl + A
๐ง Features
System Integration
- Clipboard Support - Copy to system clipboard with xclip
- Desktop Detection - Auto-detects your desktop environment
- Path Awareness - New windows preserve current directory
Visual Enhancements
- 256 Colors - Full color terminal support
- Status Bar - Shows hostname, time, and session info
- Window Status - Visual indicators for active windows
- Pane Borders - Color-coded active pane
Development Tools
- Config Editor - Quick edit configuration
- Plugin Support - Ready for TPM plugins
- Session Management - Easy session switching
๐ Plugins (Optional)
Enhance with Tmux Plugin Manager (TPM):
# Install TPM
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# Install plugins (Prefix + I)
# Update plugins (Prefix + U)
# Recommended plugins:
# - tmux-sensible
# - tmux-yank
# - tmux-resurrect๐ Requirements
- Linux distribution (Ubuntu, Fedora, Arch, etc.)
- tmux 1.8+
- Node.js (for npm install)
- xclip (for clipboard support)
Install Dependencies
# Ubuntu/Debian
sudo apt update
sudo apt install tmux xclip
# Fedora
sudo dnf install tmux xclip
# Arch Linux
sudo pacman -S tmux xclip
# openSUSE
sudo zypper install tmux xclip๐จ Desktop Environment Support
Works with:
- GNOME
- KDE Plasma
- XFCE
- i3wm
- Sway
- And more!
๐ก Pro Tips
Auto-start tmux - Add to
.bashrc:[ -z "$TMUX" ] && exec tmuxNested tmux - Use different prefix:
bind -T root C-b send-prefixCustom status - Modify status bars:
set -g status-right "Vol: #(amixer get Master | grep -o [0-9]*%) | %H:%M"Project sessions - Use project names:
tmux new -s myproject
๐ Troubleshooting
Clipboard not working?
# Install xclip
sudo apt install xclip
# Test it
echo "test" | xclip -selection clipboardColors not showing?
# Set terminal type
export TERM=xterm-256color
# Check support
tic -e xterm-256colorPerformance issues?
# Reduce history
set -g history-limit 10000
# Disable activity monitoring
setw -g monitor-activity off๐ Links
๐ License
MIT ยฉ Zesbe
Built for Linux developers! ๐งโจ
