ubuntu中Terminal消失
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
免费下载资源
·
Terminal不见了——安装Python 3.6 在Ubuntu 16.04 LTS 版本
警告:在根据下面文章操作之后,电脑终端关上之后再也打不开,因为同时修改了很多东西,所以排查了好久才找到原因。
在另一篇文章(https://www.jianshu.com/p/b32409f1b76a)中偶然看到另外一句话,才发现问题关键,将python3改回了python3.5,然后Terminal就可以打开了。
所以在进行系统操作之前,一定要小心!!!
我在自己的ubuntu系统上装了python3.6,系统自带了python2.7和3.5,系统自带的是很多软件运行的基础,比如说没有3,5版本,gnome-terminal就会运行不起来,而且不可以用3.6代替作为基础运行环境,所以不可以删。
(以下为转载:https://blog.csdn.net/lzzyok/article/details/77413968)
在ubuntu 16.04版本中,系统默认安装 了python 2.7和3.5版本,因为系统本身用到python的程序,删除默认的版本又担心系统有问题,那有没有办法同时在安装和使用python 3.6版本呢?下文将一起安装python 3.6并修改原系统的python3命令以使用新安装的版本。
1、配置软件仓库,因为python 3.6 新版没有发布到ubuntu的正式仓库中,咱们通过第3方仓库来做。在命令行中输入:
sudo add-apt-repository ppa:jonathonf/python-3.6
系统会提示输入密码
2、检查系统软件包并安装 python 3.6
sudo apt-get update
sudo apt-get install python3.6
3、查看python版本信息(现在在你的系统中已经有3个python版本了)
4、通过上图我们看到,新安装的3.6版本需要输入 python3.6才能使用,那能不能配置我只输入python3时就默认使用3.6版本呢,当然可以,执行以下命令
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2
sudo update-alternatives --config python3
5、最后,咱们确认一下
python3 -V
GitHub 加速计划 / term / terminal
8
0
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:4 个月前 )
51e21dd8
There's an existing WinUI bug where a nested Grid has it's star-sizing
ignored on Windows 10. This resulted in the New Tab Menu page looking
weird on Windows 10. This PR fixes the layout issue by applying a max
width to the first column, which will be clipped as necessary to make
space for the second column.
Part of #18281
## Validation Steps Performed
Validated the page looks good on Windows 10 and Windows 11, even after
resizing the window. 1 天前
3e969d53
Fixes a few accessibility bugs in the SettingContainer previews. Main
changes include:
- `SettingContainer` was considered a separate UIA element from the
inner expander. It's been marked as `AccessibilityView=Raw` to "remove"
it from the UIA tree.
- Added a `CurrentValueAccessibleName` property to the
`SettingContainer` to expose the current value to the screen reader for
`SettingContainer`s that have expanders. Non-expander
`SetttingContainer`s already worked fine.
- Applied `CurrentValueAccessibleName` to various settings throughout
the settings UI for full coverage. Added a `CurrentValue` for the ones
that were missing it.
- Removed a redundant/hidden tab stop in `Icon`
`Padding` was not updated since #18300 is handling that. This'll just
automatically make it accessible.
Font axes and features weren't updated to show previews, but I'm happy
to do it if given a suggestion.
Part of #18318
## Details
- `SettingContainer` updates:
- `AccessibilityView = Raw` for `SettingContainer`s with expanders. This
is because the expander itself is the one we care about. No need to have
another layer of UIA objects saying it's a group.
- Added a `CurrentValueAccessibleName` property
- This specifically defines what should be read out by the screen
reader, similar to `AutomationProperties.Name`
- It updates automatically when `CurrentValue` changes.
- It's applied on the inner `Expander`, if one exists.
- The accessible name is constructed to be `"<Header>:
<CurrentValueAccessibleName>"`. If `CurrentValueAccessibleName` isn't
provided, we try to use the `CurrentValue` if it's a string.
- Profile (and appearance) settings:
- `Icon`'s value is now read out by a screen reader instead of staying
silent. It'll read the icon path.
- A redundant/hidden tab stop was removed from `Icon`.
- `TabTitle` now displays/reads "None" if no tab title is set.
- `ColorScheme` is now read out by a screen reader.
- The color scheme overrides (i.e. `Foreground`, `Background`,
`SelectionBackground`, and `CursorColor`) are now read out by a screen
reader. Format is "#<hex value>".
- `BackgroundImageAlignment` is now displayed and read out by a screen
reader.
- `LaunchSize` is now displayed and read out by a screen reader. Format
is "Width x Height".
## Validation Steps Performed
Tabbed through the settings UI with a screen reader. Each of these
settings now reads out a preview. 1 天前
更多推荐
已为社区贡献1条内容
所有评论(0)