summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/lang.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 2c07f213c..ecbe0f1a4 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1068,7 +1068,10 @@ sub write {
foreach (@IM_i18n_fields) {
$h->{$_} = $IM_config{$locale->{IM}}{$_};
}
- $h->{QT_IM_MODULE} = $h->{GTK_IM_MODULE};
+ # I must set QT_IM_MODULE to xim to satisfy KDE startup,
+ # otherwise it will hangs if *-qtimm be installed.
+ # $h->{QT_IM_MODULE} = $h->{GTK_IM_MODULE};
+ add2hash($h, { QT_IM_MODULE => 'xim' });
if (ref $h->{XIM_PROGRAM}) {
$h->{XIM_PROGRAM} =