SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-06-01 06:38:48

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Locales and i18n

# workaround for session language selection in lightdm greeter

# we need this only if lightdm is being used
if pidof lightdm
then
	# use Language setting from ~/.dmrc
	export LANG=$(awk -F '=' '/^Language=/{sub(/utf8/,"UTF-8");print $2}' "$HOME/.dmrc")

	# if $LANGUAGE is set, sync it with chosen locale
	[ -n "$LANGUAGE" ] && export LANGUAGE="${LANG%%.*}":"${LANG%%_*}"

	# remove untrustworthy $GDM_LANG
	[ -n "$GDM_LANG" ] && unset GDM_LANG
fi

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo