if [ "$DEBIAN_FRONTEND" = gtk ] ; then
    modprobe evdev
    modprobe psmouse
fi
