Difference between revisions of "Fbterm"

From ArchWiki
Jump to: navigation, search
(White font color)
(clean up and restructure a bit)
Line 1: Line 1:
 
[[Category:Terminal emulators (English)]]
 
[[Category:Terminal emulators (English)]]
 
{{i18n|Fbterm}}
 
{{i18n|Fbterm}}
{{stub}}
+
{{Expansion}}
  
Fbterm is a '''F'''rame '''b'''uffer '''term'''inal emulator that can function outside of Xorg.
+
'''Fbterm''' ('''F'''rame '''b'''uffer '''term'''inal emulator) is standalone replacement of Linux kernel terminal that can function outside of [[Xorg]].
  
 +
== Features ==
 
From http://code.google.com/p/fbterm/:
 
From http://code.google.com/p/fbterm/:
  
Line 20: Line 21:
 
:*''background image for eye candy''
 
:*''background image for eye candy''
  
==Installation==
+
== Installation ==
Fbterm is available from the [[AUR]] package {{Package AUR|fbterm}}.
+
Fbterm is available from the [[AUR]] package {{AUR|fbterm}}.
  
 
After installation, mind the additional instructions:
 
After installation, mind the additional instructions:
Line 31: Line 32:
 
  sudo chmod u+s /usr/bin/fbterm
 
  sudo chmod u+s /usr/bin/fbterm
  
==Customization==
+
== Customization ==
===Fonts===
+
=== Fonts ===
 
Fbterm uses [[Wikipedia:fontconfig|fontconfig]] for a list of fonts, trying each sequentially until it is able to render the characters.  
 
Fbterm uses [[Wikipedia:fontconfig|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 {{Codeline|--font-names}} option to select favorites from the list given by {{Codeline|fc-list}}.
+
To change the fonts that are used, use the {{Codeline|--font-names}} option to select favorites from the list given by {{Ic|fc-list}}.
 
+
===Input method support===
+
  
 +
=== Input method support ===
 
Fbterm supports diverse [[Wikipedia:Input method|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]].
 
Fbterm supports diverse [[Wikipedia:Input method|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]].
==Tips and tricks==
+
 
===Background image===
+
== Tips and tricks ==
 +
=== Background image ===
 
To use a background image, Fbterm can be set to take a screen shot of the frame buffer device when it starts.
 
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 {{pkg|fbv}} image viewer from [community]) is recommended in the man page:
+
The following script (using the {{Pkg|fbv}} image viewer) is recommended in the man page:
  
 
  #!/bin/bash
 
  #!/bin/bash
Line 56: Line 57:
 
  export FBTERM_BACKGROUND_IMAGE=1
 
  export FBTERM_BACKGROUND_IMAGE=1
 
  exec fbterm "$@"
 
  exec fbterm "$@"
===White font color===
+
 
 +
=== White font color ===
 
By default, fbterm display the "white" text as a gray color, even using the -f 7 switch.
 
By default, fbterm display the "white" text as a gray color, even using the -f 7 switch.
 
Its posible to get real white by doing an echo once inside fbterm, like this
 
Its posible to get real white by doing an echo once inside fbterm, like this
 
  echo -en "\e]P7ffffff"
 
  echo -en "\e]P7ffffff"

Revision as of 06:44, 23 January 2012

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 – فارسی

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Fbterm#)

Fbterm (Frame buffer terminal emulator) is standalone replacement of Linux kernel terminal that can function outside of Xorg.

Features

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:
  • mostly as fast as terminal of linux kernel while accelerated scrolling is enabled
  • select font with fontconfig and draw text with freetype2, same as Qt/Gtk+ based GUI apps
  • dynamically create/destroy up to 10 windows initially running default shell
  • record scroll-back history for every window
  • auto-detect text encoding with current locale, support double width scripts like Chinese, Japanese etc
  • switch between configurable additional text encodings with hot keys on the fly
  • copy/past selected text between windows with mouse when gpm server is running
  • change the orientation of screen display, a.k.a. screen rotation
  • lightweight input method framework with client-server architecture
  • background image for eye candy

Installation

Fbterm is available from the AUR package fbtermAUR.

After installation, mind the additional instructions:

==> To run fbterm as a non-root user, do:
sudo gpasswd -a YOUR_USERNAME video
==> To enable keyboard shortcuts for non-root users, do:
sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
or
sudo chmod u+s /usr/bin/fbterm

Customization

Fonts

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 fc-list.

Input method support

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.

Tips and tricks

Background image

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) 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 "$@"

White font color

By default, fbterm display the "white" text as a gray color, even using the -f 7 switch. Its posible to get real white by doing an echo once inside fbterm, like this

echo -en "\e]P7ffffff"