Difference between revisions of "Fbterm"
Jump to navigation
Jump to search
Weng Xuetian (talk | contribs) (Created page with "<languages /> <translate> {{infobox tool |name = fcitx-fbterm |screenshot = 200px |caption2 = fbterm suppor...") |
Weng Xuetian (talk | contribs) (Marked this version for translation) |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
+ | <!--T:1--> | ||
{{infobox tool | {{infobox tool | ||
|name = fcitx-fbterm | |name = fcitx-fbterm | ||
Line 13: | Line 14: | ||
}} | }} | ||
− | == Intro == | + | == Intro == <!--T:2--> |
Let you use fcitx under [http://code.google.com/p/fbterm/|fbterm]. | Let you use fcitx under [http://code.google.com/p/fbterm/|fbterm]. | ||
− | == Prepare == | + | == Prepare == <!--T:3--> |
Make fbterm can use input method. | Make fbterm can use input method. | ||
− | sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm | + | <!--T:4--> |
+ | sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm | ||
+ | <!--T:5--> | ||
or | or | ||
− | sudo chmod u+s /usr/bin/fbterm | + | <!--T:6--> |
+ | sudo chmod u+s /usr/bin/fbterm | ||
− | == Launch fbterm == | + | == Launch fbterm == <!--T:7--> |
=== With X === | === With X === | ||
For example, if your X is :0 (by default, if you only have one X server). | For example, if your X is :0 (by default, if you only have one X server). | ||
− | export DISPLAY=:0 | + | <!--T:8--> |
+ | export DISPLAY=:0 | ||
fcitx-fbterm-helper | fcitx-fbterm-helper | ||
+ | <!--T:9--> | ||
If no error output, it will work. | If no error output, it will work. | ||
− | === Without X or have problem === | + | === Without X or have problem === <!--T:10--> |
fcitx-fbterm-helper -l | fcitx-fbterm-helper -l | ||
+ | <!--T:11--> | ||
It will launch a new dbus daemon and new fcitx. There is a message indicating that there should be only fcitx running. So run | It will launch a new dbus daemon and new fcitx. There is a message indicating that there should be only fcitx running. So run | ||
− | killall fcitx | + | <!--T:12--> |
+ | killall fcitx | ||
+ | <!--T:13--> | ||
before you start execute fcitx-fbterm-helper. | before you start execute fcitx-fbterm-helper. | ||
+ | <!--T:14--> | ||
Unreleased fcitx-fbterm 0.1.4's fcitx-fbterm-helper can kill dbus-daemon and fcitx when fbterm quits, you can grab the script [https://github.com/fcitx/fcitx-fbterm/blob/master/scripts/fcitx-fbterm-helper|here]. It's ok to run it from anywhere so you don't need to replace the system script. | Unreleased fcitx-fbterm 0.1.4's fcitx-fbterm-helper can kill dbus-daemon and fcitx when fbterm quits, you can grab the script [https://github.com/fcitx/fcitx-fbterm/blob/master/scripts/fcitx-fbterm-helper|here]. It's ok to run it from anywhere so you don't need to replace the system script. | ||
</translate> | </translate> |
Revision as of 09:39, 5 May 2012
Version | 0.1.3 |
---|---|
Dependency | fbterm |
Written In | C |
License | GPLv2 |
Website | http://github.com/fcitx/fcitx-fbterm |
Intro
Let you use fcitx under [1].
Prepare
Make fbterm can use input method.
sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
or
sudo chmod u+s /usr/bin/fbterm
Launch fbterm
With X
For example, if your X is :0 (by default, if you only have one X server).
export DISPLAY=:0 fcitx-fbterm-helper
If no error output, it will work.
Without X or have problem
fcitx-fbterm-helper -l
It will launch a new dbus daemon and new fcitx. There is a message indicating that there should be only fcitx running. So run
killall fcitx
before you start execute fcitx-fbterm-helper.
Unreleased fcitx-fbterm 0.1.4's fcitx-fbterm-helper can kill dbus-daemon and fcitx when fbterm quits, you can grab the script [2]. It's ok to run it from anywhere so you don't need to replace the system script.