unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Lo Peter <peterloleungyau@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: How to set global environment variables in Guix System
Date: Sun, 27 Dec 2020 21:35:02 +0800	[thread overview]
Message-ID: <CAEM+zmi1Q9u88FphTnbxtGoaX-fs48vTZdZE-aEXvP-MmKm-ag@mail.gmail.com> (raw)

Dear All,

I am trying to setup ibus-rime for Chinese input in guix system 1.2.0,
after a lot of googling and trial and error, I found that I cannot set
the needed environment variables:

export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="ibus"
export XMODIFIERS="@im=ibus"

I have tried putting them in ~/.profile, ~/.pam_environment, ~/.xprofile
and it seems they have no effects.

If I am not mistaken, guix system now uses gdm as display manager, but
I also cannot find a way to set environment variable for gdm sessions.

Any help is greatly appreciated. Also, I think a way to let user
customize /etc/environment through the system config will be useful,
but I do not find a way to do so.

Thanks.

Regards,
Peter


             reply	other threads:[~2020-12-27 13:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27 13:35 Lo Peter [this message]
2020-12-27 14:07 ` How to set global environment variables in Guix System Michael Rohleder
2020-12-27 14:39   ` Tobias Geerinckx-Rice via
2020-12-27 16:22     ` Lo Peter
2020-12-27 14:39 ` Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEM+zmi1Q9u88FphTnbxtGoaX-fs48vTZdZE-aEXvP-MmKm-ag@mail.gmail.com \
    --to=peterloleungyau@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).