diff options
Diffstat (limited to 'misc/sunpinyin/profile.d')
-rw-r--r-- | misc/sunpinyin/profile.d/sunpinyin.csh | 17 | ||||
-rw-r--r-- | misc/sunpinyin/profile.d/sunpinyin.sh | 16 |
2 files changed, 0 insertions, 33 deletions
diff --git a/misc/sunpinyin/profile.d/sunpinyin.csh b/misc/sunpinyin/profile.d/sunpinyin.csh deleted file mode 100644 index 26db802153307..0000000000000 --- a/misc/sunpinyin/profile.d/sunpinyin.csh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/csh - -# SunPinyin is a statistical language model based Chinese input method, which -# was firstly developed by Sun Beijing Globalization team. - -[ -x /usr/bin/xsunpinyin ] -if ($status == 0) then - # Enable legacy X applications to use sunpinyin: - setenv XMODIFIERS="@im=xsunpinyin" - # Enable Qt/KDE applications to use sunpinyin. - setenv QT_IM_MODULE="XIM" - # Enable GTK applications to use sunpinyin: - setenv GTK_IM_MODULE="XIM" - # Make sunpinyin start automatically if the "magic key" Ctrl-Space is pressed: - setenv XIM_PROGRAM="/usr/bin/xsunpinyin -d" -endif - diff --git a/misc/sunpinyin/profile.d/sunpinyin.sh b/misc/sunpinyin/profile.d/sunpinyin.sh deleted file mode 100644 index a53367bbeffc9..0000000000000 --- a/misc/sunpinyin/profile.d/sunpinyin.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# SunPinyin is a statistical language model based Chinese input method, which -# was firstly developed by Sun Beijing Globalization team. - -if [ -x /usr/bin/xsunpinyin ]; then - # Enable legacy X applications to use sunpinyin: - export XMODIFIERS="@im=xsunpinyin" - # Enable Qt/KDE applications to use sunpinyin. - export QT_IM_MODULE=XIM - # Enable GTK applications to use sunpinyin: - export GTK_IM_MODULE=XIM - # Make sunpinyin start automatically if the "magic key" Ctrl-Space is pressed: - export XIM_PROGRAM="/usr/bin/xsunpinyin -d" -fi - |