/usr/share/fcitx-qimpanel/fcitx-qimpanel-autostart is in fcitx-ui-qimpanel 2.1.3-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
# sleep for a little while to avoid duplicate startup
sleep 3
# Test whether fcitx is running correctly with dbus...
fcitx-remote > /dev/null 2>&1
if [ $? = "1" ]; then
echo "Fcitx seems is not running"
exit 0
else
echo "Fcitx is running correctly."
exec fcitx-qimpanel
fi
|