Oh great, thank you. Now, we just need to package this into something more usable than a terminal. Personaly, I can't, but I would greatly appreciate
#!/bin/bash FLASHCTL=/sys/class/leds/led\:flash_torch/brightness FLASHON=`cat $FLASHCTL` if [ "$FLASHON" == 0 ] then /bin/echo 1 > $FLASHCTL else /bin/echo 0 > $FLASHCTL fi
[Desktop Entry] Type=Application Icon=flashlight Exec=/home/nemo/scripts/flashlight.sh Name=Flash Light
chmod 755 /home/nemo/scripts/flashlight.sh