Doesn't respect ~/.byobu/backend

Bug #1054996 reported by Shahar Or
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
Low
Dustin Kirkland 

Bug Description

Dear friends,

My ~.byobu/backend is

BYOBU_BACKEND=tmux

But the 'byobu' command launcher byobu with the screen backend.

Running byobu-tmux works.

Thanks,
Shahar

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: byobu 5.21-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic i686
ApportVersion: 2.5.2-0ubuntu4
Architecture: i386
Date: Sun Sep 23 14:46:17 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120421)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ScreenRC:

SourcePackage: byobu
UpgradeStatus: Upgraded to quantal on 2012-07-12 (72 days ago)

Revision history for this message
Shahar Or (mightyiam) wrote :
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hi, thanks for the report!

This might happen if you already have the variable defined in your environment, $BYOBU_BACKEND.

Before launching 'byobu', try echo $BYOBU_BACKEND and see if that's defined. I suspect it probably is...

Changed in byobu (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → Low
status: New → In Progress
status: In Progress → Incomplete
Revision history for this message
Shahar Or (mightyiam) wrote :

Hi, Dustin,

Yes, $BYOBU_BACKEND was set to tmux before byobu ran. Along with more $BYOBU_* variables.

But why would it be? I don't have it in my ~/.bashrc and not in my ~/.profile . Perhaps /etc/profile.d stuff involved?

Thanks,
Shahar

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Perhaps... What's in your /etc/profile.d?

ls -alF /etc/profile.d/

Revision history for this message
Shahar Or (mightyiam) wrote :

shahar@shahar-desktop:~$ ls -alF /etc/profile.d/
total 28
drwxr-xr-x 2 root root 4096 Jan 13 16:14 ./
drwxr-xr-x 178 root root 12288 Jan 14 20:19 ../
-rw-r--r-- 1 root root 660 Jul 23 19:26 bash_completion.sh
-rw-r--r-- 1 root root 248 Oct 3 18:33 undistract-me.sh
-rwxr-xr-x 1 root root 1561 Jan 15 2012 Z97-byobu.sh*
shahar@shahar-desktop:~$

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I'm curious if you ever got to the bottom of this problem, and if it still exists?

Revision history for this message
Shahar Or (mightyiam) wrote :

Again, I would like to thank you, Dustin, for this awesome software.

I installed the `screen` package in `trusty` and when I launch `byobu` I get `tmux` as the backend. So all is well in `trusty`.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Excellent, thanks for following up!! Cheers!

Changed in byobu (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.