eq12
https://zhuanlan.zhihu.com/p/645421841
# ax101网卡 6.8
内核地址:https://kernel.ubuntu.com/mainline/
# kernel:
sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update
sudo apt install-y mainline
# ax101 蓝牙驱动
cd /usr/lib/firmware/intel
cp ibt-1040-4150.ddc ibt-0040-1050.ddc
cp ibt-1040-4150.sfi ibt-0040-1050.sfi
逛社区发现了一个蓝牙修复办法,创建一个软链使用另一个蓝牙驱动可行。使用上面的cp办法。
sudo ln -s ibt-1040-4150.ddc ibt-0040-1050.ddc
sudo ln -s ibt-1040-4150.sfi ibt-0040-1050.sfi
# 卸载xfce4
sudo apt remove xfce4
sudo apt remove xubuntu-desktop
sudo apt remove xfce4-*
sudo apt remove libxfce4*
dpkg -l | grep ^rc | grep xf | cut -d ' ' -f3 | sudo xargs dpkg --purge
其中 rc 状态的包即卸载了包却保留了配置文件。如果想要完整删除所有 rc 状态的包一个一个删还是很麻烦的,所以可以使用以下命令进行清理
蓝信:
非常抱歉给您带来不好的体验,谢谢您的反馈。您可以删除这三个文件 尝试解决下。
/opt/apps/cn.lanxin/files/bin/lib/libcairo.so.2
/opt/apps/cn.lanxin/files/bin/lib/libatk-1.0.so.0
/opt/apps/cn.lanxin/files/bin/lib/libgmodule-2.0.so.0
ubuntu24
安装VM17
sudo apt-get -y install gcc-13
ubuntu22
sudo apt remove rhythmbox* libreoffice* thunderbird transmission* remmina* gnome-mahjongg gnome-todo* gnome-sudoku gnome-mines gnome-mahjongg quadrapassel gnome-2048 gnome-maps gnome-chess lightsoff gnome-mahjongg quadrapassel iagno gnome-klotski gnome-robots five-or-more gnome-sudoku tali gnome-mines gnome-tetravex four-in-a-row gnome-nibbles gnome-taquin swell-foop hitori evolution aisleriot gnome-contacts gnome-music xterm synaptic
sudo apt purge -y libreoffice*
sudo apt autoremove
安装lightdm
sudo dpkg-reconfigure gdm3
安装VM17
sudo apt-get -y install gcc-12
//安装Qt
sudo apt-get install libgl1-mesa-dev build-essential libxcb-cursor0 libxcb-xinerama0 git tree
//ubuntu下面 将汉字桌面、下载 换成 英文
export LANG=en_US
执行
xdg-user-dirs-gtk-update
sudo gedit ~/.config/user-dirs.dirs
//虚拟机网络问题 解决VMware下ubuntu22虚拟机无法上网的问题
https://blog.csdn.net/hkboy131/article/details/143872430
sudo service NetworkManager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service NetworkManager start
#搜狗输入法
https://blog.csdn.net/HLX960725/article/details/144851257
Ubuntu18
ubuntu删除libreoffice
sudo apt remove libreoffice-calc
sudo apt remove libreoffice-draw
sudo apt remove libreoffice-impress
sudo apt remove libreoffice-writer
sudo apt remove -y libreoffice*
sudo apt remove -y libreoffice-calc libreoffice-draw libreoffice-impress libreoffice-writer
#卸载火狐 dpkg --get-selections | grep firefox
sudo apt-get purge firefox firefox-locale-en firefox-locale-zh-hans firefox-locale-zh-hant
## 安装360浏览器
https://browser.360.net/gc/index.html?src=se
wget https://down.360safe.com/gc/browser360-cn-stable_13.2.1031.17-1_amd64.deb
//清除libreoffice配置文件
sudo apt purge -y libreoffice*
sudo apt autoremove
//下载软件
apt purge -y transmission*
安装ftp软件
sudo apt-get install filezilla
ubuntu删除邮件
sudo apt remove -y thunderbird
open-vm-tools
sudo apt-get install -y open-vm-tools
需要重启系统或者sshd服务
sudo /etc/init.d/ssh stop
sudo /etc/init.d/ssh start
sudo service ssh start
安装ssh服务后,系统默认开启系统sshd,查看sshd状态如果不是默认启动,修改服务为enable
sudo systemctl enable ssh
允许远程使用root账号ssh登入
修改/etc/ssh/sshd_config文件,修改如下:
#PermitRootLogin prohibit-password
PermitRootLogin yes
Ubuntu默认没有安装ssh的server,需要安装
sudo apt-get install -y openssh-server
ssh客户端是默认安装的,安装包:openssh-client,apt安装
ubuntu安装输入法
sudo apt install -y fcitx fcitx-frontend-qt5 fcitx-ui-classic fcitx-config-gtk fcitx-googlepinyin fcitx frontend-gtk2 fcitx-frontend-gtk3 fcitx-module-kimpanel im-config libgtk2.0-0 libgtk2.0-common
//fcitx-pinyin
sudo apt install libqt5qml5 libqt5quick5 libqt5quickwidgets5
sudo apt install fcitx-googlepinyin
fcitx-config-gtk3
链接【问题】Ubuntu系统使用搜狗输入法时,只能打出英文,无法输中文。
修改ubuntu 18系统时间
sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Ubuntu 配置DNS
sudo vim /etc/resolv.conf
nameserver 114.114.114.114
--------------------------------------------------
在网卡文件中修改
echo 'DNS1="114.114.114.114" ' >> /etc/sysconfig/network-scripts/ifcfg-eth0
在主机表文件host文件中修改
echo "223.231.234.33 www.baidu.com" >> /etc/hosts
在域名服务器中修改
echo 'nameserver 114.114.114.114' >> /etc/resolv.conf
生效顺序是:
1 hosts文件 ---- 2 网卡配置文件DNS服务地址 ---3 /etc/resolv.conf
需要注意的是:
1、/etc/resolv.conf下配置nameserver 会即时生效,但是每次重启操作系统会根据ifcfg-eth0里的DNS信息把该文件重写
2、ifcfg-eth0里配置的DNS信息相当于Windows界面里你设置IP时设置的DNS,是永久的,开机重启后依然存在
3、hosts文件的作用与Windows下的hosts文件作用相同,可以用该文件设置局域网内机器IP与机器名称对应,因其优先级高,
可以用来屏蔽一些不想访问的网址,破解啊,更新啊等
美化
1.安装工具gnome-tweaks
安装gnome-tweaks和gnome-tweak-tool:
sudo apt-get update
sudo apt-get install gnome-tweaks
sudo apt-get install gnome-tweak-tool
sudo apt-get install -y gnome-tweaks gnome-tweak-tool
终端打开 gnome-tweaks
2.安装gnome扩展并设置
安装gnome-shell-extensions
sudo apt-get install -y gnome-shell-extensions
ubuntu20关闭自动更新
https://blog.csdn.net/louObaichu/article/details/122274684
阻止软件更新弹窗(眼不见为净~)
打开终端执行命令:
sudo chmod a-x /usr/bin/update-notifier
如果想恢复弹窗执行下面的命令:
sudo chmod a+x /usr/bin/update-notifier
vino远程桌面打开后,需要设置不加密
gsettings set org.gnome.Vino require-encryption false
如何将某个安装包的所有依赖下载到本地目录
下载依赖,只需要执行一下命令即可完成,
apt-get install aptitude
aptitude clean
aptitude --download-only install 安装包
下载的文件在:
/var/cache/apt/archives目录下
mv /var/cache/apt/archives/*.deb 指定的目录名称
Windows如何通过VNC访问Ubuntu远程桌面?
https://blog.csdn.net/Xiniao3/article/details/126498601
Kylin
sudo apt install typora
#!/bin/bash
# 关闭安全
sudo security-switch --set custom --list ""
# 关闭防火墙
sudo sed '/^Mode=/ c Mode=off' /etc/kylin-firewall/kylin-firewall.conf
# 卸载定时改源的包
sudo dpkg -P kylin-software-properties kylin-background-upgrade
sudo reboot
# 设置2303源
sudo tee /etc/apt/sources.list <<EOF
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1 main universe multiverse restricted
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-2303-updates main restricted universe multiverse
deb http://archive2.kylinos.cn/deb/kylin/production/PART-V10-SP1/custom/partner/V10-SP1 default all
EOF
sudo apt update
# 关闭deb安装校验
sed -i 's/^allow-kylinsign/#&/' /etc/dpkg/dpkg.cfg
sed -i 's/^verify-kylinsign/#&/' /etc/dpkg/dpkg.cfg
# 微信
sudo apt install -y kylin-kwre-wechat typora tree tumx git
标题去除安装包里面的括号
\(.*?\)