A workaround to activate Hiragana mode when switched to mozc using ibus always being activated sed -i -e 's/^const bool kActivatedOnLaunch = false/const bool kActivatedOnLaunch = true/g' src/unix/ibus/property_handler.cc this is a snippet inserted into PKGBUILD and in the end of prepare() sed -i -e 's/^const bool kActivatedOnLaunch = false/const bool kActivatedOnLaunch = true/g' ${srcdir}/${pkgbase}/src/unix/ibus/property_handler.cc # Adjust to use python2 find . -name \*.py -type f -exec sed -i -e "1s|python.*$|python2|" {} + find . -regex '.*\.gypi?$' -type f -exec sed -i -e "s|'python'|'python2'|g" {} +