Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] ibus issue with chromium
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
PhoenixStarEclipse
n00b
n00b


Joined: 11 May 2017
Posts: 64
Location: Jiangsu/China

PostPosted: Mon May 29, 2017 9:59 am    Post subject: [Solved] ibus issue with chromium Reply with quote

I installed ibus for Chinese input.
Here is my .xinitrc
Code:

phoenixstareclipse@PhoenixStarEclipse ~ $ cat .xinitrc
#! /bin/bash
export GTK_IM_MODULE=ibus
export XMODIFIERS="@im=ibus"
export QT_IM_MODULE=ibus
ibus-daemon -drx
./shadowsocks.sh &
exec startxfce4


There is something wrong with my ibus. Everytime I type startx, the ibus-daemon is activated and is able to be used in most of the applications, such as gedit and sakura terminal. However, I can't use it in Chromium. But after I kill the ibus-daemon and restart it by typing
Code:

phoenixstareclipse@PhoenixStarEclipse ~ $ killall ibus-daemon
phoenixstareclipse@PhoenixStarEclipse ~ $ ibus-daemon -drx

--------------------
In addition I can also correct this problem by typing
Code:
source .xinitrc
.

--------------------
I am able to use ibus in chromium. How can I fix this issue?
_________________
Think twice,code once.


Last edited by PhoenixStarEclipse on Mon May 29, 2017 12:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
PhoenixStarEclipse
n00b
n00b


Joined: 11 May 2017
Posts: 64
Location: Jiangsu/China

PostPosted: Mon May 29, 2017 12:06 pm    Post subject: Problem solved. Reply with quote

It seems that if I launch ibus-daemon after xfce finished startup it will work correctly,so set ibus-daemon -drx autostart in Applications --> settings --> Session and startup and the problem will be solved. The solution to all WMs are simular.
_________________
Think twice,code once.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum