Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] fcitx with chrome & custom keyboard layout
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
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Thu Nov 02, 2017 3:56 pm    Post subject: [SOLVED] fcitx with chrome & custom keyboard layout Reply with quote

So, I've been quite happily using setxkbmap with my custom keyboard layout for several years now, but in face of some things, I might need to add japanese input into my repertoire.

I managed to get fcitx working with mozc and all, but then there is a problem. First, Qt & KDE applications seem to work properly with it, but chrome and Enlightenment (my WM) seem to be completely oblivious to it. Yes, I added
Code:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

to my .xinitrc

Secondly, after disabling the japanese input in Qt/KDE applications, it goes back to US keyboard layout, instead of my awesome custom-plus layout. I still haven't figured out how to add my own layout to fcitx list. Did anybody here already cross this situation?

EDIT#1: it didn't work with chrome because I forgot to emerge fcitx with gtk2 USEFLAG enabled.
It didn't find my custom keyboard layout because I forgot to edit /usr/share/X11/xkb/rules/evdev.xml and /usr/share/X11/xkb/rules/evdev.lst to add my custom keyboard.
With those two things out of the way, it works perfectly.
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
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