Korean Input using ibus in Scratch

Asked by MinSik CHO

Hi. I'm using elementary luna and ibus-hangul.
It seems that input method (ibus-hangul package) doesn't work under Scratch.
Is there any tweaks to apply for this problem? Thanks.

Question information

Revision history for this message
Joshua Huh (mr.saint) said :
#1

This issue seems related to #1198794

A workaround is below just as written by zigzed.
> use command: GTK_IM_MODULE="xim" scratch-text-editor

Revision history for this message
Best Joshua Huh (mr.saint) said :
#2

I found a solution

Edit scratch-text-editor.desktop file in /usr/share/applications like this:

[Desktop Entry]
Type=Application
Name=Scratch
Comment=Edit text files
GenericName=Text Editor
Exec=env GTK_IM_MODULE=xim scratch-text-editor %U
Icon=accessories-text-editor
Terminal=false
Categories=GNOME;GTK;Utility;TextEditor;
Keywords=Notepad;IDE;Plain
MimeType=text/plain;
StartupNotify=true

X-Ayatana-Desktop-Shortcuts=NewWindow;NewDocument

X-GNOME-Gettext-Domain=env GTK_IM_MODULE=xim scratch-text-editor

[NewDocument Shortcut Group]
Name=New Document
Exec=scratch-text-editor --new-tab
TargetEnvironment=Unity

[NewWindow Shortcut Group]
Name=New Window
Exec=scratch-text-editor -n
TargetEnvironment=Unity

Revision history for this message
MinSik CHO (mscho527) said :
#4

Thanks Joshua Huh, that solved my question.