Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/run
diff options
context:
space:
mode:
Diffstat (limited to 'commands/run')
-rwxr-xr-xcommands/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/run b/commands/run
index 2dfa085..70f9611 100755
--- a/commands/run
+++ b/commands/run
@@ -9,7 +9,7 @@ if [ -f $rootdir/prefs ]; then
source $rootdir/prefs
fi
-if [ -n $SUGAR_DISPLAY ]; then
+if [ ! -z $DISPLAY ]; then
SUGAR_XKBCONFIG=`mktemp -t sugar-xkbconfig-XXXXXX`
setxkbmap -print > $SUGAR_XKBCONFIG
export SUGAR_XKBCONFIG