
Ubuntu22.04-安装后Terminal无法调出
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
·
参考:
Ubuntu20.04 终端打开不了的问题排查_ubuntu终端打不开-CSDN博客
https://blog.csdn.net/u010092716/article/details/130968032
Ubuntu修改locale从而修改语言环境_ubuntu locale-CSDN博客
https://blog.csdn.net/aa1209551258/article/details/81745394
问题描述
Terminal的logo在顶端栏上显示了,但一直转圈,不出现。
解决
第一篇中【Ctrl + Alt + F6 切到命令行界面】,我没成功,但是可以去软件市场下Xterm。下完后重装gnome-terminal和配置locale后,重启也不行。
于是参考第二篇,直接编辑【/etc/default/locale】,再重启,即可调出terminal。
主要是这两行,只要改成这样子就ok了。
LANG=en_US.UTF-8
LANGUAGE=en_US:en

The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:2 个月前 )
6047f37e
microsoft/vcpkg-tool#1474 now validates that the target triplet is
valid. Unfortunately, `ARM64` is not valid... despite VS defaulting to
it.
VS 17.12 moved to the newer version of the vcpkg tool.
Given that we still want to build on VS 17.12, this commit adds a local
workaround.
See DD-2302065 for the internal tracking bug.
See microsoft/vcpkg#42182 for the upstream fix. 1 天前
282670a0
## Summary of the Pull Request
This extends the copy command to be able to include control sequences,
for use in tools that subsequently know how to parse and display that.
## References and Relevant Issues
https://github.com/microsoft/terminal/issues/15703
## Detailed Description of the Pull Request / Additional comments
At a high level, this:
- Expands the `CopyTextArgs` to have a `withControlSequences` bool.
- Plumbs that bool down through many layers to where we actuall get
data out of the text buffer.
- Modifies the existing `TextBuffer::Serialize` to be more generic
and renames it to `TextBuffer::ChunkedSerialize`.
- Uses the new `ChunkedSerialize` to generate the data for the copy
request.
## Validation Steps Performed
To test this I've manually:
- Generated some styled terminal contents, copied it with the control
sequences, pasted it into a file, `cat`ed the file and seen that it
looks the same.
- Set `"firstWindowPreference": "persistedWindowLayout"` and
validated that the contents of windows are saved and
restored with styling intact.
I also checked that `Invoke-OpenConsoleTests` passed.
## PR Checklist
- [x] Closes #15703
- [ ] Tests added/passed
- [x] Documentation updated
- If checked, please file a pull request on [our docs
repo](https://github.com/MicrosoftDocs/terminal) and link it here:
https://github.com/MicrosoftDocs/terminal/pull/756
- [x] Schema updated (if necessary) 4 天前
更多推荐

所有评论(0)