Fbterm (简体中文)

From ArchWiki
Revision as of 00:28, 7 November 2011 by Jobinson99 (talk | contribs) (Created page with "Category:Terminal emulators (Chinese) {{i18n|Fbterm}} {{stub}} Fbterm is a '''F'''rame '''b'''uffer '''term'''inal emulator that can function outside of Xorg. From http://c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی


Fbterm is a Frame buffer terminal emulator that can function outside of Xorg.

From http://code.google.com/p/fbterm/:

FbTerm is a fast terminal emulator for linux with frame buffer device or VESA video card. Features include:
  • 若加速滚动开启的话,速度可和linux核心的终端媲美
  • 使用fontconfig选择字体,和Qt/GTK+上用的应用一样,使用freetype2来绘制自体
  • 动态创建和销毁最多10个原生运行默认shell的窗口
  • 记录任何窗口的回滚历史
  • 自动检测目前本地化环境下的文本内码,支持双字节脚本,比如中文、日文等
  • 在线热键切换配置的额外文本内码
  • 当gpm服务器运行时,可使用鼠标在窗口间复制和粘帖选择的文本
  • 可改屏幕显示方式,比如:屏幕翻转
  • 端/服结构(client-server)的轻量级输入框架
  • 背景图

安装

Fbterm目前位于用户维护组AURTemplate:Package AUR,可使用yaourt来查找并安装。

安装完成之后,请注意其后续说明:

==> 若想使用非根用户运行fbterm,需要把用户加入video组:
sudo gpasswd -a YOUR_USERNAME video
==> 若想非根用户可使用键盘快捷方式,需要:
sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
或者:
sudo chmod u+s /usr/bin/fbterm


自定义

字体

Fbterm uses fontconfig for a list of fonts, trying each sequentially until it is able to render the characters.

To change the fonts that are used, use the Template:Codeline option to select favorites from the list given by Template:Codeline.

背景图

To use a background image, Fbterm can be set to take a screen shot of the frame buffer device when it starts.

The following script (using the fbv image viewer from [community]) is recommended in the man page:

#!/bin/bash
# fbterm-bi: a wrapper script to enable background image with fbterm
# usage: fbterm-bi /path/to/image fbterm-options
echo -ne "\e[?25l" # hide cursor
fbv -ciuker "$1" << EOF
q
EOF
shift
export FBTERM_BACKGROUND_IMAGE=1
exec fbterm "$@"

输入法支持

目前,Fbterm支持两种输入法框架,分别是:fbterm-ucimf ibus-fbterm

Fbterm supports diverse input methods by acting as a client for an independent input method framework server. Several such programs are available for Arch, see Internationalisation#Input methods.