====== Linux Mint 20.04 on a Portable USB ====== ===== 1 USB ===== 首先,把linux Mint真正安装在一个速度比较快的USB上。注意,不是用Rufus制作一个Live版的USB,而是真正的、实实在在的安装。然后做如下软件的配置即可。 ===== 2 "apt install ..." ===== 10 apt install htop 11 apt install dfc tree mc vim 12 apt install lftp wget 15 apt install gcc g++ gfortran 19 apt install make cmake 22 apt install netcdf-bin 23 apt install nco cdo 28 apt install ncview 29 apt install grads 33 apt install ncl-ncarg 34 apt install tcsh 35 apt install ksh 36 apt install mupdf feh 38 apt install imagemagick 74 apt install w3m 81 apt install ipython3 103 apt install powerline # source /usr/share/powerline/bindings/bash/powerline.sh 117 apt install xfonts-intl-chinese 118 apt install xfonts-intl-chinese-big xfonts-intl-asian fonts-arphic-* Optional apt install mate-backgrounds mint-backgrounds-* apt install firefox-locale-zh-han* ===== 3 Chinese Input ===== 一定要用ibus框架,在里面再装中文,把切换快捷键改为ctrl+space,很好用。别忘了安装些中文字体,具体如上最后两条。 ===== 4 grub customizer ===== 有一个很棒的配置grub的gui工具,要想更方便低配置grub,可以用。比cli手动配置强多了。 apt install grub-customizer ===== 5 powerline ===== 为把命令行prompt装饰的漂亮一些,用powerline,一个python写的给shell和vim用的小程序 安装 apt install powerline 然后在每个需要用它的账户.bashrc里加载如下脚本即可 source /usr/share/powerline/bindings/bash/powerline.sh ===== 6 lftp 访问不了cs服务器 ===== 只需要把/etc/lftp.conf中的如下一行注释取消即可,不允许lftp尝试用passive mode连接ftp,否则就永远停留在Making data connection...这一步。 #对于Linux Mint: sudo vi /etc/lftp.conf set ftp:passive-mode off #对于MacOS(用Homebrew安装了lftp): sudo vi /usr/local/etc/lftp.conf set ftp:passive-mode off