系统控制
Table of Contents
1 如何使用命令关闭显示器
xset dpms force off
2 设置CPU的频率
sudo apt-get install cpufrequtils #查看cpu当前频率信息 sudo cpufreq-info #设置模式,对应于{最省电(最低频率),用户控制,最高或最低,正常,最大性能} cpufreq-set -g {powersave, userspace, ondemand, conservative, performance}
3 命令关机
sudo halt sudo shutdown -h now #现在关机
4 定时关机
sudo shutdown -h 23:00 #晚上11点自动关机 sudo shutdown -h +60 #60分钟后关机
5 命令重启电脑
sudo reboot sudo shutdown -r now
6 关闭笔记本的触摸板
synclient touchpadoff=1 那么开启触摸板就是: synclient touchpadoff=0
7 从命令行通知桌面消息
#sudo apt-get install libnotify-bin notify-send "hello world"