#!/bin/sh
# Wrapper to make sure passwd is set and launch xtrlock.

ME=`whoami`

if [ $(whoami) == "root" ]; then
echo "Do not run as root"
sleep 3
exit 1
fi




su "$ME" -c "
xmodmap -e 'remove control = Control_L' -e 'remove control = Control_R';
/usr/bin/xtrlock-bin;
xmodmap -e 'keycode 37 = Control_L' -e 'add control = Control_L' -e 'keycode 105 = Control_R' -e 'add control = Control_R';
"




	




		
	


