xset命令
来源:原创 更新时间:2018-09-05 22:11:48 作者:管理员 浏览:2855
- 命令描述
- 命令语法
- 命令选项
-c:键盘按键声响设置。
- 命令参数
s:屏幕保护程序设置。
- 命令实例
Command | Description |
---|---|
xset s off | 禁用屏幕保护程序消隐 |
xset s 3600 3600 | 将空白时间更改为1小时 |
xset -dpms | 关闭DPMS |
xset s off -dpms | 禁用DPMS并防止屏幕消隐 |
xset dpms force off | 立即关闭屏幕 |
xset dpms force standby | 待机屏幕 |
xset dpms force suspend | 暂停屏幕 |
要查询当前设置:
$ xset q ... Screen Saver: prefer blanking: yes allow exposures: yes timeout: 600 cycle: 600 DPMS (Energy Star): Standby: 600 Suspend: 600 Off: 600 DPMS is Enabled Monitor is On