I have hardcoded $LANG in /etc/gdm3/Xsession, and now my environment
shows up in Dutch. The $GDM_LANG env var is set to the value "C". Is
~/.dmrc used at all nowadays, btw?

    — Wouter

=== modified file 'gdm3/Xsession'
*** gdm3/Xsession       2011-08-15 23:12:03 +0000
--- gdm3/Xsession       2011-08-18 22:00:43 +0000
***************
*** 154,187 ****
--- 154,188 ----
  if [ -n "$GDM_LANG" ]; then
      # Set the locale to that, it’s the language selected in GDM.
      LANG="$GDM_LANG"
      export LANG
  
      if [ -n "$LC_ALL" ] && [ "$LC_ALL" != "$LANG" ]; then
          LC_ALL="$LANG"
      fi
  
      # if GDM_LANG isn't first in LANGUAGE, then unset it.
      if [ -n "$LANGUAGE" ]; then
          if echo "$LANGUAGE" | grep -q -- "^$GDM_LANG"; then
             :
          else
             unset LANGUAGE
          fi
      fi
+     export LANG="nl_NL.UTF-8"
  fi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to