-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Can't Change Terminal Emulator #791
Comments
I haven't encountered this issue when changing the shell from |
I have bash installed. I am trying to use PowerShell 7-preview. It is installed in the normal place. |
I'd like to know from what kind of environnement are you trying to launch the terminal is ? Is an X11 server launched ? Or are you trying to launch the terminal in a TTY ? If you're trying from a TTY then that explains the problem. |
I'm using X11. |
Another thing is it does sort of launch. It just doesn't open fully. I can see it running in the task manager but it never starts the UI. This is after I've tried to change the shell. |
What version? (of edex) |
v2.2.2 |
|
Same issue on v3. |
Also, I seemed to have formated this Bug Report wrong. |
It's fine, however as you probably guessed if you looked over at #769 i might not get back to you anytime soon, sorry. Off the top of my head i can't figure out what's happening here. |
Yeah, it is fine. I can just use the stock shell for now. |
Does the stock shell work ? I could try to install the Powershell preview 7 on my distro and give it a try to see if I can reproduce your issue. |
Yeah, stock works until I change it then I have to delete settings.json to fix it. I am not able to change it back. |
Didn't mean to do that. |
Semi Log (node:13784) UnhandledPromiseRejectionWarning: Error: File not found: C:\Program |
Just wanted to chime in and say @SkeleBones is not alone. I just discovered eDEX-UI today and having problems changing the default shell. Using Windows 10 and trying to change settings.json from the default Powershell to Bash. |
I think I know what's going on,
I think when you're trying to call powershell, you're trying to do smth like this: |
soooo in settings.json, right.... in the default terminal, where it now just says powershell.exe, instead of changing it to simply bash.exe, I change it to the entire path where bash.exe is actually located..? still get the same problem. I save these new settings and restart eDEX, and the program just does not start. |
I’ll have a look. Seems like reading paths from the settings.json messed up if there’s any spaces in it. |
Yes, this is exactly what's going on. I wonder if instead of having the shell parameters in the same line you have it as a separate key in the settings.json file. |
And also, now I figured out why full paths to like C:\Program Files... don't work... It's literally trying to start C:\Program.. ("C:\Program Files\test".split(" ")[0] == "C:\Program") |
Oh that totally makes sense! I've got an idea for a fix, hang on :) |
Could you try this out? |
It worked on my end, at least it feels like it. I set the emulator to nodejs (stored in the program files folder) and it ran without any issues, compared to before the commit where it gave an UnhandledPromiseRejectionError |
Technical information
Using version:
master
(running from GitHub-published source code, currentlyv3.0.0-pre
)latest
(latest release, currentlyv2.2.2
)vX.X.X
(specify other version)Running on:
How comfortable you are with your system and/or IT in general:
Problem
If I change the shell and restart the terminal, it refuses to launch. If I change it back it doesn't start either. The only way I can start it again after changing it is to delete the settings.json file.
The text was updated successfully, but these errors were encountered: