Restarting IBus Crashes LXDE In Trisquel Mini Belenos Editions

7 Antworten [Letzter Beitrag]
linuxfriend12
Offline
Beigetreten: 11/06/2015

Hello everyone. I am reporting about a small problem with IBus in the Trisquel Mini Belenos 32 bit and 64 bit editions. I am not sure if a solution exists. If one does exit, I would appreciate the steps on how to fix this. If a solution doesn't exist, I think this is a simple bug report.

As for some quick background information, I use IBus to type in Chinese.
I install the following packages always when installing a new system:
ibus ibus-pinyin ibus-m17n

I am now mainly using Trisquel, but previously I used Linux Mint and Ubuntu, and the steps are nearly identical for setting up IBus on all those systems.

After installing ibus and the other packages mentioned in Trisquel, I open up Language Support, and update all of the appropriate packages. Later I install Chinese (simplified) and Chinese (traditional) within Language support.

I also choose the Keyboard input method system as IBus.

Later, under Keyboard Input Methods, I click on “Show icon on system tray”, and then go on to install 2 different Chinese input methods. I used CTRL+Space as the switcher for the next input method.

After IBus is all setup, I can then type in Chinese fairly well. Occasionally though, with some of the Chinese input methods, I need to restart either the whole computer or just IBus for them to work properly.

So here is the problem. If I restart IBus by right-clicking on the keyboard system tray icon and click on “restart”, LXDE with either completely freeze, or the mouse will freeze, or the keyboard input will completely freeze. This always happens within 15 seconds or so. I can actually view it happening if I have a window open, such as a text editor, and I can watch the cursor blinking, and then it will suddenly stop blinking or the mouse will freeze.

Then, it seems the only way to restart the computers is to open a tty and restart the computer, or to hard reset the computer.

I have made sure that my system is up-to-date with the latest updates from Trisquel.
And, to make sure that this wasn't just a problem on one computer, I have replicated this on another computer.

I have tested this on a computer with the 64 bit edition of Trisquel Mini installed, and have tested it with the 32 bit edition of Trisquel Mini installed on another computer.

Both computers freeze up if I restart IBus by right-clicking on the keyboard system tray icon and clicking on “restart”.

Now, I can avoid this problem by never restarting IBus that way or just restarting the whole system. This is not a serious problem, but a little annoying.

And, to be doubly sure that the problem exists, I purged IBus, and re-installed it on both of my systems, but the problem still always occurs. I do the following steps:
sudo apt-get --purge remove ibus
sudo apt-get install ibus ibus-pinyin ibus-m17n
I then do the same steps I described above for setting up Ibus.

Any and all help is appreciated with this problem.

Thanks

Mangy Dog

I am a member!

I am a translator!

Offline
Beigetreten: 03/15/2015

May this help
https://trisquel.info/en/issues/13138

Go to the System Parameters application. Click the Languages button, then on the bottom of the window, you'll have something like keyboard input system with IBus selected. Select None


&
to restart ibus which is a bit inconvenient but what can you do
go into terminal

Quode:

ibus-daemon -rd
https://askubuntu.com/questions/501907/keyboard-locks-in-intellij-idea-on-ubuntu-14-04

linuxfriend12
Offline
Beigetreten: 11/06/2015

Thank you. Thankfully doing
ibus-daemon -rd
Does not crash LXDE. I think this is the solution. I appreciate the help :)

linuxfriend12
Offline
Beigetreten: 11/06/2015

Hello everyone. I am reporting about a small problem with IBus in the
Trisquel Mini Belenos 32 bit and 64 bit editions. I am not sure if a solution
exists. If one does exit, I would appreciate the steps on how to fix this. If
a solution doesn't exist, I think this is a simple bug report.

As for some quick background information, I use IBus to type in Chinese.
I install the following packages always when installing a new system:
ibus ibus-pinyin ibus-m17n

I am now mainly using Trisquel, but previously I used Linux Mint and Ubuntu,
and the steps are nearly identical for setting up IBus on all those systems.

After installing ibus and the other packages mentioned in Trisquel, I open up
Language Support, and update all of the appropriate packages. Later I install
Chinese (simplified) and Chinese (traditional) within Language support.

I also choose the Keyboard input method system as IBus.

Later, under Keyboard Input Methods, I click on “Show icon on system
tray”, and then go on to install 2 different Chinese input methods. I used
CTRL+Space as the switcher for the next input method.

After IBus is all setup, I can then type in Chinese fairly well. Occasionally
though, with some of the Chinese input methods, I need to restart either the
whole computer or just IBus for them to work properly.

So here is the problem. If I restart IBus by right-clicking on the keyboard
system tray icon and click on “restart”, LXDE with either completely
freeze, or the mouse will freeze, or the keyboard input will completely
freeze. This always happens within 15 seconds or so. I can actually view it
happening if I have a window open, such as a text editor, and I can watch the
cursor blinking, and then it will suddenly stop blinking or the mouse will
freeze.

Then, it seems the only way to restart the computers is to open a tty and
restart the computer, or to hard reset the computer.

I have made sure that my system is up-to-date with the latest updates from
Trisquel.
And, to make sure that this wasn't just a problem on one computer, I have
replicated this on another computer.

I have tested this on a computer with the 64 bit edition of Trisquel Mini
installed, and have tested it with the 32 bit edition of Trisquel Mini
installed on another computer.

Both computers freeze up if I restart IBus by right-clicking on the keyboard
system tray icon and clicking on “restart”.

Now, I can avoid this problem by never restarting IBus that way or just
restarting the whole system. This is not a serious problem, but a little
annoying.

And, to be doubly sure that the problem exists, I purged IBus, and
re-installed it on both of my systems, but the problem still always occurs. I
do the following steps:
sudo apt-get --purge remove ibus
sudo apt-get install ibus ibus-pinyin ibus-m17n
I then do the same steps I described above for setting up Ibus.

Any and all help is appreciated with this problem.

Thanks

Mangy Dog

I am a member!

I am a translator!

Offline
Beigetreten: 03/15/2015

May this help
https://trisquel.info/en/issues/13138

Go to the System Parameters application. Click the Languages button, then on
the bottom of the window, you'll have something like keyboard input system
with IBus selected. Select None

&
to restart ibus which is a bit inconvenient but what can you do.

go into terminal

Quode:

ibus-daemon -rd
https://askubuntu.com/questions/501907/keyboard-locks-in-intellij-idea-on-ubuntu-14-04

linuxfriend12
Offline
Beigetreten: 11/06/2015

Thank you. Thankfully doing
[code] ibus-daemon -rd [/code]
Does not crash LXDE. I think this is the solution. I appreciate the help :)

linuxfriend12
Offline
Beigetreten: 11/06/2015

It seems that:
ibus-daemon -rd
actually doesn't fix the problem. It will still freeze LXDE as before. But, I did find the solution. There seems to be a bug in ibus-pinyin as described in http://www.pinyinjoe.com/faq/ubuntu-1404-chinese-ime-problems-faq.htm. The solution, if one wants to type in Pinyin with IBus, is to do:
apt-get remove ibus-pinyin
Then
apt-get install ibus-libpinyin
And then to add new input methods.

Mangy Dog

I am a member!

I am a translator!

Offline
Beigetreten: 03/15/2015

Thanks for the feedback may this help others ;-)