micro: Blank screen / hang on startup
Description of the problem or steps to reproduce
A few months now, when running micro it hangs on startup after clearing the console. The only way to terminate the process is to close the terminal or kill it. This happened occasionally for the past months so i thought it was some problem with my machine. For the past 2-3 weeks I can no longer use it 100% of the time. I tried the -debug flag but the the log file didn’t contain anything.
Specifications
Commit hash: 225927b9 OS: Arch Linux - Kernel 6.0.12 Terminal: KDE Konsole
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 4
- Comments: 20 (3 by maintainers)
Alright so i have found the culprit who was causing the issue in termux. Basically
microworks but when you have thetermux-apipackage installed it’ll refuse to start (Showing a blank screen // unresponsive) probably due to missing clipboard functionality thing (mentioned above) removing thetermux-apipackage fixed micro for me:or as specified above you could try
microwith-clipboard internalflag which works. in that case i would aliasmicroto start with-clipboard internalflag in my bashrc file:@ixzh
See
help optionsfor the description of theclipboardoption.With
internal- yes (copy and paste will only work within micro, not between micro and other apps). Withterminal- depends on whether your terminal supports it (you can check if copy and paste is working for you at all).Alternative workaround - put the following in
settings.json:https://user-images.githubusercontent.com/14981695/208461272-4651a977-8984-449e-8ee1-72515a95f974.mp4
Uninstall
wl-clipboardInstallwl-clipboard-rsto fix this issue.