第三章:linux centos7 安裝cmatrix(駭客屏保)
阿新 • • 發佈:2020-12-10
1、安裝ncureses支援包
yum install ncurses* # 安裝相關ncurses支援包
2、下載cmatrix駭客屏保原始碼包,由於是https網站資源需要加--no-check-certificate指令引數
wget --no-check-certificate https://jaist.dl.sourceforge.net/project/cmatrix/cmatrix/1.2a/cmatrix-1.2a.tar.gz
3、解壓縮原始碼包
tar -zxvf cmatrix-1.2a.tar.gz
4、進入原始碼包目錄
cd cmatrix-1.2a/
5、釋放編譯檔案
./configure --prefix=/opt/cmatrix/
6、編譯且安裝
make && make install
7、進入安裝屏保軟體的目錄,執行屏保命令
cd /opt/cmatrix/
./bin/cmatrix
cmatrix使用說明
cmatrix [-abBflohnsVx] [-C color] 選項 -a :非同步滾動(預設) -b :隨機粗體 -B :全部粗體 -f :force the linux $TERM type to be on 求大神解釋 -l :Linux mode (sets "matrix.fnt" font in console) 求大神解釋-o :使用舊風格滾動(不好看) -h :獲得幫助資訊 -n :不使用粗體(預設) -s :"Screensaver" mode,exits on first keystroke 求大神解釋 -x :X window 模式,好像就是顯示的符號不一樣 -V :顯示版本資訊 -u :重新整理頻率,0-9,也就是滾動的快慢 -C :顯示的顏色,支援green(預設),red,blue,white,yellow,cyan, magenta and black
在執行的狀態下,直接按q,即可退出程式
#cmatrix -b 效果如下