← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 528908] Re: Failsafe X troubleshooting dialogs do not load translations

 

I think upstart jobs don't have a particular environment, you need to
source it yourself.

I believe you need to add something like

    if [ -r /etc/default/locale ]; then
        . /etc/default/locale
        export LANG LANGUAGE
    elif [ -r /etc/environment ]; then
        . /etc/environment
        export LANG LANGUAGE
    fi

to either /etc/init/failsafe-x.conf (before calling failsaveXServer) or
/etc/gdm/failsafeXServer directly.

David, would you mind testing this?

** Changed in: xorg (Ubuntu)
     Assignee: Canonical Desktop Team (canonical-desktop-team) => Bryce Harrington (bryceharrington)

-- 
Failsafe X troubleshooting dialogs do not load translations
https://bugs.launchpad.net/bugs/528908
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.



References