-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hang When Running from Tmux on OS X 10.10 Yosemite #115
Comments
As I said in #106 unfortunately I'm not a tmux user so if someone finds a solution please post it here. My guess is that the issue may lie in |
In my case, |
Just my two cents, I run |
I'm having the same problem with Yosemite (10.10.0) and tmux (1.9a) |
I have the same problem, |
My install is from Homebrew if that makes any difference. |
weirdly enough - it is now working for me inside of tmux. Perhaps it was the update to 1.9a? |
It's working for me now too. I updated two things, but I'm not sure which one did the trick:
These are both the most recent versions from homebrew. I realized I had an old |
Does not work for me. I already had the latest versions:
I've reinstalled them with |
@bessarabov - what version of terminal-notifier are you running? where did you install it from? |
@patrickkettner I'm using: 1.6.1 installed via brew:
I see that in this repo is tag
|
@bessarabov try a brew upgrade after brew update. |
@bessarabov Thank you, But I still has the problem outside tmux Here are the versions I have:
I'm using iTerm, but I checked this behavior in Mac OS default Terminal App. I got the same behaviour in iTerm and in Terminal.app. |
I am using tmux and terminal-notifier does and doesn't work for me and I hoped someone could help me understand and fix it. If I execute the following command it works fine.
However, when I execute the same command via a tmux new-window shell-command it fails and hangs.
|
I can confirm that tmux 1.9a (homebrew), reattach-to-user-namespace 2.3 (homebrew), and terminal-notifier 1.6.2 (gem) work on Yosemite 10.10.1.
I had to remove an older version of reattach-to-user-namespace that I had in my $PATH, so I also had to completely kill/restart the tmux server, then everything worked. |
Hi @adamyonk, Do you have any other configuration set? I have the same exact setup as you, but my terminal-notifier still hangs inside tmux. ~/ $ tmux -V
tmux 1.9a
~/ $ reattach-to-user-namespace --version
reattach-to-user-namespace version 2.3
Supported OSes: OS X 10.5-10.10
~/ $ gem list terminal-notifier
*** LOCAL GEMS ***
terminal-notifier (1.6.2) Also on Yosemite 10.10.1. |
Make sure you've killed/restarted tmux so you don't have an old session around. Beyond that, it looks like our setups are the same. I have this as my
|
Of course @adamyonk! I had disabled Thanks 🍻 |
@buccolo, oh good! So glad it worked! |
Can someone explain why |
I use |
Thanks @adamyonk |
That's odd - I have zero problems with pbcopy from within tmux, but the terminal notifier doesn't work |
@waynew Yeah, in a recent OS X release, pbcopy/pbpaste etc started to work fine without These days I don't run gulp on my mac anymore (CPU consumption due to file polling? seriously?), but when I do I just run it outside tmux. easy. |
FYI. Followed the steps listed by @rbf in #115 (comment) and now my side |
Another similar work-around is to add the line below to .bashrc:
For the record, I've had similar issues before with Sublime Text. Hope that helps in fixing the issue. |
Fixes the notifications in Profanity.im under tmux. Source: julienXX/terminal-notifier#115 (comment)
otherwise shell commands hang inside tmux/byobu/etc work around julienXX/terminal-notifier#115
Closing the issue, feel free to re-open if there is something I can help with. |
When I run
terminal-notifier
fromtmux
on OS X 10.10 Yosemite, it hangs:It works fine when running it from outside tmux. This may have something to do with
reattach-to-user-namespace
. My tmux is configured with this line:Which was taken from the instructions from this page.
The text was updated successfully, but these errors were encountered: