Laptop_Specific_Utilities
Contents |
Tools
laptop-mode-tools
Helper Scripts
These are examples of scripts that can be used from sys-power/acpid or sys-power/powersave.
Eject CDROM
| File: eject_cdrom.sh |
#/bin/bash /usr/bin/eject /dev/cdrom1 |
Turn off display
The following script requires x11-apps/xset.
| File: turn_off_display.sh |
#!/bin/bash /usr/bin/xset -display :1.0 dpms force off |
Toggle synaptics touchpad
The following script requires Synaptics Touchpad be configured properly (with SHMConfig turned on in xorg.conf).
| File: toggle_touchpad.sh |
#/bin/bash if(synclient -l | grep -e "TouchpadOff" | grep -e "0" > /dev/null) ; then synclient TouchpadOff=1 else synclient TouchpadOff=0 fi |
Last modified: Thu, 28 Aug 2008 16:08:00 +1000 Hits: 9,392
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.
