Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-11-19 18:39:44

doodloo
Member
From: London
Registered: 2015-09-11
Posts: 39

Unable to prevent screen blank

Hello,

My monitors go to blank state regardless of the power management options I select. As a side note, another problem seems to be that VLC and other apps aren't capable of inhibiting sleep anymore.

This is a problem that appeared after installing Xubuntu 19.10. Note that the same problem occurs with my friend who upgraded and didn't do a clean install.

I looked for similar posts but didn't find anything relevant.

Any idea please?

Thank you,
Pierre.

Offline

#2 2019-11-19 19:07:53

CwF
Member
Registered: 2018-01-28
Posts: 52

Re: Unable to prevent screen blank

xset s 0 0 & xset dpms 0 0 0

Offline

#3 2019-11-19 20:16:38

doodloo
Member
From: London
Registered: 2015-09-11
Posts: 39

Re: Unable to prevent screen blank

Hi @CwF and thanks a lot for answering.

I understand that these two commands set values directly - what I'm wondering is how to have the XFCE pannel actually do things it advertises - eg my session automatically locks while this option is unchecked, the timings I set using the sliders are wrong etc.

Does anyone have an idea what's going on?

Offline

#4 2019-11-20 01:55:35

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,046

Re: Unable to prevent screen blank

On fresh boot and login, post:

1. The contents of ~/.xsession-errors

2. The results of:

journalctl --user --no-pager -b 0

3. The results of:

ps -ef  | grep xf

4. And the results of:

xfce4-power-manager --dump

Offline

#5 2019-11-20 12:19:20

doodloo
Member
From: London
Registered: 2015-09-11
Posts: 39

Re: Unable to prevent screen blank

Hello @ToZ and thank you for answering,

Here is the output from the different commands you suggested:

journalctl --user --no-pager -b 0
-- Logs begin at Mon 2019-11-18 15:49:19 GMT, end at Wed 2019-11-20 12:16:33 GMT. --
Nov 20 12:15:29 TankU systemd[2162]: Listening on Sound System.
Nov 20 12:15:29 TankU systemd[2162]: Listening on GnuPG network certificate management daemon.
Nov 20 12:15:29 TankU systemd[2162]: Listening on GnuPG cryptographic agent and passphrase cache.
Nov 20 12:15:29 TankU systemd[2162]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Nov 20 12:15:29 TankU systemd[2162]: Listening on debconf communication socket.
Nov 20 12:15:29 TankU systemd[2162]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 20 12:15:29 TankU systemd[2162]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov 20 12:15:29 TankU systemd[2162]: Reached target Paths.
Nov 20 12:15:29 TankU systemd[2162]: Reached target Timers.
Nov 20 12:15:29 TankU systemd[2162]: Starting D-Bus User Message Bus Socket.
Nov 20 12:15:29 TankU systemd[2162]: Listening on REST API socket for snapd user session agent.
Nov 20 12:15:29 TankU systemd[2162]: Listening on D-Bus User Message Bus Socket.
Nov 20 12:15:29 TankU systemd[2162]: Reached target Sockets.
Nov 20 12:15:29 TankU systemd[2162]: Reached target Basic System.
Nov 20 12:15:29 TankU systemd[2162]: Starting Sound Service...
Nov 20 12:15:29 TankU systemd[2162]: Started D-Bus User Message Bus.
Nov 20 12:15:29 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] AppArmor D-Bus mediation is enabled
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.5' (uid=1000 pid=2185 comm="xfce4-session " label="unconfined")
Nov 20 12:15:30 TankU systemd[2162]: Starting Accessibility services bus...
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.6' (uid=1000 pid=2286 comm="/usr/lib/at-spi2-core/at-spi-bus-launcher " label="unconfined")
Nov 20 12:15:30 TankU systemd[2162]: Starting Virtual filesystem service...
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gtk.vfs.Daemon'
Nov 20 12:15:30 TankU systemd[2162]: Started Virtual filesystem service.
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.a11y.Bus'
Nov 20 12:15:30 TankU systemd[2162]: Started Accessibility services bus.
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating service name='org.xfce.Xfconf' requested by ':1.9' (uid=1000 pid=2185 comm="xfce4-session " label="unconfined")
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.xfce.Xfconf'
Nov 20 12:15:30 TankU at-spi-bus-launcher[2286]: dbus-daemon[2300]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=2185 comm="xfce4-session " label="unconfined")
Nov 20 12:15:30 TankU at-spi-bus-launcher[2286]: dbus-daemon[2300]: Successfully activated service 'org.a11y.atspi.Registry'
Nov 20 12:15:30 TankU at-spi-bus-launcher[2286]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Nov 20 12:15:30 TankU systemd[2162]: Started GnuPG cryptographic agent and passphrase cache.
Nov 20 12:15:30 TankU gpg-agent[2319]: gpg-agent (GnuPG) 2.2.12 starting in supervised mode.
Nov 20 12:15:30 TankU gpg-agent[2319]: using fd 3 for ssh socket (/run/user/1000/gnupg/S.gpg-agent.ssh)
Nov 20 12:15:30 TankU gpg-agent[2319]: using fd 4 for std socket (/run/user/1000/gnupg/S.gpg-agent)
Nov 20 12:15:30 TankU gpg-agent[2319]: using fd 5 for extra socket (/run/user/1000/gnupg/S.gpg-agent.extra)
Nov 20 12:15:30 TankU gpg-agent[2319]: using fd 6 for browser socket (/run/user/1000/gnupg/S.gpg-agent.browser)
Nov 20 12:15:30 TankU gpg-agent[2319]: listening on: std=4 extra=5 browser=6 ssh=3
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.freedesktop.Notifications' unit='xfce4-notifyd.service' requested by ':1.47' (uid=1000 pid=2447 comm="/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 " label="unconfined")
Nov 20 12:15:30 TankU systemd[2162]: Starting XFCE notifications service...
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.freedesktop.Notifications'
Nov 20 12:15:30 TankU systemd[2162]: Started XFCE notifications service.
Nov 20 12:15:30 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating service name='org.freedesktop.thumbnails.Thumbnailer1' requested by ':1.41' (uid=1000 pid=2434 comm="xfdesktop --display :0.0 --sm-client-id 23aeebd0f-" label="unconfined")
Nov 20 12:15:30 TankU org.freedesktop.thumbnails.Thumbnailer1[2201]: Registered thumbnailer evince-thumbnailer -s %s %u %o
Nov 20 12:15:30 TankU org.freedesktop.thumbnails.Thumbnailer1[2201]: Registered thumbnailer /usr/share/blender/scripts/blender-thumbnailer.py %i %o
Nov 20 12:15:30 TankU org.freedesktop.thumbnails.Thumbnailer1[2201]: Registered thumbnailer atril-thumbnailer -s %s %u %o
Nov 20 12:15:30 TankU org.freedesktop.thumbnails.Thumbnailer1[2201]: Registered thumbnailer ffmpegthumbnailer -i %i -o %o -s %s -f
Nov 20 12:15:30 TankU org.freedesktop.thumbnails.Thumbnailer1[2201]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
Nov 20 12:15:30 TankU org.freedesktop.thumbnails.Thumbnailer1[2201]: Registered thumbnailer gnome-thumbnail-font --size %s %u %o
Nov 20 12:15:30 TankU org.freedesktop.thumbnails.Thumbnailer1[2201]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.50' (uid=1000 pid=2481 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="unconfined")
Nov 20 12:15:31 TankU systemd[2162]: Starting Virtual filesystem service - disk device monitor...
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Nov 20 12:15:31 TankU systemd[2162]: Started Virtual filesystem service - disk device monitor.
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.50' (uid=1000 pid=2481 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="unconfined")
Nov 20 12:15:31 TankU systemd[2162]: Starting Virtual filesystem service - Apple File Conduit monitor...
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
Nov 20 12:15:31 TankU systemd[2162]: Started Virtual filesystem service - Apple File Conduit monitor.
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor' unit='gvfs-mtp-volume-monitor.service' requested by ':1.50' (uid=1000 pid=2481 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="unconfined")
Nov 20 12:15:31 TankU systemd[2162]: Starting Virtual filesystem service - Media Transfer Protocol monitor...
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
Nov 20 12:15:31 TankU systemd[2162]: Started Virtual filesystem service - Media Transfer Protocol monitor.
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gtk.vfs.GPhoto2VolumeMonitor' unit='gvfs-gphoto2-volume-monitor.service' requested by ':1.50' (uid=1000 pid=2481 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="unconfined")
Nov 20 12:15:31 TankU systemd[2162]: Starting Virtual filesystem service - digital camera monitor...
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating service name='org.freedesktop.secrets' requested by ':1.63' (uid=1000 pid=2532 comm="python3 /usr/share/backintime/common/backintime.py" label="unconfined")
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
Nov 20 12:15:31 TankU systemd[2162]: Started Virtual filesystem service - digital camera monitor.
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.freedesktop.secrets'
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.50' (uid=1000 pid=2481 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd " label="unconfined")
Nov 20 12:15:31 TankU systemd[2162]: Starting Virtual filesystem service - GNOME Online Accounts monitor...
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
Nov 20 12:15:31 TankU systemd[2162]: Started Virtual filesystem service - GNOME Online Accounts monitor.
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gnome.evolution.dataserver.Sources5' unit='evolution-source-registry.service' requested by ':1.74' (uid=1000 pid=2529 comm="/usr/libexec/evolution-data-server/evolution-alarm" label="unconfined")
Nov 20 12:15:31 TankU systemd[2162]: Starting Evolution source registry...
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.41' (uid=1000 pid=2434 comm="xfdesktop --display :0.0 --sm-client-id 23aeebd0f-" label="unconfined")
Nov 20 12:15:31 TankU systemd[2162]: Starting Virtual filesystem metadata service...
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gtk.vfs.Metadata'
Nov 20 12:15:31 TankU systemd[2162]: Started Virtual filesystem metadata service.
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating service name='ca.desrt.dconf' requested by ':1.79' (uid=1000 pid=2657 comm="/usr/libexec/evolution-source-registry " label="unconfined")
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'ca.desrt.dconf'
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gnome.evolution.dataserver.Sources5'
Nov 20 12:15:31 TankU systemd[2162]: Started Evolution source registry.
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.gnome.evolution.dataserver.Calendar8' unit='evolution-calendar-factory.service' requested by ':1.74' (uid=1000 pid=2529 comm="/usr/libexec/evolution-data-server/evolution-alarm" label="unconfined")
Nov 20 12:15:31 TankU systemd[2162]: Starting Evolution calendar service...
Nov 20 12:15:31 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.gnome.evolution.dataserver.Calendar8'
Nov 20 12:15:31 TankU systemd[2162]: Started Evolution calendar service.
Nov 20 12:15:31 TankU gnome-keyring-daemon[2182]: asked to register item /org/freedesktop/secrets/collection/login/25, but it's already registered
Nov 20 12:15:32 TankU gnome-keyring-daemon[2182]: asked to register item /org/freedesktop/secrets/collection/login/17, but it's already registered
Nov 20 12:15:32 TankU gnome-keyring-daemon[2182]: asked to register item /org/freedesktop/secrets/collection/login/17, but it's already registered
Nov 20 12:15:32 TankU gnome-keyring-daemon[2182]: asked to register item /org/freedesktop/secrets/collection/login/25, but it's already registered
Nov 20 12:15:33 TankU systemd[2162]: Started Sound Service.
Nov 20 12:15:33 TankU systemd[2162]: Reached target Main User Target.
Nov 20 12:15:33 TankU systemd[2162]: Startup finished in 3.908s.
Nov 20 12:15:35 TankU xfce4-notifyd[2461]: Theme parsing error: gtk.css:1515:35: Junk at end of value for background-color
Nov 20 12:15:35 TankU xfce4-notifyd[2461]: Theme parsing error: gtk.css:2971:52: Expected a valid selector
Nov 20 12:15:35 TankU xfce4-notifyd[2461]: Theme parsing error: gtk.css:4423:25: '' is not a valid color name
Nov 20 12:15:35 TankU xfce4-notifyd[2461]: Theme parsing error: gtk.css:4433:25: '' is not a valid color name
Nov 20 12:15:35 TankU xfce4-notifyd[2461]: Theme parsing error: gtk.css:4445:14: unknown value for property
Nov 20 12:15:38 TankU systemd[2162]: run-user-113-gvfs.mount: Succeeded.
Nov 20 12:15:38 TankU systemd[2162]: run-user-113.mount: Succeeded.
Nov 20 12:15:51 TankU pulseaudio[2179]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Nov 20 12:15:51 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Activating via systemd: service name='org.bluez.obex' unit='dbus-org.bluez.obex.service' requested by ':1.80' (uid=1000 pid=2523 comm="/usr/bin/python3 /usr/bin/blueman-applet " label="unconfined")
Nov 20 12:15:51 TankU systemd[2162]: Starting Bluetooth OBEX service...
Nov 20 12:15:51 TankU obexd[3298]: OBEX daemon 5.50
Nov 20 12:15:51 TankU dbus-daemon[2201]: [session uid=1000 pid=2201] Successfully activated service 'org.bluez.obex'
Nov 20 12:15:51 TankU systemd[2162]: Started Bluetooth OBEX service.
Nov 20 12:16:33 TankU gnome-keyring-daemon[2182]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
Nov 20 12:16:33 TankU gnome-keyring-daemon[2182]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
ps -ef  | grep xf
doodloo   2185  1775  0 12:15 ?        00:00:00 xfce4-session
doodloo   2268  2185  0 12:15 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/im-launch startxfce4
doodloo   2307  2162  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd
doodloo   2321  2185  1 12:15 ?        00:00:02 xfwm4 --replace --display :0.0 --sm-client-id 235c9c5b4-0a70-4283-af65-3ac661778f83
doodloo   2340     1  0 12:15 ?        00:00:00 xfsettingsd --display :0.0 --sm-client-id 21f9c7d8e-24dc-4f85-8690-1e895e0218c4
doodloo   2372  2185  0 12:15 ?        00:00:00 xfce4-panel --display :0.0 --sm-client-id 200fa3ba7-b464-460f-946a-00400d6244d4
doodloo   2434  2185  0 12:15 ?        00:00:01 xfdesktop --display :0.0 --sm-client-id 23aeebd0f-32a1-42ae-947a-faa31f172f2f
doodloo   2437  2372  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libwhiskermenu.so 1 62914567 whiskermenu Whisker Menu Show a menu to easily access installed applications
doodloo   2438  2372  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libcpugraph.so 13 62914568 cpugraph CPU Graph Graphical representation of the CPU load
doodloo   2443  2372  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libsystray.so 4 62914570 systray Notification Area Area where notification icons appear
doodloo   2444  2372  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libxfce4powermanager.so 8 62914571 power-manager-plugin Power Manager Plugin Display the battery levels of your devices and control the brightness of your display
doodloo   2445  2372  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libstatusnotifier.so 7 62914572 statusnotifier Status Notifier Plugin Provides a panel area for status notifier items (application indicators)
doodloo   2446  2372  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libnotification-plugin.so 5 62914573 notification-plugin Notification Plugin Notification plugin for the Xfce panel
doodloo   2447  2372  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libpulseaudio-plugin.so 9 62914574 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system
doodloo   2461  2162  0 12:15 ?        00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd
doodloo   2478     1  0 12:15 ?        00:00:00 xfce4-power-manager --restart --sm-client-id 2464e15d9-33ce-4d16-b827-54acc316d75c
doodloo   2541  2185  0 12:15 ?        00:00:00 xfce4-screensaver
doodloo   3880     1  8 12:16 ?        00:00:10 /opt/google/chrome/chrome https://forum.xfce.org/viewtopic.php?pid=55330#p55330
doodloo   4755  4261  0 12:18 pts/0    00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn xf
xfce4-power-manager --dump
---------------------------------------------------
       Xfce power manager version 1.6.5
With policykit support
With network manager support
---------------------------------------------------
Can suspend: True
Can hibernate: False
Authorised to suspend: True
Authorised to hibernate: False
Authorised to shutdown: True
Has battery: False
Has brightness panel: False
Has power button: True
Has hibernate button: True
Has sleep button: True
Has battery button: True
Has LID: False

I hope this will help us find a solution.

Last edited by doodloo (2019-11-20 12:20:23)

Offline

#6 2019-11-21 01:38:10

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,046

Re: Unable to prevent screen blank

Can I see your power manager settings?

xfconf-query -c xfce4-power-manager -lv

...and the results of:

xset q

Offline

#7 2019-11-21 11:29:12

doodloo
Member
From: London
Registered: 2015-09-11
Posts: 39

Re: Unable to prevent screen blank

Hello @ToZ and thanks for answering,

Note that I tried messing up with `xset` flags two days ago - this might have changed - but the wrong behavior is still here.

Here is the output of the commands you suggested:

xfconf-query -c xfce4-power-manager -lv
/xfce4-power-manager/battery-button-action              3
/xfce4-power-manager/blank-on-ac                        0
/xfce4-power-manager/blank-on-battery                   10
/xfce4-power-manager/brightness-on-battery              9
/xfce4-power-manager/brightness-switch                  0
/xfce4-power-manager/brightness-switch-restore-on-exit  1
/xfce4-power-manager/dpms-enabled                       true
/xfce4-power-manager/dpms-on-ac-off                     30
/xfce4-power-manager/dpms-on-ac-sleep                   15
/xfce4-power-manager/dpms-on-battery-off                30
/xfce4-power-manager/dpms-on-battery-sleep              15
/xfce4-power-manager/general-notification               false
/xfce4-power-manager/hibernate-button-action            3
/xfce4-power-manager/inactivity-sleep-mode-on-ac        1
/xfce4-power-manager/inactivity-sleep-mode-on-battery   1
/xfce4-power-manager/lock-screen-suspend-hibernate      false
/xfce4-power-manager/logind-handle-lid-switch           false
/xfce4-power-manager/power-button-action                3
/xfce4-power-manager/presentation-mode                  true
/xfce4-power-manager/show-panel-label                   0
/xfce4-power-manager/show-tray-icon                     false
/xfce4-power-manager/sleep-button-action                3
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:  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:  no    allow exposures:  no
  timeout:  300    cycle:  300
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: 600    Suspend: 600    Off: 600
  DPMS is Disabled

Do you know what I could possibly be doing wrong?

Offline

#8 2019-11-21 13:41:03

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,046

Re: Unable to prevent screen blank

So it looks like you have the power manager set up to blank the screen after 10 minutes on battery and never when plugged in. Also, xset has DPMS disabled, but I guess the monitor is still blanking.

- When does this blanking happen?
- What is the elapsed time before it blanks?
- Does this coincide with the screensaver timeout?
- If you disable the screensaver does it still happen?

You also have DPMS enabled in the power manager (Display tab in power manager settings). If you disable it, does it make a difference?

And also, can you run xfce4-power-manager in debug mode, wait for the blanking to happen, and post back the output?

xfce4-power-manager -q 
xfce4-power-manager --no-daemon --debug

Last edited by ToZ (2019-11-21 13:42:54)

Offline

#9 2019-11-29 15:33:18

doodloo
Member
From: London
Registered: 2015-09-11
Posts: 39

Re: Unable to prevent screen blank

Hi @ToZ and sorry for the late reply - changing the screensaver options worked! It was set to "Blank Screen" which explains why I initially thought it was a power management problem...
Well done spotting this smile

Offline

Board footer

Powered by FluxBB