在研究 Ubuntu 的连接检查功能之前,让我们首先了解一下 Captive Portals。当尝试访问咖啡店、机场、商务中心、酒店大堂等处的 Wifi 设施时,我们发现自己登陆了一个要求身份验证、付款和/或接受协议条款的网页。只有当我们提供所需的信息时,我们才能访问 Wifi 设施。这种登录页面称为强制门户。在 Ubuntu 17.10 及更高版本中,每当检测到强制门户时,您都会在网络状态中看到一个问号。这项新功能的工作原理是不时http://connectivity-check.ubuntu.com,以检测强制门户。为了更好的保证隐私,我将这个进行禁用。
Continue reading connectivity-check.ubuntu.com/ubuntu无线连接❓问题
Category Archives: Linux
在 Ubuntu 20.04 LTS 桌面版上安装 MS 字体
使用命令行安装
$ sudo apt update$ sudo apt install ttf-mscorefonts-installer$ sudo fc-cache -f -v
将所有的 Windows 字体复制到 /usr/share/fonts 目录下并使用一下命令安装字体:
$ mkdir /usr/share/fonts/WindowsFonts$ cp /Windowsdrive/Windows/Fonts/* /usr/share/fonts/WindowsFonts$ chmod 755 /usr/share/fonts/WindowsFonts/*fc-cache
ubuntu wps 不能输入中文
sudo vim /usr/bin/wps (et, wpp)
在 #!/bin/bash 下面输入(搜狗基于fcitx,系统内可能是ibus)
export XMODIFIERS=”@im=fcitx”`
export QT_IM_MODULE=”fcitx”
Ubuntu18.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“问题
sudo apt-get install libxcb-xinerama0
from:
https://cloud.tencent.com/developer/article/1726400
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in
apt-get install libxcb-xinerama0
linux如何查询文件及文件夹大小
最简单的查看方法可以使用ls -ll、ls-lh命令进行查看,当使用ls -ll,会显示成字节大小,而ls- lh会以KB、MB等为单位进行显示。
通过命令du -h –max-depth=1 *,可以查看当前目录下各文件、文件夹的大小,这个比较实用。 Continue reading linux如何查询文件及文件夹大小
PIP
pip 是 Python 包管理工具,该工具提供了对Python 包的查找、下载、安装、卸载的功能。 Continue reading PIP
Ubuntu 20.04 桌面版 关闭 图形界面
:cd /etc/default
:/etc/default$ ls
:sudo vi grub
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”to “text”
:sudo update-grub
:sudo systemctl set-default multi-user.target
Created symlink /etc/systemd/system/default.target → /lib/systemd/system/multi-user.target.
:reboot
修复Ubuntu引导
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update sudo apt-get install -y boot-repair && boot-repair
Ubuntu cpu temperature
apt install lm-sensors
sudo sensors-detect
sensors