#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
_ () {
TEXTDOMAIN=gnome-session-2.0
export TEXTDOMAIN
export TEXTDOMAINDIR
gettext "$@"
else
printf "%s\n" "$@"
fi
export TEXTDOMAIN
export TEXTDOMAINDIR
}
{
while [ 1 ] ; do
I=1
while [ $I -lt 99 ] ; do
echo "$I"
/usr/lib/postrun-query -c JDS_wait -e;
if [ $? -ne 0 ] ; then
echo "100"
fi
fi
I=`expr $I + 1`
sleep 1
done
done
}
case $DESKTOP_SESSION in
;;
;;
*)
;;
esac
do
fi
done
fi
then
xmodmap -e "clear Mod1" \
-e "clear Mod4" \
-e "add Mod1 = Alt_L" \
-e "add Mod1 = Alt_R" \
-e "add Mod4 = Meta_L" \
-e "add Mod4 = Meta_R"
fi
if [ $? -eq 0 ] ; then
if [ $? -ne 0 ] ; then
echo "Cancel the session"
kill -9 $$
fi
fi
fi