Package: byobu
Version: 5.77-1
Followup-For: Bug #750711

Dear Maintainer,

I have found the source of this problem, but have only a partial solution.

In the file "/usr/share/byobu/profiles/tmux" see the third line from the end.
It looks like this:

set -g status-right '#(byobu-status tmux_right)'$BYOBU_DATE$BYOBU_TIME

The byobu-status command creates a status line string from the configured
status notification plugins.  The two variables appended to the line are what
is causing the date and time to always be displayed.

There seem to be two closely related bugs appearing here.  The first is the
time and date always being displayed, caused by the two variables above.  The
second is that byobu-status is not honoring the 'date' and 'time' plugins in
the status notification list.

If you remove the two variables above, the time and date will no longer be
displayed.  However, regardless of how you configure byobu's status
notifications, you canot get the time and date to show.  It seems these two
variables are a workaround for this.

It could also be that this is some left over debugging cruft from the
developer; perhaps a halfway point in fixing the true bug.


My half-fix:

You could edit the distributed "/usr/share/byobu/profiles/tmux" file, but the
following will fix the problem in your local configuration.

The file $HOME/.byobu/profile.tmux looks like:

  source $BYOBU_PREFIX/share/byobu/profiles/tmux

Append the following line to that file:

  source $HOME/.byobu/profile.tmux.local

Edit this new file and add the following line:

  set -g status-right '#(byobu-status tmux_right)'$BYOBU_TIME

Modify this line to your preferred configuration.  I only wanted the time
displayed and not the date, so I removed the variable that shows the current
date.

Now restart byobu.  This new file overrides the system default for tmux's
"status-right" variable and, temporarily at least, fixes the problem.



-- 
--John Gruenenfelder    Systems Manager, MKS Imaging Technology, LLC.
Try Weasel Reader for PalmOS  --  http://weaselreader.org
"This is the most fun I've had without being drenched in the blood
of my enemies!"
        --Sam of Sam & Max



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages byobu depends on:
ii  cdebconf [debconf-2.0]  0.191
ii  debconf [debconf-2.0]   1.5.53
ii  gawk                    1:4.1.1+dfsg-1
ii  gettext-base            0.19.2-1
ii  python                  2.7.8-1
ii  python-newt             0.52.17-1
ii  screen                  4.2.1-2
ii  tmux                    1.9-6

Versions of packages byobu recommends:
pn  run-one  <none>
ii  screen   4.2.1-2
ii  tmux     1.9-6

Versions of packages byobu suggests:
pn  apport                  <none>
ii  lsb-release             4.1+Debian13
ii  po-debconf              1.0.16+nmu3
pn  ttf-ubuntu-font-family  <none>
pn  update-notifier-common  <none>
ii  vim                     2:7.4.335-1+b1
ii  w3m                     0.5.3-17

-- debconf information:
  byobu/launch-by-default: false

Attachment: signature.asc
Description: Digital signature

Reply via email to