Ubuntu 17.04 上的屏幕在 30 秒不活动后不断关闭

Edu*_*Edu 5 suspend power-management screen 17.04

自从我安装 17.04 以来,我的屏幕在 30 秒不活动后关闭。

我已经尝试了很多方法来修复它,包括xset s offdpms,但它没有帮助。当我在终端上输入时xset q,它给我这个:

Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  33
  auto repeating keys:  00ffffffdffffbbf
                        fa9fffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  5/1    threshold:  5
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Disabled
Run Code Online (Sandbox Code Playgroud)

我应该怎么办?尝试更改设置中的内容也不起作用。我在这里先向您的帮助表示感谢。

小智 8

很抱歉,这无法解决您的问题,但这是“ubuntu 屏幕在 30 秒不活动后关闭”的第一个 google 结果,我想分享一下,在让我的笔记本电脑在 Ubuntu 16.04 上发生这个问题电池完全耗尽并强制关机,修复方法是:

xset -dpms
Run Code Online (Sandbox Code Playgroud)

这个答案适用于任何可能有帮助的人。对不起,OP。