XFCE Power Manager--screen won't unblank [solved]

Questions about software.
lilgman
Posts: 40
Joined: 04 Oct 2013 13:53
Location: Lesotho, Africa

XFCE Power Manager--screen won't unblank [solved]

Postby lilgman » 12 May 2015 07:51

Hi,

I am using SolydX and my system is up-to-date tracking Stable.

I use XFCE power manager to (among other things) turn off the screen on my laptop after a certain number of minutes. In the last few days, the screen won't come back on when I press a key, click the touch pad, etc. If I have just the right light, I can see that the screen is still active, but the backlight is off. (I can seek the results of key strokes, mouse movement, etc.) To restore the screen, I restart X.

I'm not sure, but I believe this happened as a result of the update after updating Update Manager to 2.6.4. (Sorry for the tongue twister!) Yesterday I ran another update (to Update Manager 2.6.5). Update Manager upgraded fine, but the upgrade of the system stalled without upgrading anything. A manual apt-get update and dist-upgrade went off without a hitch, but hasn't fixed the problem.

Any advice?

lilgman
Posts: 40
Joined: 04 Oct 2013 13:53
Location: Lesotho, Africa

Re: XFCE Power Manager--screen won't unblank

Postby lilgman » 14 May 2015 14:50

Perhaps providing a little more information will help towards a solution.

1. I discovered that if I hit a key immediately after the screen blanks, it will come on normally. I don't know how much time has to elapse before the problem begins.

2. The screen both blanks and turns off. If I get the screen in just the right light, I can see that when I press a key, the screen unblanks, but the back light doesn't come on again.

3. Woring blind,

Code: Select all

sudo xrandr --auto
doesn't help anything.

4. Removing xscreensaver doesn't solve the problem.

5. Again working blind, the results of xset -q is as follows

Code: Select all

user@acer-netbook:~$ 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:  500    repeat rate:  20
  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:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 60
  DPMS is Enabled
  Monitor is On
user@acer-netbook:~$ 
I probably should have put this in the XFCE specific section, but see any way to move it.

Thanks again for any help.

kurotsugi
Posts: 2234
Joined: 09 Jan 2014 00:17

Re: XFCE Power Manager--screen won't unblank

Postby kurotsugi » 14 May 2015 18:29

Code: Select all

sudo apt-get update
sudo dpkg --configure -a
sudo apt-get -f install
cat /var/log/apt/history.log
xfce's power manager is just systemd's upower front end. the real problem lies on upower. since you mentioned stalled upgrade, we need to fix that one first. simply run the commands above and tell us the result. if you're lucky the problem might get fixed.

lilgman
Posts: 40
Joined: 04 Oct 2013 13:53
Location: Lesotho, Africa

Re: XFCE Power Manager--screen won't unblank

Postby lilgman » 14 May 2015 19:20

Thanks for your advice.

Code: Select all

sudo apt-get update
sudo dpkg --configure -a
Both of these ran fine without any interesting results.

Code: Select all

sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cgmanager evolution-data-server-common fairymax five-or-more four-in-a-row
  gnome-chess gnome-klotski gnome-mahjongg gnome-nibbles gnome-robots
  gnome-sudoku gnome-tetravex gnuchess gnuchess-book hoichess iagno
  libabiword-3.0 libavcodec55 libavformat55 libboost-thread1.55.0
  libcamel-1.2-49 libcglib-java libcgmanager0 libchamplain-0.12-0
  libchamplain-gtk-0.12-0 libdirac-decoder0 libebackend-1.2-7 libebook-1.2-14
  libebook-contacts-1.2-0 libecal-1.2-16 libedata-book-1.2-20
  libedataserver-1.2-18 libexif12:i386 libgd3:i386 libgphoto2-6:i386
  libgphoto2-port10:i386 libinput3 libllvm3.4 libllvm3.4:i386 libnih-dbus1
  libnih1 libphonenumber6 libprotobuf9 libqqwing2 libswscale2
  libsystemd-daemon0 libsystemd-id128-0 libsystemd-id128-0:i386
  libsystemd-journal0 libsystemd-journal0:i386 libusb-1.0-0:i386 libxpm4:i386
  lightsoff linux-image-3.14-1-amd64 linux-image-3.14-2-amd64 quadrapassel
  swell-foop tali tix vlc-plugin-pulse xboard
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
I believe I've been getting the same results for a long time except for the "4 not upgraded" at the end. I don't know why it wants to uninstall all my games!?!

Code: Select all

$ cat /var/log/apt/history.log

Start-Date: 2015-05-01  12:10:36
Commandline: apt-get --assume-yes -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold --force-yes install updatemanager
Upgrade: updatemanager:amd64 (2.6.2, 2.6.4)
End-Date: 2015-05-01  12:10:57

Start-Date: 2015-05-01  12:11:03
Commandline: apt-get --assume-yes -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold --force-yes install gksu apt-show-versions deborphan apt curl python3-gi python-vte gir1.2-vte-2.90 gir1.2-webkit-3.0 python3 gir1.2-gtk-3.0 python3-pyinotify
Upgrade: curl:amd64 (7.38.0-4+deb8u1, 7.38.0-4+deb8u2), libcurl3:amd64 (7.38.0-4+deb8u1, 7.38.0-4+deb8u2)
End-Date: 2015-05-01  12:11:08

Start-Date: 2015-05-01  12:22:22
Commandline: apt-get --assume-yes -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold --force-yes dist-upgrade
Upgrade: libreoffice-base-core:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-emailmerge:amd64 (4.3.3-2, 4.3.3-2+deb8u1), linux-image-3.16.0-4-amd64:amd64 (3.16.7-ckt9-2, 3.16.7-ckt9-3~deb8u1), ure:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-writer:amd64 (4.3.3-2, 4.3.3-2+deb8u1), debian-plymouth-manager:amd64 (2.3.1, 2.3.2), google-chrome-stable:amd64 (42.0.2311.90-1, 42.0.2311.135-1), ddm:amd64 (2.0.6, 2.0.7), libreoffice-impress:amd64 (4.3.3-2, 4.3.3-2+deb8u1), uno-libs3:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-avmedia-backend-gstreamer:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-base:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-draw:amd64 (4.3.3-2, 4.3.3-2+deb8u1), fonts-opensymbol:amd64 (102.6+LibO4.3.3-2, 102.6+LibO4.3.3-2+deb8u1), libreoffice-core:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-sdbc-firebird:amd64 (4.3.3-2, 4.3.3-2+deb8u1), openjdk-7-jdk:amd64 (7u75-2.5.4-2, 7u79-2.5.5-1~deb8u1), linux-headers-3.16.0-4-amd64:amd64 (3.16.7-ckt9-2, 3.16.7-ckt9-3~deb8u1), lightdm-manager:amd64 (0.6.8, 0.6.9), openjdk-7-jre-headless:amd64 (7u75-2.5.4-2, 7u79-2.5.5-1~deb8u1), libreoffice-report-builder-bin:amd64 (4.3.3-2, 4.3.3-2+deb8u1), openjdk-7-jre-lib:amd64 (7u75-2.5.4-2, 7u79-2.5.5-1~deb8u1), python3-uno:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-common:amd64 (4.3.3-2, 4.3.3-2+deb8u1), solydx-info:amd64 (1.1.4, 1.1.5), openjdk-7-jre:amd64 (7u75-2.5.4-2, 7u79-2.5.5-1~deb8u1), libreoffice-sdbc-hsqldb:amd64 (4.3.3-2, 4.3.3-2+deb8u1), linux-compiler-gcc-4.8-x86:amd64 (3.16.7-ckt9-2, 3.16.7-ckt9-3~deb8u1), libreoffice-java-common:amd64 (4.3.3-2, 4.3.3-2+deb8u1), chromium-inspector:amd64 (41.0.2272.118-1, 42.0.2311.135-1~deb8u1), libreoffice-style-galaxy:amd64 (4.3.3-2, 4.3.3-2+deb8u1), linux-libc-dev:amd64 (3.16.7-ckt9-2, 3.16.7-ckt9-3~deb8u1), linux-headers-3.16.0-4-common:amd64 (3.16.7-ckt9-2, 3.16.7-ckt9-3~deb8u1), libreoffice-base-drivers:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-math:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libreoffice-calc:amd64 (4.3.3-2, 4.3.3-2+deb8u1), libcurl3-gnutls:amd64 (7.38.0-4+deb8u1, 7.38.0-4+deb8u2)
End-Date: 2015-05-01  12:25:57

Start-Date: 2015-05-02  17:32:04
Commandline: apt-get purge shotwell
Purge: shotwell:amd64 (0.20.1-1+b1)
End-Date: 2015-05-02  17:32:26

Start-Date: 2015-05-02  17:32:52
Commandline: apt-get install shotwell
Install: shotwell:amd64 (0.20.1-1+b1)
End-Date: 2015-05-02  17:32:57

Start-Date: 2015-05-11  04:13:33
Commandline: apt-get --assume-yes -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold --force-yes install updatemanager
Upgrade: updatemanager:amd64 (2.6.4, 2.6.5)
End-Date: 2015-05-11  04:13:51

Start-Date: 2015-05-11  04:40:37
Commandline: apt-get dist-upgrade
Upgrade: debian-plymouth-manager:amd64 (2.3.2, 2.3.4), ddm:amd64 (2.0.7, 2.0.9), lightdm-manager:amd64 (0.6.9, 0.7.1), libxml-libxml-perl:amd64 (2.0116+dfsg-1+b1, 2.0116+dfsg-1+deb8u1), libsqlite3-0:amd64 (3.8.7.1-1, 3.8.7.1-1+deb8u1), libsqlite3-0:i386 (3.8.7.1-1, 3.8.7.1-1+deb8u1), solydxk-softwaremanager:amd64 (7.6.6-1, 7.6.8), solydx-system-adjustments:amd64 (2.0.7, 2.0.9), dnsmasq-base:amd64 (2.72-3, 2.72-3+deb8u1), solydxk-system:amd64 (2.0.6, 2.0.7), sambashare:amd64 (0.6.7, 0.6.9), usermanager:amd64 (0.7.0, 0.7.2), libtasn1-6:amd64 (4.2-3, 4.2-3+deb8u1), libtasn1-6:i386 (4.2-3, 4.2-3+deb8u1)
End-Date: 2015-05-11  04:42:32

Start-Date: 2015-05-11  12:52:44
Commandline: apt-get remove xscreensaver
Remove: xscreensaver:amd64 (5.30-1+b1)
End-Date: 2015-05-11  12:52:49
Thanks again for helping.

kurotsugi
Posts: 2234
Joined: 09 Jan 2014 00:17

Re: XFCE Power Manager--screen won't unblank

Postby kurotsugi » 14 May 2015 19:44

let's try to get another system setting. first, install light-locker and make it as the screen locker and activate it. it might not directly related with our issue but it's cool and xfce's power manager integrate it quite well. now, open the power manager setting, activate "handle display power manager setting", change the "blank after" and "brightness reduction" value. this method will trigger power manager to create new configuration files. activate the locksreen or wait until your screen turned off, add another 10 second to make sure light-locker started, then try to wake it.

in case if it still didn't work I'd suggest to do a workaround on it by installing xbacklight then create a keyboard shortcut to activate it (xbacklight + 10).

lilgman
Posts: 40
Joined: 04 Oct 2013 13:53
Location: Lesotho, Africa

Re: XFCE Power Manager--screen won't unblank [solved]

Postby lilgman » 15 May 2015 11:49

Thank you so much, Kurotsugi. Installing light-locker has solved the problem. I have marked the thread [solved].

Great Distro!
Great Community!

lilgman
Posts: 40
Joined: 04 Oct 2013 13:53
Location: Lesotho, Africa

Re: XFCE Power Manager--screen won't unblank [solved]

Postby lilgman » 18 May 2015 10:39

Just a quick update in case anyone else ever has this problem:

Light-locker did solve the problem, but my laptop wouldn't go to sleep if I left it for a certain amount of time. I would come back to find it asking for the root password to allow suspend.

I followed advice from this blog. http://winaero.com/blog/how-to-enable-s ... an-jessie/

Specifically I changed the defaults to "yes" in the following section of /usr/share/polkit-1/actions/org.freedesktop.login1.policy

Code: Select all

<action id="org.freedesktop.login1.suspend">
                <description>Suspend the system</description>
                <description xml:lang="de">Das System in Bereitschaft versetzen</description>
                <description xml:lang="el">Αναστολή του συστήματος</description>
                <description xml:lang="fr">Mettre le système en veille</description>
                <description xml:lang="it">Sospendere il sistema</description>
                <description xml:lang="pl">Uśpienie systemu</description>
                <description xml:lang="ru">Перевести систему в ждущий режим</description>
                <message>Authentication is required for suspending the system.</message>
                <message xml:lang="de">Legitimierung ist zum Versetzen des Systems in Bereitschaft notwendig.</message>
                <message xml:lang="el">Απαιτείται πιστοποίηση για την αναστολή του συστήματος.</message>
                <message xml:lang="fr">Authentification requise pour mettre le système en veille.</message>
                <message xml:lang="it">Autenticazione richiesta per sospendere il sistema.</message>
                <message xml:lang="pl">Wymagane jest uwierzytelnienie, aby uśpić system.</message>
                <message xml:lang="ru">Чтобы перевести систему в ждущий режим, необходимо пройти аутентификацию.</message>
                <defaults>
                        <allow_any>yes</allow_any>
                        <allow_inactive>yes</allow_inactive>
                        <allow_active>yes</allow_active>
                </defaults>
        </action>
I don't know if this is the right way to fix the problem, but it works. If there is a better way, I would be happy to learn.


Return to “Software”

Who is online

Users browsing this forum: No registered users and 2 guests