事实证明,wine是可以正常输入中文的。
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 34
- 注册时间: 2008-06-29 12:02
- pentie
- 帖子: 228
- 注册时间: 2007-08-27 22:03
- 来自: http://apt-blog.co.cc/
- windowssux
- 帖子: 618
- 注册时间: 2006-08-06 16:58
- 来自: 北海
-
- 帖子: 34
- 注册时间: 2008-06-29 12:02
先自行备份
唉,我的帖子怎么到了这里。。。: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
Re: 先自行备份
我照你的改了,但没用Longerz 写了:唉,我的帖子怎么到了这里。。。: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
楼主你能说一下哪些是你自己改的,那些是默认的。
-
- 帖子: 34
- 注册时间: 2008-06-29 12:02
既来之则安之。
回楼上:
回楼上:
/DefaultIMEngineFactory/zh_CN = 05235cfc-43ce-490c-b1b1-c5a2185276ae
/FrontEnd/IMOpenedByDefault = true
/FrontEnd/SharedInputMethod = true
以上都是添加的。另外:需要用scim -d 启动输入法。如果gnome或kde,可以添加自动启动程序,命令为:scim -dexport XMODIFIERS="@im=scim"
export XIM="scim"
export XIM_PROGRAM="scim"
export XIM_ARGS="-d"
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"