You are not logged in.

#1 2015-12-23 13:28:46

sigz
Member
Registered: 2014-08-08
Posts: 22

Issues in xfce4-terminal and tmux scrollback

I am using xfce 4.12 and xfce4-terminal with tmux, and I am having issues with scrollback ( shift+pgup/pgdn )

I set up the wiki trick for scrollback in my tmux.conf ( https://wiki.archlinux.org/index.php/Tm … ing_issues )

set -ga terminal-overrides ',xterm*:smcup@:rmcup@'
setw -g xterm-keys on

But I am still not able to use Shift+Pgup/down to scroll up and down... I am having this issue in xfce4-terminal.
(shift+pg scrollback works in xterm but it makes full scrollback scrolling as well my tmux status bar. Is it possible to avoir full scrollback ?)

I also tried to bind S+PageUp to command copy-mode -u, but it doesn't work any way. I can bind Ctrl or Alt modifiers in tmux bindings, but Shift modifier never seems to work anywhere, that's why I am wondering if it's not an issue with my conf or my system.

Here is my whole tmux.conf

set -g prefix C-b
set -g prefix2 C-space
set -g default-terminal "xterm-256color"
set -g escape-time 10
set -g repeat-time 750
set -g display-time 1500
set -g status-position top
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#{?client_prefix,#[reverse],}#S #[noreverse]#[fg=white]['
set -g status-left-length 15
set -g status-right '] #[fg=green]#H '
set -g status-interval 2
set -g pane-active-border-style fg=yellow
set -g history-limit 30000
set -g default-command "${SHELL}"
set -g window-status-separator '|'
set -g set-clipboard off
set -g terminal-overrides ',xterm*:smcup@:rmcup@'
setw -g xterm-keys on
setw -g monitor-activity on
setw -g window-status-format '#I:#W'
setw -g window-status-current-format '#I:#W'
setw -g window-status-current-bg yellow
setw -g window-status-current-fg black
setw -g window-status-activity-style fg=yellow
setw -g mode-keys vi

# Bindings
bind C-b send-prefix
bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
bind -n S-PageUp copy-mode -u

bind ',' command-prompt -p "new name:" "rename-window '%%'"
bind h split-window -v
bind v split-window -h

bind space copy-mode
bind -t vi-copy q clear-selection
bind -t vi-copy Escape cancel
bind p paste-buffer
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-pipe "xsel -i -p -b"

Last edited by sigz (2015-12-23 13:31:45)

Offline

#2 2015-12-23 18:42:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Issues in xfce4-terminal and tmux scrollback

Why are you forcing xterm-256color as your terminal?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-12-24 13:19:46

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: Issues in xfce4-terminal and tmux scrollback

@sigs   since tmux 2.1 i had to edit my ~/.tmux.conf to have scrolling, feel free to cherrypick https://gist.github.com/cirrusUK/7424049
this config lets me scroll with mouse wheel (i know) and ctrl+pageup/ctrl+pagedown in termite, i haven't tried other emulators.

Last edited by cirrus (2015-12-24 14:06:16)

Offline

Board footer

Powered by FluxBB