summaryrefslogtreecommitdiff
path: root/community/fcitx-fbterm/fcitx-fbterm.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcitx-fbterm/fcitx-fbterm.install')
-rw-r--r--community/fcitx-fbterm/fcitx-fbterm.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/fcitx-fbterm/fcitx-fbterm.install b/community/fcitx-fbterm/fcitx-fbterm.install
new file mode 100644
index 000000000..cca516725
--- /dev/null
+++ b/community/fcitx-fbterm/fcitx-fbterm.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo "$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm"
+ echo "or"
+ echo "$ sudo chmod u+s /usr/bin/fbterm"
+
+ echo "Do above once,Then launch fbterm with fcitx"
+ echo "$ fcitx-fbterm-helper -l"
+}
+post_upgrade() {
+ echo "$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm"
+ echo "or"
+ echo "$ sudo chmod u+s /usr/bin/fbterm"
+
+ echo "Do above once,Then launch fbterm with fcitx"
+ echo "$ fcitx-fbterm-helper -l"
+}