diff --git a/pkgs/desktops/kde-5/plasma/plasma-desktop/ibus.patch b/pkgs/desktops/kde-5/plasma/plasma-desktop/ibus.patch new file mode 100644 index 00000000000..d5ac4b25087 --- /dev/null +++ b/pkgs/desktops/kde-5/plasma/plasma-desktop/ibus.patch @@ -0,0 +1,26 @@ +Index: plasma-desktop-5.8.5/kcms/keyboard/xkb_helper.cpp +=================================================================== +--- plasma-desktop-5.8.5.orig/kcms/keyboard/xkb_helper.cpp ++++ plasma-desktop-5.8.5/kcms/keyboard/xkb_helper.cpp +@@ -185,21 +185,5 @@ bool XkbHelper::initializeKeyboardLayout + + bool XkbHelper::preInitialize() + { +- // stop ibus so it does not mess with our layouts, we can remove this when we integrate IM into keyboard module +- +- QString ibusExe = QStandardPaths::findExecutable(QStringLiteral("ibus")); +- if( ibusExe.isEmpty() ) { +- return 0; +- } +- +- KProcess ibusProcess; +- ibusProcess << ibusExe << QStringLiteral("exit"); +- ibusProcess.setOutputChannelMode(KProcess::SeparateChannels); +- int res = ibusProcess.execute(); +- +- if( res == 0 ) { +- qCWarning(KCM_KEYBOARD) << "ibus successfully stopped"; +- } +- + return 0; + } diff --git a/pkgs/desktops/kde-5/plasma/plasma-desktop/series b/pkgs/desktops/kde-5/plasma/plasma-desktop/series index 6334deb7d97..36778cd1c56 100644 --- a/pkgs/desktops/kde-5/plasma/plasma-desktop/series +++ b/pkgs/desktops/kde-5/plasma/plasma-desktop/series @@ -1,3 +1,4 @@ qml-import-paths.patch hwclock-path.patch tzdir.patch +ibus.patch