Scroll to navigation

XFCE4-TERMINAL(1) Xfce XFCE4-TERMINAL(1)

NAME

xfce4-terminal - X 终端模拟器

摘要

xfce4-terminal [选项...]

描述

xfce4-terminal 即众所周知的 X 终端模拟器,常被称作终端或 shell。它在您桌面上提供了一个老式的文本界面等价物,但可以方便地与其它图形应用程序共享屏幕。Windows 用户可能已熟悉 MS-DOS 提示符这个在 Windows 下提供类似 DOS 命令行功能的工具,然而您必须注意到 UNIX CLI 比 DOS 提供更为强大的功能和更方便的使用方式。
xfce4-terminal 模拟 X 组织开发的 xterm 应用程序。按顺序,xterm 应用程序模拟 DEC VT102 终端且也支持 DEC VT220 转义序列。转义序列是以 Esc 字符开始的一组字符。xfce4-terminal 接受所有 VT102 和 VT220 终端用以定位光标和清除屏幕等功能的转义序列。

选项

选项摘要

这是按类型分组的所有选项的摘要。具体解释在后续章节。
一般选项
-h--help; -V--version; --disable-server; --color-table; --default-display=显示; --default-working-directory=目录
窗口或标签分隔符
--tab; --window
标签选项
-x--execute; -e--command= 命令; --working-directory= 目录; -T--title=标题; -H--hold
窗口选项
--display=显示; --drop-down; --geometry=几何属性; --role= 识别码; --startup-id= 字符串; -I,--icon= 图标; --fullscreen; --maximize; --show-menubar, --hide-menubar; --show-borders, --hide-borders; --show-toolbar, --hide-toolbar

一般选项

-h--help
列出 xfce4-terminal 支持的各种命令行选项并退出
-V--version
显示版本信息并退出
--disable-server
不用 D-BUS 会话消息总线注册
--color-table
Echo the color codes
--default-display=显示
默认使用的 X 显示。
--default-working-directory=目录
设置 目录 为终端的默认工作目录

窗口或标签分隔符

--tab
在上次指定的窗口中打开新标签;可以使用多个该选项。
If you use this as the first option, without --window separators, the last window will be re-used.
--window
打开一个包含单个标签的新窗口;可以使用多个该选项。

标签选项

-x--execute
在终端中执行命令行的剩余部分
-e--command=命令
在终端中执行 命令
--working-directory=目录
设置 目录 为终端的工作目录
-T--title=标题
设置 标题 为终端的初始窗口标题
-H--hold
使终端在子命令终止后继续工作

窗口选项

--display=显示
用于上次指定的窗口的 X 显示。
--drop-down
Will start the window in drop-down mode (also called a Quake-style terminal). This will only apply to the first window started with this option. It is advised to bind this to a shortcut in the keyboard preferences.
--geometry=几何属性
设置上次指定的窗口的几何形状为 几何形状。阅读 X(7) 获取更多有关如何指定窗口的信息。
--role=识别码
Sets the window role of the last-specified window to role. Applies to only one window and can be specified once for each window you create from the command line. The role is a unique identifier for the window to be used when restoring a session.
--startup-id=字符串
设置上次指定的窗口的启动通知标识符。用于使用 D-BUS 服务时在内部传送启动提示标识符。
-I,--icon=图标
设置终端的图标作为图标名称或文件名。
--fullscreen
设置上次指定的窗口为全屏模式;只对一个窗口生效;对每个您从命令行创建的窗口只能指定一次。
--maximize
设置上次指定的窗口为最大化模式;只对一个窗口生效;对每个您从命令行创建的窗口只能指定一次。
--show-menubar
设置上次指定的窗口显示菜单栏。对每个您从命令行创建的窗口只能指定一次。
--hide-menubar
设置上次指定的窗口不显示菜单栏。对每个您从命令行创建的窗口只能指定一次。
--show-borders
设置上次指定的窗口显示窗口修饰。只对一个窗口生效。对每个您从命令行创建的窗口只能指定一次。
--hide-borders
设置上次指定的窗口不显示窗口修饰。只对一个窗口生效。对每个您从命令行创建的窗口只能指定一次。
--show-toolbar
Turn on the toolbar for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.
--hide-toolbar
Turn off the toolbar for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.

例子

xfce4-terminal --geometry 80x40 --command mutt --tab --command mc
打开一个 80 列 40 行几何形状且有两个标签的新终端窗口,第一个标签运行程序 mutt,第二个标签运行 mc

环境

xfce4-terminal uses the Basedir Specification as defined on Freedesktop.org[1] to locate its data and configuration files. This means that file locations will be specified as a path relative to the directories described in the specification.
${XDG_CONFIG_HOME}
第一个基本目录去找配置文件。其默认设为 ~/.config/。
${XDG_CONFIG_DIRS}
以冒号分隔包含配置数据的基本目录列表。应用程序默认会在 ${sysconfdir}/xdg/ 中查找。 ${sysconfdir} 值取决于程序如何编译且对于二进制软件包通常为 /etc/。
${XDG_DATA_HOME}
用于用户个人数据文件的根目录。默认设置为 ~/.local/share/。
${XDG_DATA_DIRS}
一系列优先排列的除 ${XDG_DATA_HOME} 基本目录之外与搜索数据文件有关的基本目录。这些目录之间应该以冒号分隔。

文件

${XDG_CONFIG_DIRS}/xfce4/terminal/terminalrc
这是包含控制 xfce4-terminal 感观的首选项的配置文件的位置。

参见

bash(1), X(7)

AUTHORS

Nick Schermer <nick@xfce.org>
开发者
Benedikt Meurer <benny@xfce.org>
 
软件开发者, os-cillation, 系统开发,
开发者

NOTES

1.
Freedesktop.org
12/26/2013 xfce4-terminal 0.6.3