[SOLVED] Mageia-3 Beta-2: IBUS icon only allows English

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[SOLVED] Mageia-3 Beta-2: IBUS icon only allows English

Postby elmago » Mar 5th, '13, 05:40

Hello,
I want to to be able to type spanish and some indic languages using standard 104-key US keyboard ... while I am inside LibreOffice Writer. As a result of that typing, I of course want LibreOffice Writer to echo them so I actually see those non-english fonts in the document being prepped.

So, I installed IBUS, some language packs for LibreOffice Writer and started the user-space daemon with "ibus-setup" command. That did not go very well as I got an error saying "config value does not exist". But it started some 6 new processes. Then I updated .bashrc to have 3 symbols exported as suggested by the ibus-setup. Then logout and login.

Opened terminal. Checked that all thos IBUS processes were gone. I started the daemon again using ibus-setup. Again that same error. Again those 6 processes and a new icon on the right side of the taskbar at bottom.

I click on that icon and it only shows english and no other option. There should be at least some more like spanish, indic, etc. Opened LibreOffice Writer and it shows an extra icon at bottom saying English. But, that office icon is certainly not an input method selector, something else maybe.

The "Preference" I get by right clicking on IBUS on the taskbar, eventually takes me to choose an input method (some 75 choices) but each and every method is greyed out (can't select). Where am I going wrong? :( My system is x86_64 with KDE, updated yesterday. Below is some debug info I collected after the second run.

Thanks.
Code: Select all
[scomix@localhost ~]$
[scomix@localhost ~]$
[scomix@localhost ~]$ ibus
ibus              ibus-daemon       ibus-daemon-real  ibus-setup
[scomix@localhost ~]$ ibus-setup

(main.py:3256): IBUS-WARNING **: org.freedesktop.IBus.Config.GetValue:
GDBus.Error:org.freedesktop.DBus.Error.Failed:
Config value [general/hotkey:triggers] does not exist.

[scomix@localhost ~]$
[scomix@localhost ~]$
[scomix@localhost ~]$ export | grep XMODI
declare -x XMODIFIERS="@im=ibus"
[scomix@localhost ~]$ export | grep GTM
[scomix@localhost ~]$ export | grep GTK_IM_
declare -x GTK_IM_MODULE="ibus"
[scomix@localhost ~]$
[scomix@localhost ~]$ export | grep QT_IM
declare -x QT_IM_MODULE="ibus"
[scomix@localhost ~]$
[scomix@localhost ~]$
[scomix@localhost ~]$ ps -aux | grep ibus
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
scomix    3281  0.0  0.2 348784  5284 pts/2    Sl   21:23   0:00 /usr/bin/ibus-daemon-real --xim
scomix    3284  0.0  0.1 200088  3488 pts/2    Sl   21:23   0:00 /usr/libexec/ibus-dconf
scomix    3286  0.0  0.8 990492 17760 pts/2    Sl   21:23   0:00 /usr/libexec/ibus-ui-gtk3
scomix    3289  0.0  0.3 242880  7488 pts/2    Sl   21:23   0:00 /usr/libexec/ibus-x11 --kill-daemon
scomix    3298  0.0  0.1 124100  3356 pts/2    Sl   21:23   0:00 /usr/libexec/ibus-engine-simple
scomix    4864  0.0  0.0  15676   968 pts/2    S+   21:27   0:00 grep --color ibus
[scomix@localhost ~]$
[scomix@localhost ~]$
[scomix@localhost ~]$ rpm -qa | grep ibus
lib64ibus-gir1.0-1.5.1-2.mga3
ibus-1.5.1-2.mga3
libibus1.0_5-1.5.1-2.mga3
libuser-0.58-3.mga3
scribus-1.4.2-1.mga3
ibus-m17n-1.3.4-3.mga3
lib64ibus1.0_5-1.5.1-2.mga3
ibus-gtk3-1.5.1-2.mga3
ibus-ui-gtk3-1.5.1-2.mga3
ibus-qt4-1.3.1-7.mga3
[scomix@localhost ~]$
[scomix@localhost ~]$ rpm -qa | grep libreoffice-lang
libreoffice-langpack-en-4.0.0.3-1.mga3
libreoffice-langpack-es-4.0.0.3-1.mga3
libreoffice-langpack-bn-4.0.0.3-1.mga3
[scomix@localhost ~]$
Last edited by elmago on Mar 9th, '13, 19:32, edited 1 time in total.
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47

Re: Mageia-3 Beta-2: IBUS icon only allows English

Postby doktor5000 » Mar 5th, '13, 21:42

Maybe you want to take a look at https://bugs.mageia.org/show_bug.cgi?id=4604 ?
Some of the ibus setup is also explained there.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia-3 Beta-2: IBUS icon only allows English

Postby elmago » Mar 6th, '13, 05:02

I checked my setup with the discussions in Bug 4604. Looks like I followed all the steps as shown except for starting the daemon. I cannot easily locate .xinitrc or something similar in Mageia-3. But that shouldn't be a problem. I can start it with ibus-setup from command line.

Realizing that the daemon error was coming from a Python script, I went in to /usr/share/ibus/setup/main.py and kludged that error (avoid get_value() and set variant to NULL, resulting in hot key as CTL-Space). So, no error on the next startup. But the list of IMEs is still empty. My strength is low level driver and not Python and so I left it there.

Mr You-Cheng Hsieh suggested going directly to MCC --> Setting up Locale and I did that next... setting the country and language to Mexico. That made "ls" command to show months in spanish. Ok. So, I set it back to English, USA, etc. Logout, login. The locale did not change! "ls" still showing spanish. :? Logout and login to a different user which was not touched by IBUS. It shows english!

I suspect the "MCC --> Loacle setting" has some problems in Mageia-3 apart from the IBUS nightmare! The 2010.1 Mandriva that I still use, never had this much trouble getting a few languages in the OpenOffice.

Thanks to doktor5000 for the tip.
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47

Re: Mageia-3 Beta-2: IBUS icon only allows English

Postby doktor5000 » Mar 6th, '13, 22:40

As not many user seem to be using ibus (or at least not that many giving feedback) could you please post your findings in the linked bug report?
Maybe you can also ask that guy who offered help there to help you, or get him to post here, that would also help others ... ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia-3 Beta-2: IBUS icon only allows English

Postby elmago » Mar 9th, '13, 06:03

Well, You-Cheng Hsieh clarified the usage problem :D

I posted my findings under Walter M in https://bugs.mageia.org/show_bug.cgi?id=4604 as suggested by Doktor and got the answer very quickly. The ">" that appears before every greyed out item in the list of IMEs, is actually a clickable icon! One click and it opens up a few IMEs of that language. Mr Hsieh says it is a known problem in Oxygen :?

Libre Writer is now accepting and displaying Spanish and Indic fonts or even a mixture of them in any way I want. By the way, I did have to add US-English as an IME or else, the list of IMEs would not include English by default. On a second thought, it maybe the result of my mucking with the "MCC --> Regional Setup" that removed English as default. But, creating another user is easy.

So, the procedure to install iBus is almost correct as I listed in https://bugs.mageia.org/show_bug.cgi?id=4604. If I could only find out the .xinitrc to start a daemon whenever I log in... Otherwise, the ibus-setup from command line after login would have to do which is not an big issue. The error below can be kluged or may be left as is without any ill effect. The daemon will start and provide the taskbar icon anyway. One can do everything needed with the taskbar icon.
Code: Select all
[scomix@localhost ~]$ ibus-setup

(main.py:3256): IBUS-WARNING **: org.freedesktop.IBus.Config.GetValue:
GDBus.Error:org.freedesktop.DBus.Error.Failed:
Config value [general/hotkey:triggers] does not exist.

[scomix@localhost ~]$


I took a snapshot of how the iBus-Preference screen would look like but there is no apparent way to upload it in this forum.

Again, thanks to Doktor and Mr Hsieh for solving this.
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47

Re: Mageia-3 Beta-2: IBUS icon only allows English

Postby doktor5000 » Mar 9th, '13, 16:34

elmago wrote:I took a snapshot of how the iBus-Preference screen would look like but there is no apparent way to upload it in this forum.


Yes there is, but it's not that obvious. If you are in the normal post editor, then below it there's a tab Upload attachment.
That's what you want, and you can also display it inline (inside your post) afterwards.

Apart from that, please mark the thread solved by editing the first post and prefix the thread title with [SOLVED], thanks.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia-3 Beta-2: IBUS icon only allows English

Postby elmago » Mar 9th, '13, 19:29

Well, I uploaded the PNG file showing how iBus Preference Menu looks like after install.
Attachments
ibus_pref.png
This is how the iBus-Preference menu looks like when installed.
ibus_pref.png (684.16 KiB) Viewed 1950 times
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron