diff options
Diffstat (limited to 'commands/run')
-rwxr-xr-x | commands/run | 2 |
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 |