事实证明,wine是可以正常输入中文的。

重复贴和参考价值不大的帖子,版主维护
回复
Longerz
帖子: 34
注册时间: 2008-06-29 12:02
送出感谢: 0
接收感谢: 0

事实证明,wine是可以正常输入中文的。

#1

帖子 Longerz » 2008-07-12 21:55

如图。。。
附件
Screenshot-1.jpg
wine scim
头像
pentie
帖子: 228
注册时间: 2007-08-27 22:03
来自: http://apt-blog.co.cc/
送出感谢: 0
接收感谢: 0

#2

帖子 pentie » 2008-07-12 22:29

:shock:

太强大了……我被雷倒了……
头像
solcomo
帖子: 2838
注册时间: 2007-04-25 13:12
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 solcomo » 2008-07-12 22:31

打雷了 下雨了
wdboss
帖子: 240
注册时间: 2007-09-12 10:30
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 wdboss » 2008-07-12 22:49

好水的帖子。。。
头像
windowssux
帖子: 618
注册时间: 2006-08-06 16:58
来自: 北海
送出感谢: 0
接收感谢: 1 次

#5

帖子 windowssux » 2008-07-12 23:11

支持
Longerz
帖子: 34
注册时间: 2008-06-29 12:02
送出感谢: 0
接收感谢: 0

#6

帖子 Longerz » 2008-07-13 0:47

我不是“周老虎”,干嘛被雷到?也没有用ubuntu,但是应该都是相通的。算了睡觉了。
Longerz
帖子: 34
注册时间: 2008-06-29 12:02
送出感谢: 0
接收感谢: 0

先自行备份

#7

帖子 Longerz » 2008-07-13 9:26

唉,我的帖子怎么到了这里。。。:roll: :roll:
有关文件如下,大家不妨一试:
/etc/scim/config :

# This file is encoded in UTF-8 encoding.

/DefaultIMEngineFactory/zh_CN = 05235cfc-43ce-490c-b1b1-c5a2185276ae
/FrontEnd/IMOpenedByDefault = true
/FrontEnd/SharedInputMethod = true

/FrontEnd/OnTheSpot = true
/FrontEnd/ChangeFactoryGlobally = false
/FrontEnd/Socket/ConfigReadOnly = false
/FrontEnd/Socket/MaxClients = 512
/FrontEnd/X11/BrokenWchar = true
/FrontEnd/X11/Dynamic = false
/FrontEnd/X11/OnTheSpot = true
/FrontEnd/X11/ServerName = SCIM
#/Hotkeys/FrontEnd/NextFactory = Control+Alt+Down,Shift+Control+KeyRelease+Shift_L,Shift+Control+KeyRelease+Shift_R
#/Hotkeys/FrontEnd/PreviousFactory = Control+Alt+Up,Shift+Control+KeyRelease+Control_L,Shift+Control+KeyRelease+Control_R
#/Hotkeys/FrontEnd/ShowFactoryMenu = Control+Alt+Right
/Hotkeys/FrontEnd/Trigger = Control+space
#/Hotkeys/FrontEnd/ValidKeyMask = Shift+Control+Alt+CapsLock+Meta+QuirkKanaRo
/Panel/Gtk/Color/ActiveBackground = light sky blue
/Panel/Gtk/Color/ActiveText = black
/Panel/Gtk/Color/NormalBackground = #F7F3F7
/Panel/Gtk/Color/NormalText = black
/Panel/Gtk/Font = default
/Panel/Gtk/DefaultSticked = false
/Panel/Gtk/LookupTableEmbedded = true
/Panel/Gtk/LookupTableVertical = false
/Panel/Gtk/ShowStatusBox = false
/Panel/Gtk/ShowTrayIcon = true
/Panel/Gtk/ToolBar/AlwaysShow = false
/Panel/Gtk/ToolBar/AutoSnap = true
/Panel/Gtk/ToolBar/HideTimeout = 2
/Panel/Gtk/ToolBar/POS_X = -1
/Panel/Gtk/ToolBar/POS_Y = -1
/Panel/Gtk/ToolBar/ShowHelpIcon = true
/Panel/Gtk/ToolBar/ShowFactoryIcon = true
/Panel/Gtk/ToolBar/ShowFactoryName = true
/Panel/Gtk/ToolBar/ShowMenuIcon = true
/Panel/Gtk/ToolBar/ShowSetupIcon = true
/Panel/Gtk/ToolBar/ShowStickIcon = false
/IMEngine/RawCode/Locales = default
/etc/scim/global :


/SupportedUnicodeLocales = en_US.UTF-8
/DefaultPanelProgram = scim-panel-gtk
/DefaultConfigModule = simple
/DefaultSocketFrontEndAddress = local:/tmp/scim-socket-frontend
/DefaultSocketIMEngineAddress = local:/tmp/scim-socket-frontend
/DefaultSocketConfigAddress = local:/tmp/scim-socket-frontend
/DefaultPanelSocketAddress = local:/tmp/scim-panel-socket
/DefaultHelperManagerSocketAddress = local:/tmp/scim-helper-manager-socket
/DefaultSocketTimeout = 5000
$HOME/.xinitrc:
export XMODIFIERS="@im=scim"
export XIM="scim"
export XIM_PROGRAM="scim"
export XIM_ARGS="-d"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

/etc/gtk-2.0/gtk.immodules:

...
#"/usr/lib/gtk-2.0/immodules/im-scim.so"
#"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja:ko:zh"
头像
hizjz
帖子: 226
注册时间: 2007-09-16 13:33
送出感谢: 0
接收感谢: 0

Re: 先自行备份

#8

帖子 hizjz » 2008-07-14 19:08

Longerz 写了:唉,我的帖子怎么到了这里。。。:roll: :roll:
有关文件如下,大家不妨一试:
/etc/scim/config :

# This file is encoded in UTF-8 encoding.

/DefaultIMEngineFactory/zh_CN = 05235cfc-43ce-490c-b1b1-c5a2185276ae
/FrontEnd/IMOpenedByDefault = true
/FrontEnd/SharedInputMethod = true

/FrontEnd/OnTheSpot = true
/FrontEnd/ChangeFactoryGlobally = false
/FrontEnd/Socket/ConfigReadOnly = false
/FrontEnd/Socket/MaxClients = 512
/FrontEnd/X11/BrokenWchar = true
/FrontEnd/X11/Dynamic = false
/FrontEnd/X11/OnTheSpot = true
/FrontEnd/X11/ServerName = SCIM
#/Hotkeys/FrontEnd/NextFactory = Control+Alt+Down,Shift+Control+KeyRelease+Shift_L,Shift+Control+KeyRelease+Shift_R
#/Hotkeys/FrontEnd/PreviousFactory = Control+Alt+Up,Shift+Control+KeyRelease+Control_L,Shift+Control+KeyRelease+Control_R
#/Hotkeys/FrontEnd/ShowFactoryMenu = Control+Alt+Right
/Hotkeys/FrontEnd/Trigger = Control+space
#/Hotkeys/FrontEnd/ValidKeyMask = Shift+Control+Alt+CapsLock+Meta+QuirkKanaRo
/Panel/Gtk/Color/ActiveBackground = light sky blue
/Panel/Gtk/Color/ActiveText = black
/Panel/Gtk/Color/NormalBackground = #F7F3F7
/Panel/Gtk/Color/NormalText = black
/Panel/Gtk/Font = default
/Panel/Gtk/DefaultSticked = false
/Panel/Gtk/LookupTableEmbedded = true
/Panel/Gtk/LookupTableVertical = false
/Panel/Gtk/ShowStatusBox = false
/Panel/Gtk/ShowTrayIcon = true
/Panel/Gtk/ToolBar/AlwaysShow = false
/Panel/Gtk/ToolBar/AutoSnap = true
/Panel/Gtk/ToolBar/HideTimeout = 2
/Panel/Gtk/ToolBar/POS_X = -1
/Panel/Gtk/ToolBar/POS_Y = -1
/Panel/Gtk/ToolBar/ShowHelpIcon = true
/Panel/Gtk/ToolBar/ShowFactoryIcon = true
/Panel/Gtk/ToolBar/ShowFactoryName = true
/Panel/Gtk/ToolBar/ShowMenuIcon = true
/Panel/Gtk/ToolBar/ShowSetupIcon = true
/Panel/Gtk/ToolBar/ShowStickIcon = false
/IMEngine/RawCode/Locales = default
/etc/scim/global :


/SupportedUnicodeLocales = en_US.UTF-8
/DefaultPanelProgram = scim-panel-gtk
/DefaultConfigModule = simple
/DefaultSocketFrontEndAddress = local:/tmp/scim-socket-frontend
/DefaultSocketIMEngineAddress = local:/tmp/scim-socket-frontend
/DefaultSocketConfigAddress = local:/tmp/scim-socket-frontend
/DefaultPanelSocketAddress = local:/tmp/scim-panel-socket
/DefaultHelperManagerSocketAddress = local:/tmp/scim-helper-manager-socket
/DefaultSocketTimeout = 5000
$HOME/.xinitrc:
export XMODIFIERS="@im=scim"
export XIM="scim"
export XIM_PROGRAM="scim"
export XIM_ARGS="-d"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

/etc/gtk-2.0/gtk.immodules:

...
#"/usr/lib/gtk-2.0/immodules/im-scim.so"
#"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja:ko:zh"
我照你的改了,但没用

我对照了一下我的,这里
/etc/scim/config
你比我多了
/DefaultIMEngineFactory/zh_CN = 05235cfc-43ce-490c-b1b1-c5a2185276ae
/FrontEnd/IMOpenedByDefault = true
/FrontEnd/SharedInputMethod = true
这个
/etc/scim/global
跟我的一样

我没有这个
$HOME/.xinitrc
就自己新建了一个

这个
/etc/gtk-2.0/gtk.immodules
我也没有,但里面都是注销掉了的,就没管他。

楼主你能说一下哪些是你自己改的,那些是默认的。
Longerz
帖子: 34
注册时间: 2008-06-29 12:02
送出感谢: 0
接收感谢: 0

#9

帖子 Longerz » 2008-07-14 21:35

既来之则安之。
回楼上:

/DefaultIMEngineFactory/zh_CN = 05235cfc-43ce-490c-b1b1-c5a2185276ae
/FrontEnd/IMOpenedByDefault = true
/FrontEnd/SharedInputMethod = true
export XMODIFIERS="@im=scim"
export XIM="scim"
export XIM_PROGRAM="scim"
export XIM_ARGS="-d"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
以上都是添加的。另外:需要用scim -d 启动输入法。如果gnome或kde,可以添加自动启动程序,命令为:scim -d
头像
hizjz
帖子: 226
注册时间: 2007-09-16 13:33
送出感谢: 0
接收感谢: 0

#10

帖子 hizjz » 2008-07-15 11:33

感谢楼主,解决了!!
回复

回到 “归档贴”