Public bug reported: Hi Dustin,
First of all, thanks for this lovely script! Upon installation on my kubuntu vivid, I've tried the hollywood, but it did nothing. I've ran it from byobu (screen backend), from a tty console (a la Alt-F6), and from an xterm console - all with the same results. After some debugging with sh -x $(which hollywood) I've noticed it stops upon executing this line tmux new-window -n $PKG "$widget_dir/$widget1" \; \ set-option -g pane-active-border-bg "default" \; \ set-option -g pane-active-border-fg "default" >/dev/null 2>&1 Which evaluates in runtime as, for example: tmux new-window -n hollywood /usr/bin/../lib/hollywood/jp2a \; set-option -g pane-active-border-bg default \; set-option -g pane-active-border-fg default And the outcome is: failed to connect to server: Connection refused ...unless there's a tmux running somewhere, started by the current user. Proposed solution is to check if we are ran from within a tmux session (ie TMUX environment variable is set): if [ -z "$TMUX" ]; then tmux new-session ...; else tmux new-window ...; fi Cheers, Marko ** Affects: hollywood (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1403659 Title: Does nothing unless there's a started tmux server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hollywood/+bug/1403659/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs