It like good idea, but it didn't work. I try Code: sh -c 'echo 0 > /sys/class/backlight/acx565akm/brightness | sudo gainroot' sh: cannot create /sys/class/backlight/acx565akm/brightness: Permission denied Root shell enabled I see the link, get the file "disable_ts.desktop". The code is " Exec=/bin/busybox sh -c 'echo "sleep 15; echo 1 > /sys/devices/platform/omap2_mcspi.1/spi1.0/disable_ts" | sudo gainroot' " so I try Code: /bin/busybox sh -c 'echo 0 > /sys/class/backlight/acx565akm/brightness | sudo gainroot' But it was the same. In fact, I just run my app.py using by cmd shortcuts launching. But it will modify /sys file so that be permission deny. If it's running in terminal is good by root privilege.
sh -c 'echo 0 > /sys/class/backlight/acx565akm/brightness | sudo gainroot'
/bin/busybox sh -c 'echo 0 > /sys/class/backlight/acx565akm/brightness | sudo gainroot'
sh -c 'echo "sleep 1; echo 0 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot'