ok, I had a look at the unit - basic.target is quite basic, it happens for every user session. If the first session is a SSH login then we'll execute im-config when we probably shouldn't. - PartOf=graphical.target will be necessary when we get back to launching the UI under systemd (hopefully in 18.04), please don't drop it - Maybe this isn't a problem with basic.target, but it will be when we use graphical-session-pre.target - type=oneshot will mean that this is executed on every login - Same, maybe ok with basic.target --- there's no way to clear the variables and they won't be scoped to there being a graphical session (existing bug with the unit?)
Thought - what about putting a script in /etc/profile.d? basically doing what the unit would do, but make sure to case it on $XDG_CURRENT_DESKTOP being nonempty or something, so it doesn't run for shell logins. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to im-config in Ubuntu. https://bugs.launchpad.net/bugs/1720250 Title: im-config configuration ignored with gdm3 Status in gdm3 package in Ubuntu: Confirmed Status in im-config package in Ubuntu: Confirmed Bug description: After having logged in via gdm3, the IM related environment variables are always set like this: $ env | grep -E '_IM|XMOD' QT_IM_MODULE=ibus XMODIFIERS=@im=ibus Changing ~/.xinputrc to e.g. xim makes no difference, so gdm3 prevents all other IM frameworks but IBus from working. This problem seems to be similar to bug #1594681 (which was fixed). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1720250/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

