Linux怎么安装复古终端Cool Retro Term

发布时间:2022-01-27 14:56:08 作者:iii
来源:亿速云 阅读:154

这篇文章主要介绍“Linux怎么安装复古终端Cool Retro Term”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“Linux怎么安装复古终端Cool Retro Term”文章能帮助大家解决问题。

Linux怎么安装复古终端Cool Retro Term

安装

这里只介绍Linux上的安装方法,macOS请参考文档说明或是下载编译好的DMG

使用包管理器

如果你是ArchLinux或Ubuntu用户,可以使用包管理器进行安装,避免繁杂的编译安装过程。

ArchLinux

ArchLinux的官方仓库中已经包含了Cool Retro Term,执行以下命令安装:

 # pacman -S cool-retro-term

或者从AUR安装开发版本:

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

从PPA安装

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

编译安装

依赖

进行编译之前,先要安装一些依赖。不同的发行版所需的依赖不太一样,具体可以参考文档的Dependencies部分

对于ArchLinux来说,应安装这些依赖:

 # pacman -S qt5-base qt5-declarative qt5-quickcontrols qt5-graphicaleffects
编译

依赖装好之后,就可以开始编译了。执行以下命令:

 # 从Github克隆到本地 $ git clone --recursive https://github.com/Swordfish90/cool-retro-term.git  # 开始编译(Fedora 和 OpenSUSE 用户需要使用 qmake-qt5 替换 qmake) $ cd cool-retro-term $ qmake && make

程序编译成功后,就可以使用下面的命令来运行它了:

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

使用

程序带有一些命令行参数,执行cool-retro-term -h可以查看这些参数:

 "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后,默认呈现的就是一台古老的CRT显示器的样子。若不喜欢默认样式,点击Edit-Settings可以进行设置。

Genreal选项卡里的Profile有一些自带的配置文件,点击Load按钮可以加载它们。点击New新建一个配置文件,然后可以进行具体的配置,调整效果实时可见,十分方便。

Linux怎么安装复古终端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怎么安装复古终端Cool Retro Term

Linux怎么安装复古终端Cool Retro Term

Linux怎么安装复古终端Cool Retro Term

Linux怎么安装复古终端Cool Retro Term

Linux怎么安装复古终端Cool Retro Term

关于“Linux怎么安装复古终端Cool Retro Term”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识,可以关注亿速云行业资讯频道,小编每天都会为大家更新不同的知识点。

推荐阅读:
  1. linux下怎么安装rlwrap
  2. Linux中有哪些终端工具

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

linux

上一篇:Linux的eCryptfs怎么使用

下一篇:jstat命令怎么使用

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》