Debian 安装N卡驱动
sudo apt update && sudo apt install nvidia-detect执行 nvidia-detect
nvidia-detect安装驱动
sudo apt install nvidia-driver快捷图标
[Desktop Entry]
Encoding=UTF-8
Name=Clash
GenericName=Clash For Windows
Comment=这是一个代理软件
Exec=/home/moe/Tools/Clash/cfw
Icon=/home/moe/Tools/Clash/ico.png
Terminal=false
Type=Application
Categories=Application;Programme;放入 /home/moe/.local/share/applications
安装 Debian 时缺少无线网卡固件
教程链接:安装 Debian 时缺少无线网卡固件
驱动:https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/
Debian 切换到 Testing 版本
这里的源是Debian 11 的 Testing 版本
用任意编辑器打开 source.list 源文件
vim /etc/apt/sources.list替换源 将 stable 改为 testing
deb http://mirrors.ustc.edu.cn/debian testing main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian testing main contrib non-free
deb http://mirrors.ustc.edu.cn/debian testing-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian testing-updates main contrib non-free
# deb http://mirrors.ustc.edu.cn/debian testing-proposed-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian testing-proposed-updates main contrib non-free保存好更新
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgradeDebian添加管理员权限
Debian 安装后用户是没有权限的会提示 "用户名 is not in the sudoers file"
vim /etc/sudoers.d/username添加以下内容
用户昵称 ALL=(ALL)ALL
VsCode 下载慢
替换Vscode 下载连接域名为国内CDN域名
http://vscode.cdn.azure.cn/
Debian缺省基础命令
例如无法使用 “reboot” , "poweroff"
cd ~
vim .bashrc
#在最后一行添加
export PATH=$PATH:/usr/sbin
source .bashrcDebian卸载LibreOffice
sudo apt-get remove --purge libreoffice*卸载Debian系统自带的游戏
sudo apt-get remove --purge hoichess gnome-taquin gnome-2048 hitori aisleriot five-or-more four-in-a-row iagno gnome-klotski gnome-nibbles gnome-tetravex gnome-mahjongg gnome-robots lightsoff gnome-mines quadrapassel tali swell-foop gnome-chess gnome-sudoku Debian其他日常工具包名及卸载
gnome-maps #地图
gnome-weather #天气
gnome-clocks #时钟
goldendict #GoldenDict
cheese-common #茄子大头贴的各平台通用文件
evolution #邮件
gnome-control-center #系统设置
#这里是卸载这些
sudo apt-get remove --purge gnome-maps gnome-weather gnome-clocks goldendict cheese-common evolutionDebian开机必装命令
apt install vim gcc g++ gdb cmake make git zsh gnome-control-center curl screenfetchDebian安装显卡方法二
安装英伟达显卡检测器
sudo apt update && sudo apt install nvidia-detect linux-headers*
#linux-headers* #是内核啥东西安装英伟达显卡检测器
sudo apt install nvidia-driverDebian安装触摸板
sudo apt install xserver-xorg-input-synaptics
sudo synclient #启动,查看觸控板是否正常wireshark非root运行
\
sudo usermod -a -G wireshark {UserNmae/你的用户名}Debian系统备份软件
debian11 默认仓库提供 timeshift
sudo apt install timeshift安装托盘
sudo apt-get install gnome-shell-extension-top-icons-plus gnome-tweaks打开 扩展 -> 扩展 -> Topicons plus 勾选
查询命令所在位置
which 命令 Debian 主题
sudo apt -y install chrome-gnome-shell gnome-tweak-tool gnome-shell-extensions安装任务栏
在 https://extensions.gnome.org/ 搜索 dash to panel
主题
下载主题一:https://www.pling.com/s/Gnome/p/1099856
下载主题二:https://www.pling.com/s/Gnome/p/1357889 (首选,兰花)
下载后 放入到 .themes 重启 Tweaks
Debian终端走代理及APT走代理
export https_proxy=http://127.0.0.1:7890;
export http_proxy=http://127.0.0.1:7890;
export all_proxy=socks5://127.0.0.1:7890;
sudo apt-get -o Acquire::http::proxy="http://127.0.0.1:7890/" update
#APT 更新走代理Ubuntu开机自动挂载硬盘
1.挂载硬盘
2.查看要挂载分区UUID
sudo blkid3.编辑 /etc/fstab 文件
vim /etc/fstabUUID=* /挂载路径 /分区类型 设置 defaults 0 04.重启电脑
Linux系统下刻录ISO镜像
将U盘插入电脑,用下面命令查看U盘路径
sudo fdisk -l我这里U盘路径是 /dev/sdc ,请自行替换为自己的路径
sudo dd bs=4M if=ISO路径 of=/dev/sdc(U盘路径) status=progress安装 WIfi蓝牙驱动
这好像是我电脑自己的蓝牙模块名词,你自己的蓝牙模块,建议你网上查询相关资料
apt install firmware-b43-installerapt install firmware-b43-installer终端
gnome-terminal


































































































































