防止 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

相關內容