Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650344 - app-i18n/fcitx-4.2.9.6: Introduce /etc/X11/xinit/xinput.d/fcitx.conf
Summary: app-i18n/fcitx-4.2.9.6: Introduce /etc/X11/xinit/xinput.d/fcitx.conf
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-13 00:50 UTC by augustin
Modified: 2018-03-13 13:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description augustin 2018-03-13 00:50:24 UTC
As can be seen here:
http://linux.overshoot.tv/etc/X11/xinit/xinput.d/
input methods all create a file within  /etc/X11/xinit/xinput.d/.
This configuration file is used in particular by app-i18n/im-chooser.


The app-i18n/fcitx ebuild currently fails to create such a file.
A minimum file content could be:

$ cat /etc/X11/xinit/xinput.d/fcitx.conf
XMODIFIERS="@im=fcitx"
XIM=fcitx
XIM_PROGRAM=/usr/bin/fcitx                                                                                                                                                                    
XIM_ARGS="-d"
GTK_IM_MOUDLE=fcitx
QT_IM_MOUDLE=fcitx
SHORT_DESC="Fcitx

Check the other files created by other packages for more elaborate examples.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-03-13 01:14:39 UTC
(Maybe filename will be "fcitx-4.conf" or something similar...)
Comment 2 augustin 2018-03-13 01:23:34 UTC
Will app-i18n/fcitx be slotted so that version 4 and version 5 can be installed in parallel?
The other input methods do not append the major version number to the .conf files.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-03-13 01:49:07 UTC
All parts of Fcitx 4 have SLOT="4".
All parts of Fcitx 5 will have SLOT="5".
(Except kcm-fcitx which has SLOT="${Fcitx_major_version}-plasma${Plasma_major_version}".)
Comment 4 augustin 2018-03-13 02:04:00 UTC
Ok. Nice! :)