Closed rescenic closed 3 years ago
What is that thing? What variables does it check to determine terminal emulator name?
It's called neofetch. https://github.com/dylanaraps/neofetch
We can configure it from ~/.config/neofetch/config.conf
Examples:
Windows have that package too from scoop. scoop install neofetch
The tool seems to determine some information about its runtime environment but most of it is not terminal-related. About dimensions, there are escape seqences to retrieve terminal size and resolution but apparently the tool does not use them. Likewise there are sequences (device attribute reports) to retrieve terminal type information but the tool does not use them. Rather it seems to determine the program name of its parent process, which could as well be something like "ssh" in case you've logged in remotely from another terminal, so reporting wslbridge2-backend where the name of the terminal would be desired is a bug of the tool.
Thank you very much for your explanation. I'll set them up manually, then. Hehe.
Well, you could submit them an issue and mention the terminal
tool from the mintty utils repository for detection of the terminal type: https://github.com/mintty/utils/blob/master/terminal
Instead of "wslbridged2-back", can we get "wsltty (or mintty)" in Terminal Name. Also, can you please add feature to add Resolution, DE, WM, Terminal Font from wsltty/mintty Options in Windows (which is fine by me). Compare with Windows Terminal: