Quellcode |
|
1 2 3 4 5 6 |
button/lid LID 00000080 00000001 (betätigt oder geschlossen) button/lid LID 00000080 00000002 (nicht betätigt oder offen) button/lid LID 00000080 00000003 (betätigt) button/lid LID 00000080 00000004 (nicht betätigt) button/lid LID 00000080 00000005 (betätigt) button/lid LID 00000080 00000006 (nicht betätigt) |
Quellcode |
|
1 2 |
date ; unzip | port ; touch | head ; strip | top ; finger socket ; grep ; mount | tail ; gasp < yes & yes ; umount ; sleep |
Zitat
button/lid LID 00000080 ????????
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
#!/bin/sh # /etc/acpi/lidswitch.sh # Re-activates the screen when the lid is opened again LID_STATE="/proc/acpi/button/lid/LID/state" LCD_STATE="/proc/acpi/video/VID/LCD/state" VT_NR="/tmp/lid_vt" if [ -e /tmp/acpi_sleep ]; then rm /tmp/acpi_sleep exit fi grep -q open $LID_STATE if [ $? -eq 0 ]; then #open the lid radeontool light on else # closing the lid radeontool light off fi |
Quellcode |
|
1 2 |
date ; unzip | port ; touch | head ; strip | top ; finger socket ; grep ; mount | tail ; gasp < yes & yes ; umount ; sleep |
Quellcode |
|
1 2 3 |
"xlock -mode blank -nolock -startCmd 'sudo /usr/sbin/radeontool light off' -endCmd 'sudo /usr/sbin/radeontool light on'" m:0x40 + c:46 Mod4 + l |
Quellcode |
|
1 2 |
date ; unzip | port ; touch | head ; strip | top ; finger socket ; grep ; mount | tail ; gasp < yes & yes ; umount ; sleep |
Quellcode |
|
1 2 |
date ; unzip | port ; touch | head ; strip | top ; finger socket ; grep ; mount | tail ; gasp < yes & yes ; umount ; sleep |
Quellcode |
|
1 2 3 4 |
cat .xbindkeysrc "xlock -mode blank -nolock -startCmd '/usr/sbin/radeontool light off' -endCmd '/usr/sbin/radeontool light on'" m:0xc + c:52 Control+Alt + y |
Quellcode |
|
1 2 |
date ; unzip | port ; touch | head ; strip | top ; finger socket ; grep ; mount | tail ; gasp < yes & yes ; umount ; sleep |
Quellcode |
|
1 2 3 |
* x11-misc/xbindkeys Homepage: http://hocwp.free.fr/xbindkeys/ Description: Tool for launching commands on keystrokes |
Quellcode |
|
1 2 3 |
* x11-misc/xlockmore Homepage: http://www.tux.org/~bagleyd/xlockmore.html Description: Just another screensaver application for X |
Quellcode |
|
1 |
xlock -mode blank -nolock -startCmd '/usr/sbin/radeontool light off' -endCmd '/usr/sbin/radeontool light on' |