如何写个脚本30分钟无操作自动关机?
发表于 : 2010-04-11 10:52
如何写个脚本30分钟无操作自动关机?
谢谢!
如果不用shell用别的也行。
谢谢!
如果不用shell用别的也行。
eexpress 写了:无操作。这个,是不好判断的。
只能借用gnome-screensaver。记得。
用xset 来判断应该就可以不用gnome-screensaverKeyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
catalogue:/etc/X11/fontpath.d,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On
谢谢,不过我没看懂什么意思……fzq5012 写了:eexpress 写了:无操作。这个,是不好判断的。
只能借用gnome-screensaver。记得。用xset 来判断应该就可以不用gnome-screensaverKeyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
catalogue:/etc/X11/fontpath.d,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On