此文章记录一些常用命令, 以备不时需
配置文件
/etc/apt/sources.list
## Generated by deepin-installer deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free #deb-src https://community-packages.deepin.com/deepin/ apricot main contrib non-free deb http://mirrors.ustc.edu.cn/CRAN/bin/linux/debian buster-cran40/ deb https://typora.io/linux ./
常用命令
xrandr调整亮度
xrandr --output eDP --brightness 0.5
镜像设置
pip设置镜像
以tuna镜像为例
临时设置
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xxx
永久设置
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple