Accueil > Documentations techniques > tmux

tmux

19 novembre 2025 , par dupont26streams

tmux, anciennement appelé t-mite, est un multiplexeur de terminaux libre en mode texte. Il permet d’utiliser plusieurs terminaux virtuels dans une seule fenêtre de terminal ou une session sur un terminal distant. tmux peut être détaché d’une session et continuer de fonctionner en arrière-plan, on peut également s’y rattacher plus tard. Il permet aussi de lancer, de gérer et de garder le visuel sur plusieurs processus en même temps. tmux a pour but d’être une alternative stable et moderne à GNU Screen, il possède d’ailleurs la majorité des fonctions de GNU Screen.

Fichier de configuration .tmux.conf

# activer la souris
set -g mouse on

# prefix is CTRL-B and CTRL-X
#set -g prefix C-b
#set -g prefix2 C-x
#set-window-option -g xterm-keys on

# enable CTRL-B and CTRL-X under other programs (like vim) - you'll have to press twice le combination to have the old one
#bind C-b send-prefix
#bind C-x send-prefix

# Set 256-colour terminal (default is 16)
set -g default-terminal "screen-256color"

# Number of lines held in window history
set -g history-limit 100000

# Set status bar
#set -g status-right "#(hostname) #[bold]%d-%m-%Y#[nobold] %H:%M "
#set -g status-fg white
#set -g status-bg colour238
#setw -g window-status-current-style bg=blue

# number windows starting from 1 - handy for direct access
set -g base-index 1

# Set window notifications
#setw -g monitor-activity on

# Automatically set window title
setw -g automatic-rename on

#open window with currrent path                                                                   
bind c new-window -c '#{pane_current_path}'

# tab like window switching
bind -n S-down new-window -c '#{pane_current_path}'
bind -n S-left prev
bind -n S-right next
bind -n C-S-left swap-window -t -1
bind -n C-S-right swap-window -t +1

# Enhanced next/previous window: ability to press multiple times n/p
bind -r n next-window
bind -r p previous-window

# Synchronize all the panes
bind a setw synchronize-panes

bind | split-window -h -c '#{pane_current_path}' # Split panes horizontal
bind _ split-window -v -c '#{pane_current_path}' # Split panes vertical



# Configure tmux buffer to clipbard
#setw -g mode-keys vi
#bind-key -T copy-mode-vi v send-keys -X begin-selection
#bind -T copy-mode-vi y send-keys -X copy-pipe 'xclip -in -selection clipboard'

Voir aussi

7 décembre 2025 , par dupont26streams

Trame installation Linux

Lien court vers la page actuelle : https://notes.greboca.net/trame
Ce document est destiné aux personnes qui vont utiliser leur ordinateur après une installation Linux. C’est une trame pour la personne qui va leur installer Linux.
Ci-après le (…)

21 novembre 2025 , par dupont26streams

Applications F-droid

C’est en vrac. Il faudra d’abord installer F-droid. Binnary Eye : Comaps : Fossify* : Newpipe, Pipepipe, Seal : p2play : Element, ElementX : KDEconnect : localsend : Aurora Store : Conversation, Cheogram : Moshidon, Mastodon, Husky, (…)