tmux-continuum icon indicating copy to clipboard operation
tmux-continuum copied to clipboard

Verify Continuum is working /w Byobu

Open stdedos opened this issue 8 years ago • 8 comments

Hello everyone.

I have successfully setup tmux-plugins using byobu and see that stuff are working. However, when I try to setup a custom notification, I get:

Notification Setup:

me@server:~/.byobu/bin$ ls -lah
total 4,0K
drwxr-x--- 1 me me  24 helmi  3 13:19 .
drwxr-x--- 1 me me 392 helmi  3 13:23 ..
-rwxr-x--- 1 me me  39 helmi  3 13:19 30_continuum
me@server:~/.byobu/bin$ cat 30_continuum
#!/bin/sh
echo "C#{continuum_status} "
me@server:~/.byobu/bin$

@ Debian GNU/Linux 8.7 x86_64 0:Window1* 1:Window1 2:Window2 ▴136kb ▾223kb C e910 1 2d0h 317rpm 39C 451& 0.60 4x1.6GHz 7.8G48% s5.6G0% 9,1G64% me@server 192.168.1.2 2017-02-03 14:05:15

byobu version 5.87 / tmux 1.9

# Mouse support - set to on if you want to use the mouse
# setw -g mode-mouse on
# set -g mouse-select-pane on
# set -g mouse-resize-pane on
# set -g mouse-select-window on

# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on

# Center the window list
set -g status-justify centre

bind r source-file ${HOME}/.tmux.conf \; display-message "Source-file Reloaded"

# utf8 is on
set -g utf8 on
set -g status-utf8 on

# address vim mode switching delay (http://superuser.com/a/252717/65504)
set -s escape-time 0

# increase scrollback buffer size
set -g history-limit 50000

# tmux messages are displayed for 1.25 seconds
set -g display-time 1250

# refresh 'status-left' and 'status-right' more often
# set -g status-interval 1

# focus events enabled for terminals that support them
set -g focus-events on

# super useful when using "grouped sessions" and multi-monitor setup
setw -g aggressive-resize on

# ========== TMUX Plugin Manager ==========

if "test ! -d ~/.byobu/tmux_plugins/tpm" \
      "run 'git clone https://github.com/tmux-plugins/tpm ~/.byobu/tmux_plugins/tpm && ~/.byobu/tmux_plugins/tpm/bin/install_plugins'"

set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.byobu/tmux_plugins'

# List of plugins - https://github.com/tmux-plugins/tpm/blob/master/docs/tpm_not_working.md
# set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'tmux-plugins/tmux-resurrect'
# set -g @plugin 'tmux-plugins/tmux-continuum'

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'

set -g @tpm_plugins 'tmux-plugins/tpm   \
        tmux-plugins/tmux-sensible                      \
        tmux-plugins/tmux-resurrect                     \
        tmux-plugins/tmux-continuum                     \
'
set -g @resurrect-dir '~/.byobu/tmux_resurrect'
set -g @resurrect-save-bash-history 'on'
set -g @continuum-save-interval '10'
set -g @continuum-boot 'on'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.byobu/tmux_plugins/tpm/tpm'

stdedos avatar Feb 03 '17 12:02 stdedos

How did you set up tmux-plugins using byobu? Can you share the secret ? ;-)

adamryczkowski avatar Feb 17 '17 14:02 adamryczkowski

Literally, you have my complete .tmux.conf, along with the auto-installation option 😂

I don't know what else to provide. TMUX Plugins even have a section of their own

stdedos avatar Feb 17 '17 14:02 stdedos

I tripped on https://github.com/tmux-plugins/tpm/issues/57.

Your syntax

set -g @tpm_plugins 'tmux-plugins/tpm   \
        tmux-plugins/tmux-sensible                      \
        tmux-plugins/tmux-resurrect                     \
        tmux-plugins/tmux-continuum                     \

was the only thing missing. Now everything runs fine. Thanks!

adamryczkowski avatar Feb 17 '17 17:02 adamryczkowski

Guys, how does it work with byobu?

And do you advise to install tmux-plugins manually or not?

falzard avatar Mar 23 '17 22:03 falzard

Please stop polluting the subject with random questions. This is a a question, clearly stated in the title, and it's expecting an answer, not a place for random, irrellevant questions (with regard to the original questions)

stdedos avatar Mar 24 '17 09:03 stdedos

The title is basically about "how to make it work with byobu"

falzard avatar Mar 24 '17 17:03 falzard

Yes - but instead of providing a meaningful answer, you are polluting it with the same question.

stdedos avatar Mar 24 '17 18:03 stdedos

Well, I wasn't sure because he only asks it in the title. Also he says most of the thing work and no one says a word about it but if you look on google, you'll find nobody talking about this. Well, thank you for playing the police, and looking only at your own problem.

EDIT: oh ok the author is you

falzard avatar Mar 24 '17 19:03 falzard