發表文章

目前顯示的是有「Ubuntu」標籤的文章

Ubuntu 輸入法消失, 自動重啟命令

1.首先安装fcitx输入法的一堆包 代码:  全选 sudo apt install fcitx-ui-qimpanel fcitx- table fcitx-pinyin fcitx-modules fcitx- module -kimpanel fcitx-libs fcitx-googlepinyin fcitx- bin fcitx- data fcitx fcitx-config-common fcitx-config-gtk fcitx-config-gtk2 fcitx-frontend-all fcitx-frontend-fbterm fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-frontend-qt5 fcitx- module -cloudpinyin fcitx- module -dbus fcitx- module -lua fcitx- module -x11 fcitx-sunpinyin fcitx- table -wubi 2.取消ibus输入源,禁用绑定设定输入法 代码:  全选 gsettings set org.gnome.desktop.input-sources sources [] gsettings set org.gnome.settings-daemon.plugins.keyboard active false gsettings set org.gnome.desktop. interface gtk-im-module 'fcitx' gsettings set org.gnome.settings-daemon.plugins.xsettings overrides { 'Gtk/ShellShowsAppMenu' : < 1 >, 'Gtk/IMModule' : < 'fcitx' >} cat > /usr/share/glib -2.0 /schemas/ 10 _mysettings.gschema. override << "EOF" [...

Ubuntu 18.04 git install

$ sudo apt-get install git 獲取git的版本來檢查git的安裝是否正確 $ git --version    https://ubuntuqa.com/zh-tw/article/7610.html https://samwhelp.github.io/note-ubuntu-18.04/read/project/play-ubuntu-18.04-plan/play-apt/ https://www.itread01.com/content/1546217762.html

Ubuntu 18.04 安裝倉頡輸入法

XFCE4 安裝倉頡輸入法 $ sudo apt-get install fcitx fcitx-ui-classic fcitx-config-gtk $ sudo apt-get install fcitx-table-cangjie5 讓fcitx控制面板可選輸入法(非必要) $ sudo apt-get install fcitx-module-dbus (可選) 如果無法切換輸入法 $ sudo su # echo export GTK_IM_MODULE=fcitx > /etc/profile.d/fcitx.sh # sed -i '$a export QT_IM_MODULE=fcitx' /etc/profile.d/fcitx.sh # sed -i '$a export XMODIFIERS="@im=fcitx"' /etc/profile.d/fcitx.sh ubuntu 18.04 使用 fcitx 取代 ibus sublime text 在 ubuntu 18.04 下依然無法輸入中文,之前的修正方式在預設的 ibus 也無法解決中文輸入的問題,換用 fcitx 之後再修正就可以了 方法 1: 強迫 ibus 不執行 sudo mv /usr/bin/ibus-daemon /usr/bin/ibus-daemon.bak (mv 後空一格, 木daemon 後空一格) kill 掉 ibus-daemon 或重開機 方法 2: 移除 ibus sudo apt remove ibus 方法 2 會在打開語言支援時要求將 ibus 裝回,所以方法 1 似乎是比較好的選擇 安裝 fcitx 與新酷音: sudo apt install fcitx fcitx-chewing 將  語言支援  中的  鍵盤輸入法系統  選擇 fcitx