Author Topic: Utf8 Support In Gtk2  (Read 5397 times)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Utf8 Support In Gtk2
« Reply #15 on: December 10, 2006, 11:53:05 am »
Quote
In my case, I appended the following lines in /eyc/sysconfig/locale instead of .xinitrc file. Everything works well even in qt applications.

export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
I tried the above and it doesn't work. Is there anything else I need to do or require?

If I set
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="xim"


or
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="xim"
export QT_IM_MODULE="xim"

then SCIM doesn't appear in either gtk or qt apps  (normally when I start a gtk app scim autoloads).

If I set
export XMODIFIERS="@im=SCIM"
export QT_IM_MODULE="xim"


then the result is same as just having
export XMODIFIERS="@im=SCIM"
ie it works for gtk apps and not for qt apps.

My understanding from previous posts is that for qt apps one needs the qt-uim package - but I'm not keen to use that as it has a limited selection of input methods. Am I missing something?
« Last Edit: December 10, 2006, 11:55:46 am by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Utf8 Support In Gtk2
« Reply #16 on: December 10, 2006, 04:02:30 pm »
Quote
Quote
In my case, I appended the following lines in /eyc/sysconfig/locale instead of .xinitrc file. Everything works well even in qt applications.

export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
I tried the above and it doesn't work. Is there anything else I need to do or require?

If I set
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="xim"


or
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="xim"
export QT_IM_MODULE="xim"

then SCIM doesn't appear in either gtk or qt apps  (normally when I start a gtk app scim autoloads).

If I set
export XMODIFIERS="@im=SCIM"
export QT_IM_MODULE="xim"


then the result is same as just having
export XMODIFIERS="@im=SCIM"
ie it works for gtk apps and not for qt apps.

My understanding from previous posts is that for qt apps one needs the qt-uim package - but I'm not keen to use that as it has a limited selection of input methods. Am I missing something?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148718\"][{POST_SNAPBACK}][/a][/div]

i use the following:

XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

and it works in both gtk and qt apps
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Utf8 Support In Gtk2
« Reply #17 on: December 11, 2006, 01:06:54 am »
Quote
i use the following:

XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

and it works in both gtk and qt apps
Still doesn't work for me   (gtk apps work but not qt)

From reading these threads, my understanding is that the bog standard scim does not work with qt apps - I'm using the scim stuff from the official feeds, so can I expect the above to work?

https://www.oesf.org/forums/index.php?showtopic=17206
https://www.oesf.org/forums/index.php?showtopic=16577
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Utf8 Support In Gtk2
« Reply #18 on: December 11, 2006, 01:09:35 am »
Quote
Quote
i use the following:

XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

and it works in both gtk and qt apps
Still doesn't work for me   (gtk apps work but not qt)

From reading these threads, my understanding is that the bog standard scim does not work with qt apps - I'm using the scim stuff from the official feeds, so can I expect the above to work?

https://www.oesf.org/forums/index.php?showtopic=17206
https://www.oesf.org/forums/index.php?showtopic=16577
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148786\"][{POST_SNAPBACK}][/a][/div]

it should work. which app are you trying it on? make sure you got the scim packages and gtk2 from the beta3 feed and all should work.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Utf8 Support In Gtk2
« Reply #19 on: December 11, 2006, 01:55:27 am »
Quote
it should work. which app are you trying it on?
Tuxcards and the kdepim stuff. With tuxcards I can right-click in input area and select SCIM, but no scim appears (scim is already loaded because I started abiword), I tried ctrl-space to make it appear but nothing happens. With ka/pi, ko/pi and pwmanager, right-click input area doesn't give an input method selection, and ctrl-space does nothing.

Quote
make sure you got the scim packages and gtk2 from the beta3 feed and all should work.
gtk2
scim
scim-pinyin
scim-tables

are all from the official feed.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Utf8 Support In Gtk2
« Reply #20 on: December 11, 2006, 06:36:10 am »
Quote
Quote
i use the following:

XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

and it works in both gtk and qt apps
Still doesn't work for me   (gtk apps work but not qt)

From reading these threads, my understanding is that the bog standard scim does not work with qt apps - I'm using the scim stuff from the official feeds, so can I expect the above to work?

https://www.oesf.org/forums/index.php?showtopic=17206
https://www.oesf.org/forums/index.php?showtopic=16577
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148786\"][{POST_SNAPBACK}][/a][/div]

The post I wrote is out of date. From beta3 you don't need patched qt because xwindow supports xim. Now I am using uim and everything works fine. Also I tried it with scim. It works well too. Here is what I did.

As a Korean, I installed scim and scim-hangul, and just added the following in /etc/sysconfig/locale

export LANG=ko_KR.UTF-8
export LC_ALL=ko_KR.UTF-8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim

I loaded scim by adding one line "scim -d" in .xinitrc file. Then it works well.

- yonggun
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Utf8 Support In Gtk2
« Reply #21 on: December 11, 2006, 10:05:47 am »
Quote
From beta3 you don't need patched qt because xwindow supports xim.
Ah, good, glad that's cleared up.

Quote
I loaded scim by adding one line "scim -d" in .xinitrc file. Then it works well.
That's the trick, by "preloading" scim it now works
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM