LSOpenURLsWithRole() failed for the application /Applications/.app

I was trying to open the directory in atom from terminal but I was getting “LSOpenURLsWithRole() failed for the application /Applications/” and I found that this has nothing to do with OS X Yosemite but tmux. Here is what I did

  1. Change Directory(cd) to the tmux-powerline and do “git pull“. Just to update the powerline.
  2. If you don’t have “reattach-touser-namespace” on your system then run”brew install reattach-touser-namespace
    1. open tmux.config
    2. Append the following to the top ” setoption -g default-command “reattach-to-user-namespace -l zsh” ” assuming you already have zsh.
  3. Run “brew info reattach-to-user-namespace” it will give you the following
    reattach-to-user-namespace: stable 2.3, HEAD (6 files, 48K) *Built from sourceFrom:
  4. Run “reattach-to-user-namespace atom -v

I hope this will work for you.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s