当前位置:   article > 正文

debian的使用笔记

debian的使用笔记

1. XP风格任务栏

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

2. 命令自动补全

sudo apt install bash-completion

3. 找不到命令

  1. sudo apt install command-not-found
  2. sudo reboot
  3. sudo apt update

如果报错如下:

  1. Could not find the database of available applications, run update-command-not-found as root to fix this
  2. Sorry, command-not-found has crashed! Please file a bug report at:
  3. http://www.debian.org/Bugs/Reporting
  4. Please include the following information with the report:
  5. command-not-found version: 0.3
  6. Python version: 3.7.3 final 0
  7. Distributor ID: Debian
  8. Description: Debian GNU/Linux 10 (buster)
  9. Release: 10
  10. Codename: buster
  11. Exception information:
  12. local variable 'cnf' referenced before assignment
  13. Traceback (most recent call last):
  14. File "/usr/share/command-not-found/CommandNotFound/util.py", line 23, in crash_guard
  15. callback()
  16. File "/usr/lib/command-not-found", line 93, in main
  17. if not cnf.advise(args[0], options.ignore_installed) and not options.no_failure_msg:
  18. 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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/388419
推荐阅读
相关标签
  

闽ICP备14008679号