This commit is contained in:
josh committed 2014-04-21 18:50:29 -04:00
1 parent 1bf032c569
commit 2257eee9d0
3 files changed
+1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash -e
# Enable keyboard backlight
echo 0x00050021 > /sys/kernel/debug/asus-nb-wmi/dev_id
echo 0x82 > /sys/kernel/debug/asus-nb-wmi/ctrl_param
cat /sys/kernel/debug/asus-nb-wmi/devs > /dev/null
# disable wake from sleep on USB device 2-1.4 (mouse)
echo disabled > /sys/bus/usb/devices/2-1.4/power/wakeup
# run xmodmap
#export DISPLAY=:0
#/bin/su josh -c "sleep 3; /usr/bin/xmodmap /home/josh/.xmodmap" &
exit 0