2020年10月15日木曜日

xrdpで日本語入力 - openSUSE leap 15.2(KDE)

~/.profile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS="@im=ibus"
 
 /etc/xrdp/startwm.sh

pre_start
#追加
if [ -r ~/.profile ];then
  . ~/.profile
  ibus-daemon -d
fi

wm_start
post_start

2020年3月6日金曜日

日本語入力 - manjaro

$ pacman -S fcitx fcitx-mozc fcitx-gtk2 fcitx-gtk3 fcitx-qt5
$ pacman -S kcm-fcitx (KDE用)

~/.xprofile
export LANG="ja_JP.UTF-8"
export XMODIFIERS="@im=fcitx"
export XMODIFIER="@im=fcitx"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export DefaultIMModule=fcitx

 https://wiki.manjaro.org/index.php?title=%E6%97%A5%E6%9C%AC%E8%AA%9E%E3%81%AE%E8%A8%AD%E5%AE%9A

xrdp用
/etc/xrdp/startwm.sh
# auth ...
#追加
if [ -r ~/.xprofile ];then
  . ~/.xprofile
fi

wm start
exit 1

xrdp + Xorg - manjaro

$ yay -S xrdp xorgxrdp

/etc/xrdp/sesman.ini
[Xorg]
#param=Xorg
param=/usr/lib/Xorg