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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1720250

Title:
  im-config configuration ignored with gdm3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1720250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to