Qonsole icon indicating copy to clipboard operation
Qonsole copied to clipboard

Doesn't seem to work with Windows 10 Bash.

Open MichaelJBrune opened this issue 9 years ago • 15 comments

I can't get Qonsole to work with the Windows 10 bash. I have no clue why but it simply isn't seeing bash.exe in system32 as a cmd path. Nor can I modify the lnk to point to the bash exe because the script then crashes. I'd love to get more information on this for you guys but I feel like this project isn't supported heavily.

MichaelJBrune avatar Apr 14 '17 07:04 MichaelJBrune

This happens after installing the creators update from microsoft windows 10. Before this was working fine as the normal cmd-console.

mobbel avatar Apr 14 '17 08:04 mobbel

Interesting so what happened to bash? Do you think it's the actual bash executable that is the issue? Anyone have a copy of the old one?

MichaelJBrune avatar Apr 14 '17 08:04 MichaelJBrune

Think it's more a Microsoft/Windows Problem, after updating the WSL-Version is the same. You have to uninstall and reinstall to get the new version.

mobbel avatar Apr 14 '17 08:04 mobbel

Hmm, try it with console2, then from that shell-wrapper launch bash?

On Apr 14, 2017 3:58 AM, Michael Brune [email protected] wrote:

I can't get Qonsole to work with the Windows 10 bash. I have no clue why but it simply isn't seeing bash.exe in system32 as a cmd path. Nor can I modify the lnk to point to the bash exe because the script then crashes. I'd love to get more information on this for you guys but I feel like this project isn't supported heavily.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/joedf/Qonsole/issues/4, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADq4G10RGswdXSLI0_CIOS6-bVPKBkvrks5rvycrgaJpZM4M9i0M.

joedf avatar Apr 14 '17 16:04 joedf

A quick fix to what @Mobbel has mentionned is to use the "Legacy" cmd. As described here: https://github.com/joedf/Qonsole/issues/1#issuecomment-238957371 I think I might find a programmatic solution to automatically change that... or I refactor Qonsole all together... :/

joedf avatar Apr 15 '17 21:04 joedf

Tested with Legacy-Mode didn't useable. Qonsole quits with same Error-Message, and bash comment this option that it isn't possible to use.

mobbel avatar May 07 '17 08:05 mobbel

hmmm.... Does it work with mintty or console2?

joedf avatar May 10 '17 14:05 joedf

I think I might have to do significant rewrites of certain parts.... :/

joedf avatar Jun 01 '17 15:06 joedf

Found a workaround:

  • Search for bash.exe in Windows Explorer.
  • Copy the one of the long path like: C:\Windows\WinSxS\amd64_microsoft-windows-lxss-bash_31bf3856ad364e35_10.0.14393.351_none_79648c7a5a883c6f
  • Open Qonsole and cd into the path you found
  • Run bash.exe and it seems to work.

When I search for bash.exe I get two results beside the one in System32, and only one of them works, the other gives an error about non-supported 16-bit application (my windows in danish, so not sure about the translation)

sorenpeter avatar Jun 30 '17 13:06 sorenpeter

that's very odd... Ahh.... MSWindows... always restructuring everything...

joedf avatar Jul 01 '17 04:07 joedf

I created a shortcut to the "hidden" bash.exe in my qonsole folder and renamed it to cmd_Qonsole.lnk so now qonsol opens up in bash.

sorenpeter avatar Jul 03 '17 07:07 sorenpeter

espetes solution did not work for me. Double-clicking the shortcut opens the pre-store bash. However, launching Qonsole gives following error:

image

XDracam avatar Apr 18 '18 19:04 XDracam

if you simply double click C:\Users\Cameron\Qonsole\cmd_Qonsole.lnk, what happens?

joedf avatar Oct 09 '18 14:10 joedf

Double-clicking the shortcut opens the pre-store bash.

Meaning that the shortcut works if used manually, but fails with Qonsole.

XDracam avatar Oct 09 '18 18:10 XDracam

Oh whoops, my bad... Looks like there might a general issue of cmd attachment... https://github.com/joedf/Qonsole/issues/8#issuecomment-427555224 Probably broken by changes in windows. I will have to investigate further in my spare time...

joedf avatar Oct 16 '18 13:10 joedf