Open DaleKramer opened 4 years ago
Thank you for your feedback and sorry for lack of explanation.
If you are using Ubuntu 18.04 under WSL without any customize, you are using bash as shell. Therefore, your shell's profile is .bashrc
. (bash is one of the POSIX compliant shells)
The .bashrc
is located under your home directory (/home/YOUR-NAME
) of Ubuntu 18.04 under WSL. Open .bashrc
with text editor (e.g. notepad.exe .bashrc
). And add eval "$(sh "/path/to/eopen-ecd/init.sh")"
to .bashrc
. (Please change /path/to/eopen-ecd/init.sh
to your extracted path)
If you're still having trouble, feel free to post here. regards.
WOW, great response, I will do that very well explained procedure. :)
Sorry, I am back
Here is 1000 words ;)
Try to Pull requests?
I had to look that up:
"Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub."
Sorry but I do not think I have any changes that I have pushed to a branch. I do not even know what that means...
Sorry, I hadn't checked thoroughly. It seems wslpath
command incompatible. Which Windows version are you using? The Windows version is displayed with winver.exe
. What is displayed when running wslpath with no arguments on WSL?
I don't know if it has anything to do with this issue,
https://devblogs.microsoft.com/commandline/do-not-change-linux-files-using-windows-apps-and-tools/
I do not see any permissions/owner etc issues that could have been created by the way I created my $HOME/eopen-ecd directory in the WSL subsystem, do you see any from these listings:
But perhaps I should do a recursive chmod 777 on the eopen-ecd dir...
Besides, eopen does seem to run but only to show the -h help listing.
Probably, related this issue. https://github.com/microsoft/WSL/issues/3599
The easiest way is to update to the latest Windows. I'll try to find out workaround, but it will take a little longer because you have to install an older Windows.
It might work under /mnt
directory.
I used cp to copy eopen-ecd dir to C root dir.
Then I nanoed $HOME/.bashrc like this:
Then I resourced .bashrc with => source ~/.bashrc
But still same issue:
Sorry, What I wanted to say is
$ cd /mnt/c/User/dale
$ eopen .
My $HOME dir is at:
C:\Users\kci\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\home\dale
Sorry, again
$ cd /mnt/c/User/kci
$ eopen .
Great, that worked, but I want to edit files in my Ubuntu subsytem tree structure with NotePad++... like in my $HOME directory...
How do i achieve that now?
As posted above, You cannot edit files on WSL in Windows 1809 (except under /mnt
directory). This is a limitation of WSL on before Windows 1903. The best way is upgrade to Windows 1903 or later.
I used to create symlink at "$HOME" directory to access under the /mnt
easily.
I guess I will bite the bullet and update (I hate updating automatically so I am a little behind).
Thanks, for all the help, you were GREAT...
I really NEED to install this on Ubuntu 18.04 under WSL.
But I can not figure out how to do that by your Installation instructions.
There is no mention of Ubuntu and it appears that the instructions for WSL does not include 'the following line' to edit in the 'shell's profile':
Sorry if this is a bother but I am such an newbie to OS's that end in 'x' ;)
If you have any interest, I made this image which if you post it where needed, might help you have fewer questions here: