diff --git a/20-fcitx5-plasma-setup.sh b/20-fcitx5-plasma-setup.sh index 0e95970..042f3c1 100644 --- a/20-fcitx5-plasma-setup.sh +++ b/20-fcitx5-plasma-setup.sh @@ -10,12 +10,12 @@ desktop_file="/usr/share/applications/org.fcitx.Fcitx5.desktop" # Do nothing for X11 session if [ "$XDG_SESSION_TYPE" != "wayland" ]; then - exit 0 + return 0 fi # Do nothing if kreadconfig6 is not available if ! command -v kreadconfig6 >/dev/null 2>&1; then - exit 0 + return 0 fi # check current virtual keyboard @@ -35,7 +35,7 @@ if [ ! -e "$stamp_file" ]; then # check current virtual keyboard is None if [ -z "$current_im" ]; then # The virtual keyboard is not configured - echo "$0 is configuring the virtual keyboard for IBus." + echo "$0 is configuring the virtual keyboard for Fcitx." current_im=$desktop_file kwriteconfig6 --file kwinrc --group Wayland --key InputMethod $current_im else diff --git a/fcitx5.changes b/fcitx5.changes index 10c2b0b..534c4bb 100644 --- a/fcitx5.changes +++ b/fcitx5.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 17 15:30:13 UTC 2025 - Fuminobu Takeyama + +- Use return instead of exit in 20-fcitx-plasma-setup.sh + * Fix boo#1255237 +- Replace "IBus" with "Fcitx" in a log message + ------------------------------------------------------------------- Mon Sep 15 13:40:18 UTC 2025 - Fuminobu Takeyama