-
Notifications
You must be signed in to change notification settings - Fork 7
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
Blank terminal #32
Comments
Hi @alegag Also, can you give me this output from your system?
I'm downloading Fedora now so I can try to replicate this (bash is only in /bin/bash for my Debian system). Cheers! EDIT: one more thing to try is to simply type |
First, thanks for the quick reply ! I've tried both
Let me know if I can be of any more assistance ! |
Your test put me on the right track to find the bug. I don't know if this is on your side or on Atom's side tho'. In my setup, my ".atom" directory is on an NFS share, so I can use the same Atom settings on multiple computers. That share is mounted "noexec" by default. That's what prevent the terminal from showing. To reproduce, supposing you have a "/home" on a dedicated partition on your Linux box, close Atom and run this:
Then open Atom, the terminal will not execute anymore. To revert:
I don't know how the plugin works, but if a "program" is called, you might want to prefix it by the interpreter (like calling /usr/bin/python ${atom}/packages/termination/plugin.py). Maybe you can detect the OS and make a test to see if the script is executable ? Maybe this is all handled by Atom and you have no control over this. Would be nice if it could be backed in the plugin, would avoid to set executable an partition I don't want to set executable in the first place ;-) |
Hi, Is Cheers! |
No sure to follow ;-) The way I was setup was that the ~/.atom was a symlink to ~/Development/.atom The ~/Development partition was set noexec. By result, ~/.atom content was noexec. I've tried to "bind mount" with "exec" flag, but it did not worked. What I did to workaround this issue is to add an extra entry in my fstab where I do something similar to:
That way, ~/.atom is now "executable", so terminal works. This case could also just be documented in the README, that could be enough for the next person that comes around with that problem (I've seen in the past the same problem with other Terminal packages (the one you cloned from, and the one it was cloned from, among others), but none ever proposed a fixe or even a workaround). Of course, if you can control that on your side, that would be a better solution, but otherwise, documentation seems to be a good fit too ! Let me know if I can be of any assistance ! |
Atom: 1.14.3 (had same issue in 1.13.x)
Termination: 0.4.0
OS: Fedora Workstation 25
I install the package, change nothing in settings (Shell Override is set to "/usr/bin/bash", which exists on my system).
I get a terminal with no prompt. What ever I try, I never get the prompt.
The text was updated successfully, but these errors were encountered: