0
点赞
收藏
分享

微信扫一扫

Debian linux版本下运行的openmediavault网盘 千兆网卡升级万兆

IT程序员 04-03 17:30 阅读 1

1. XP风格任务栏

安装 debian-live-12.5.0-amd64-xfce.iso 后,把下面的任务栏删除,把上面的任务栏移到下面,然后设置如下选项

2. 命令自动补全

sudo apt install bash-completion

3. 找不到命令

sudo apt install command-not-found
sudo reboot
sudo apt update

如果报错如下:

Could not find the database of available applications, run update-command-not-found as root to fix this
Sorry, command-not-found has crashed! Please file a bug report at:
http://www.debian.org/Bugs/Reporting
Please include the following information with the report:

command-not-found version: 0.3
Python version: 3.7.3 final 0
Distributor ID:	Debian
Description:	Debian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
Exception information:

local variable 'cnf' referenced before assignment
Traceback (most recent call last):
  File "/usr/share/command-not-found/CommandNotFound/util.py", line 23, in crash_guard
    callback()
  File "/usr/lib/command-not-found", line 93, in main
    if not cnf.advise(args[0], options.ignore_installed) and not options.no_failure_msg:
UnboundLocalError: local variable 'cnf' referenced before assignment

可以通过命令

sudo apt update

来解决

4. 卸载libreoffice

sudo apt purge libreoffice-common -y

5. 修复vim无法用鼠标右键粘贴

打开文件/usr/share/vim/vim82/defaults.vim,修改

set mouse=a

set mouse-=a
举报

相关推荐

0 条评论