Thanks both for the replies.
If I understand correctly, custom environment variables could be added
through some kind of session-environment-service-type, I will try it
out to learn more.
Just for the record, I currently use a custom ~/.xsession script as a
hack to source ~/.xprofile to set the needed environment variables and
also start ibus-daemon, because I really only need i3 (and xfce as a
fallback).

Thanks.

Regards,
Peter

On Sun, Dec 27, 2020 at 10:39 PM Tobias Geerinckx-Rice <[email protected]> wrote:
>
> Michael Rohleder 写道:
> > (simple-service 'my-ibus-ch-env session-environment-service-type
> >                   '(("GTK_IM_MODULE" . "ibus")
> >                     ("QT_IM_MODULE" . "ibus")))
>
> ...much simpler.  Thanks!
>
> Kind regards,
>
> T G-R

Reply via email to