I want to add a launcher icon to execute a shell script. The script has execute permissions for all users. I've created a file called
[Desktop Entry] Exec=gksudo /home/myuser/enablewake.sh Icon=/home/myuser/icon1.png Encoding=UTF-8 Terminal=true Name=EnableWake Type=Application
This is the script:
#!/bin/bash # Enable Wake on IR for USB bus 3 port 1 (MCE Remote) echo enabled > /sys/bus/usb/devices/3-1/power/wakeup
Unfortunately there's no entry in my launcher. How can I get a shortcut to this shell script on my launcher?