防止 xscreensaver 在 ubuntu 12.04 LTS / 16.04 LTS 上变黑

防止 xscreensaver 在 ubuntu 12.04 LTS / 16.04 LTS 上变黑

我有一些 iei 面板电脑,大约一分钟后,屏幕就会黑屏。问题是我希望启动屏幕保护程序,但不希望它使屏幕变黑。

X 由 nodm 启动,并且 X 配置了 dpms 并禁用了屏幕保护程序,因此:

xxx@xxx-001:~$ xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    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:  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:
  /usr/share/fonts/X11/misc,built-ins
DPMS (Energy Star):
  Standby: 7200    Suspend: 7200    Off: 14400
  DPMS is Disabled

我还通过 grub 的内核选项禁用了 consoleblank:

xxx@xxx-001:~$ cat /sys/module/kernel/parameters/consoleblank
0

我尝试了围绕 setterm/issue 的其他一些东西,甚至是 kms,我还尝试了一些其他内核

但似乎没有什么作用,总是一片空白。

有人看到我应该调查的线索吗?

PS:我知道如何阻止屏幕空白/黑屏?和其他一些

编辑:我的问题来自 xscreensaver,如果我禁用它,显示器将按预期运行。但我在其他主机上使用相同的 .xscreensaver 并且它们表现正常,它们使用相同的内核和相同版本的 X11

我的 .xscreensaver :

# XScreenSaver Preferences File
# Written by xscreensaver-demo 5.15 for ineo on Tue Oct 15 17:26:18 2013.
# http://www.jwz.org/xscreensaver/

timeout:        0:01:00
cycle:          0:10:00
lock:           False
lockTimeout:    0:00:00
passwdTimeout:  0:00:30
visualID:       default
installColormap:    True
verbose:        False
timestamp:      True
splash:         True
splashDuration: 0:00:05
demoCommand:    xscreensaver-demo
prefsCommand:   xscreensaver-demo -prefs
nice:           10
memoryLimit:    0
fade:           False
unfade:         True
fadeSeconds:    0:00:03
fadeTicks:      20
captureStderr:  True
ignoreUninstalledPrograms:False
font:
dpmsEnabled:    False
dpmsQuickOff:   False
dpmsStandby:    2:00:00
dpmsSuspend:    2:00:00
dpmsOff:        4:00:00
grabDesktopImages:  False
grabVideoFrames:    False
chooseRandomImages: False
imageDirectory: /home/xxxx/images

mode:           one
selected:       0

textMode:       url
textLiteral:    XScreenSaver
textFile:
textProgram:    fortune
textURL:        http://fridge.ubuntu.com/node/feed

programs: bash /home/xxxx/screensaver-launcher.sh -root

pointerPollTime:    0:00:05
pointerHysteresis:  10
windowCreationTimeout:0:00:30
initialDelay:   0:00:00
GetViewPortIsFullOfLies:False
procInterrupts: True
xinputExtensionDev: False
overlayStderr:  True

相关内容