溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Linux怎么安裝復(fù)古終端Cool Retro Term

發(fā)布時(shí)間:2022-01-27 14:56:08 來源:億速云 閱讀:171 作者:iii 欄目:開發(fā)技術(shù)

這篇文章主要介紹“Linux怎么安裝復(fù)古終端Cool Retro Term”的相關(guān)知識(shí),小編通過實(shí)際案例向大家展示操作過程,操作方法簡(jiǎn)單快捷,實(shí)用性強(qiáng),希望這篇“Linux怎么安裝復(fù)古終端Cool Retro Term”文章能幫助大家解決問題。

Linux怎么安裝復(fù)古終端Cool Retro Term

安裝

這里只介紹Linux上的安裝方法,macOS請(qǐng)參考文檔說明或是下載編譯好的DMG

使用包管理器

如果你是ArchLinux或Ubuntu用戶,可以使用包管理器進(jìn)行安裝,避免繁雜的編譯安裝過程。

ArchLinux

ArchLinux的官方倉庫中已經(jīng)包含了Cool Retro Term,執(zhí)行以下命令安裝:

 # pacman -S cool-retro-term

或者從AUR安裝開發(fā)版本:

 $ yaourt -S cool-retro-term-git
Ubuntu

從PPA安裝

 # add-apt-repository ppa:noobslab/apps # apt-get update # apt-get install cool-retro-term

編譯安裝

依賴

進(jìn)行編譯之前,先要安裝一些依賴。不同的發(fā)行版所需的依賴不太一樣,具體可以參考文檔的Dependencies部分

對(duì)于ArchLinux來說,應(yīng)安裝這些依賴:

 # pacman -S qt5-base qt5-declarative qt5-quickcontrols qt5-graphicaleffects
編譯

依賴裝好之后,就可以開始編譯了。執(zhí)行以下命令:

 # 從Github克隆到本地 $ git clone --recursive https://github.com/Swordfish90/cool-retro-term.git  # 開始編譯(Fedora 和 OpenSUSE 用戶需要使用 qmake-qt5 替換 qmake) $ cd cool-retro-term $ qmake && make

程序編譯成功后,就可以使用下面的命令來運(yùn)行它了:

 $ ./cool-retro-term
添加至程序菜單
 # cp cool-retro-term.desktop /usr/share/applications

使用

程序帶有一些命令行參數(shù),執(zhí)行cool-retro-term -h可以查看這些參數(shù):

 "Usage: cool-retro-term [--default-settings] [--workdir] [--program] [-p|--profile] [--fullscreen] [-h|--help]"   --default-settings  Run cool-retro-term with the default settings   --workdir    Change working directory to 'dir'   -e           Command to execute. This option will catch all following arguments, so use it as the last option.   --fullscreen        Run cool-retro-term in fullscreen.   -p|--profileRun cool-retro-term with the given profile.   -h|--help           Print this help.   --verbose           Print additional information such as profiles and settings.

打開Cool Retro Term后,默認(rèn)呈現(xiàn)的就是一臺(tái)古老的CRT顯示器的樣子。若不喜歡默認(rèn)樣式,點(diǎn)擊Edit-Settings可以進(jìn)行設(shè)置。

Genreal選項(xiàng)卡里的Profile有一些自帶的配置文件,點(diǎn)擊Load按鈕可以加載它們。點(diǎn)擊New新建一個(gè)配置文件,然后可以進(jìn)行具體的配置,調(diào)整效果實(shí)時(shí)可見,十分方便。

Linux怎么安裝復(fù)古終端Cool Retro Term

我的配置文件

 {   "ambientLight": 0.05,   "backgroundColor": "#000000",   "bloom": 0.55,   "brightness": 0.5,   "burnIn": 0.4,   "chromaColor": 0,   "contrast": 0.85,   "customCommand": "",   "flickering": 0.05,   "fontColor": "#ff8100",   "fontName": "APPLE_II",   "fontWidth": 0.95,   "frameName": "SIMPLE_WHITE_FRAME",   "glowingLine": 0.25,   "horizontalSync": 0.15,   "jitter": 0.1,   "rasterization": 2,   "rbgShift": 0,   "saturationColor": 0.1,   "screenCurvature": 0.1,   "staticNoise": 0.1,   "useCustomCommand": false,   "windowOpacity": 1,   "name": "Wasteland" }

幾張截圖

Linux怎么安裝復(fù)古終端Cool Retro Term

Linux怎么安裝復(fù)古終端Cool Retro Term

Linux怎么安裝復(fù)古終端Cool Retro Term

Linux怎么安裝復(fù)古終端Cool Retro Term

Linux怎么安裝復(fù)古終端Cool Retro Term

關(guān)于“Linux怎么安裝復(fù)古終端Cool Retro Term”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識(shí),可以關(guān)注億速云行業(yè)資訊頻道,小編每天都會(huì)為大家更新不同的知識(shí)點(diǎn)。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI