mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-18 13:18:49 +01:00
Created DevTerm A06 Install ibus cjk input method (markdown)
parent
24a33eeec7
commit
44acd1a88f
31
DevTerm-A06-Install-ibus-cjk-input-method.md
Normal file
31
DevTerm-A06-Install-ibus-cjk-input-method.md
Normal file
@ -0,0 +1,31 @@
|
||||
`sudo apt install ibus ibus-pinyin -y`
|
||||
```
|
||||
cat <<EOF >~/.config/autostart/ibus.desktop
|
||||
[Desktop Entry]
|
||||
Exec=ibus-daemon -drxR
|
||||
GenericName=IBus
|
||||
Name[zh_CN]=IBus
|
||||
Name=IBus
|
||||
Name[en_US]=IBus
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
EOF
|
||||
```
|
||||
|
||||
```
|
||||
sudo bash -c 'cat <<EOF >/etc/profile.d/ibus.sh
|
||||
#!/bin/bash
|
||||
|
||||
export XIM_PROGRAM=ibus
|
||||
export XIM=ibus
|
||||
export XMODIFIERS=@im=ibus
|
||||
export GTK_IM_MODULE=xim
|
||||
export QT_IM_MODULE=ibus
|
||||
EOF'
|
||||
```
|
||||
|
||||
`sudo reboot `
|
||||
|
||||
然后 顶部菜单右上角 右键单击 ibus图标,
|
||||
选择 preferences ,添加(Add) pinyin输入法,默认是 super+空格 开启输入法
|
||||
Loading…
x
Reference in New Issue
Block a user