Skip to content
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

Problem with Helix when using on Debian under WSL2 #2495

Closed
fnfontana opened this issue May 17, 2022 · 4 comments
Closed

Problem with Helix when using on Debian under WSL2 #2495

fnfontana opened this issue May 17, 2022 · 4 comments

Comments

@fnfontana
Copy link

Hello! I've installed Helix on Windows using Chocolatey, and I like it so much!!
Currently, I'm using VS Code for coding, and I have decided to experiment using a terminal based editor, I never have adapted well to VIM... And the Helix was an awesome experience to me!

Then I have installed it on my WSL2 running a Debian distro following these steps.
But on WSL the layout is appearing weird for me, maybe I have done something wrong...

It's everything black and white, no colors like on Windows.
When I go to select theme option and set it to default, it prompts: Unsupported theme: theme requires true color support.

I'm relatively new to Linux, but I know that my terminal supports true color since I've used it with another TUIs via SSH.
I also have tested it on another terminals applications, like Alacritty, Windows Terminal and so on, it's giving the same message.

Furthermore, I think that could be a misconfiguration on WSL...
Do I have to set up a configuration to enable true color on it?
Or maybe I have to uninstall it and try to install again using brew?

@axdank
Copy link
Contributor

axdank commented May 17, 2022

See if this solves the error #2292

@fnfontana
Copy link
Author

fnfontana commented May 18, 2022

(☞゚ヮ゚)☞ Now it works fine! Thank you!!

Just another question...
I've installed it compiling from the source, but I want to reinstall Helix using a package manager to receive new updates without manually re-do the process...
Which is the recommended package manager to install Helix on Debian?
And which are the directories to completely remove it before re-install?

@the-mikedavis
Copy link
Member

the-mikedavis commented May 19, 2022

I'm not sure there's a go-to package for Debian yet. AppImage was added recently that should build on the next release #2089 and there's a PR to set up snaps #2180 but I don't think there's anything you can just pull from aptitude at the moment. You may be able to use the linux binary from the releases page: https://github.com/helix-editor/helix/releases/tag/22.03

To remove helix installed from source, you'll want to unset HELIX_RUNTIME if you set it and use cargo uninstall to remove the binary.

@kirawi
Copy link
Member

kirawi commented May 26, 2022

Closing as it seems to have been addressed.

@kirawi kirawi closed this as completed May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants