~ctf/unity-settings-daemon/bug1389099_mic_volume_icons

« back to all changes in this revision

Viewing changes to gnome-settings-daemon/unity-settings-daemon-localeexec.in

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-02-07 11:44:36 UTC
  • Revision ID: package-import@ubuntu.com-20140207114436-7t5u3yvwc4ul7w3e
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
SETTING=$(gsettings get org.gnome.system.locale region)
 
4
REGION=${SETTING#\'}
 
5
REGION=${REGION%\'}
 
6
 
 
7
if [ -n "$REGION" ]; then
 
8
  export LC_TIME=$REGION
 
9
  export LC_NUMERIC=$REGION
 
10
  export LC_MONETARY=$REGION
 
11
  export LC_MEASUREMENT=$REGION
 
12
  export LC_PAPER=$REGION
 
13
fi
 
14
 
 
15
if [ -x @prefix@/bin/ibus-daemon ]; then
 
16
  export QT_IM_MODULE=ibus
 
17
  export XMODIFIERS=@im=ibus
 
18
fi
 
19
 
 
20
exec @libexecdir@/unity-settings-daemon