mirror of
git://slackware.nl/current.git
synced 2025-01-03 23:03:22 +01:00
28 lines
409 B
Text
28 lines
409 B
Text
|
#!/bin/bash
|
||
|
|
||
|
START="no"
|
||
|
|
||
|
if [ "$XIM" = "ibus" ]; then
|
||
|
START="yes"
|
||
|
fi
|
||
|
|
||
|
if [ "$XIM_PROGRAM" = "ibus" ]; then
|
||
|
START="yes"
|
||
|
fi
|
||
|
|
||
|
if [ "$GTK_IM_MODULE" = "ibus" ]; then
|
||
|
START="yes"
|
||
|
fi
|
||
|
|
||
|
if [ "$QT_IM_MOFULE" = "ibus" ]; then
|
||
|
START="yes"
|
||
|
fi
|
||
|
|
||
|
if [ "$START" = "yes" ]; then
|
||
|
if [ "$1" = "--plasma" ]; then
|
||
|
ibus-daemon -drx --panel=/usr/libLIBDIRSUFFIX/kimpanel-ibus-panel
|
||
|
else
|
||
|
ibus-daemon -drx
|
||
|
fi
|
||
|
fi
|