mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
27 lines
1.1 KiB
Text
27 lines
1.1 KiB
Text
=================
|
|
ibus auto-startup
|
|
=================
|
|
The ibus package has an ibus.desktop file in /etc/xdg/autostart/, so if your
|
|
desktop environment is xdg compatible and the $XDG_CONFIG_DIRS is not set, ibus
|
|
will be automatically launched during startup of the your DE after you have
|
|
logged in. If you don't want to remove ibus package and want use other input
|
|
method programs (like SCIM), you can place an ibus.desktop file in your personal
|
|
autostart directory (most likely ~/.config/autostart/) which contains the key
|
|
Hidden=true. You'll also want to make the ibus profile scripts non-executable:
|
|
|
|
chmod -x /etc/profile.d/ibus.{csh,sh}
|
|
|
|
If your DE is not xdg compatible (what a pity..), you can add the following
|
|
to your shell init files (~/.profile, ~/.bash_profile, ~/.zprofile, etcetera):
|
|
|
|
if [ -x /usr/bin/ibus-daemon ]; then
|
|
/usr/bin/ibus-daemon --xim &
|
|
fi
|
|
|
|
=============================
|
|
environment variable settings
|
|
=============================
|
|
chmod +x /etc/profile.d/ibus.{sh,csh} will enable environment variable settings
|
|
at login, but if you have ibus-qt installed, you may also prefer to run
|
|
qtconfig and set "Default Input Method" to ibus.
|
|
|