Mar 6, 2007

ubuntu 下安裝 skype 的問題

於ubuntu上使用SCIM,又同時想使用SKYPE時,會出現qt的問題,剛於GOOGLD上找到決解的方法,FourDollars Blog:ubuntu 6.06 dapper 安裝筆記
可以使用下面script
sudo touch /etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export GTK_IM_MODULE="scim-bridge"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export QT_IM_MODULE="xim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'scim -f x11 -d' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'scim -f socket -d' >>/etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 644 /etc/X11/Xsession.d/74custom-scim_startup
其實這最主的要目地是把QT_IM_MODULE=scim改成xim,這樣就不會有問題了,之後再裝skype安裝軟體
sudo apt-get install libqt3-mt qt3-qtconfig gtk2-engines-gtk-qt skype

No comments: