We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91384e6 commit 241aa9eCopy full SHA for 241aa9e
1 file changed
cinnamon-session/main.c
@@ -265,6 +265,26 @@ main (int argc, char **argv)
265
csm_util_export_activation_environment (NULL);
266
csm_util_export_user_environment (NULL);
267
268
+ {
269
+ gchar *ibus_path;
270
+
271
+ ibus_path = g_find_program_in_path("ibus-daemon");
272
273
+ if (ibus_path) {
274
+ const gchar *p;
275
+ p = g_getenv ("QT_IM_MODULE");
276
+ if (!p || !*p)
277
+ p = "ibus";
278
+ csm_util_setenv ("QT_IM_MODULE", p);
279
+ p = g_getenv ("XMODIFIERS");
280
281
+ p = "@im=ibus";
282
+ csm_util_setenv ("XMODIFIERS", p);
283
+ }
284
285
+ g_free (ibus_path);
286
287
288
mdm_log_init ();
289
mdm_log_set_debug (debug);
290
0 commit comments