Mailinglist Archive: opensuse-support (176 mails)

< Previous Next >
[opensuse-support] Can not change laptop screen brightness via its keys
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Tue, 5 Feb 2019 02:24:40 +0100 (CET)
  • Message-id: <alpine.LSU.2.21.1902050204001.21123@minas-tirith.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



Hi,

XFCE, Leap 15.0


The laptop for some reason goes dark, and the keys to increase brightness do not work.

I see this in the log, probably in response to my key press (but later, not the same instant):

<10.5> 2019-02-05 02:02:15 minas-tirith pkexec 22358 - - cer: Executing
command [USER=root] [TTY=unknown] [CWD=/]
[COMMAND=/usr/sbin/xfpm-power-backlight-helper --set-brightness 0]

and other numbers.

Attempts to run the command on the cli fail. First, it complains that I have to be root. If root, then it complains something else:

minas-tirith:~ # /usr/sbin/xfpm-power-backlight-helper --set-brightness 9
This program must only be run through pkexec
minas-tirith:~ #

That seems to do the trick:

minas-tirith:~ # pkexec /usr/sbin/xfpm-power-backlight-helper --set-brightness 9
minas-tirith:~

The log responds:

<3.6> 2019-02-05 02:10:15 minas-tirith dbus-daemon 4099 - - [session uid=1000 pid=4099]
Activating service name='org.freedesktop.Notifications' requested by ':1.32' (uid=1000 pid=4252
comm="xfce4-power-manager --restart --sm-client-id 223bb")
<10.7> 2019-02-05 02:10:32 minas-tirith pkexec - - -
pam_systemd(polkit-1:session): Cannot create session: Already running in a session or
user slice
<10.6> 2019-02-05 02:10:32 minas-tirith pkexec - - -
pam_unix(polkit-1:session): session opened for user root by (uid=0)
<10.5> 2019-02-05 02:10:32 minas-tirith pkexec 22778 - - root: Executing
command [USER=root] [TTY=/dev/pts/12] [CWD=/root]
[COMMAND=/usr/sbin/xfpm-power-backlight-helper --set-brightness 9]
<10.7> 2019-02-05 02:10:40 minas-tirith pkexec - - -
pam_systemd(polkit-1:session): Cannot create session: Already running in a session or
user slice
<10.6> 2019-02-05 02:10:40 minas-tirith pkexec - - -
pam_unix(polkit-1:session): session opened for user root by (uid=1000)
<10.5> 2019-02-05 02:10:40 minas-tirith pkexec 22786 - - cer: Executing
command [USER=root] [TTY=unknown] [CWD=/]
[COMMAND=/usr/sbin/xfpm-power-backlight-helper --set-brightness 8]


But as you see in the log, something is pusshing brightnees down automatically after I push it up! Damm it!

Every 20" it goes down one notch, till it reaches 0. No, I'm not on battery.

I have to keep running the command in a loop wit "watch" to keep it up. :-//

This is stupid and horrible.

- -- Cheers

Carlos E. R.
(from 15.0 x86_64 at Minas-Tirith)

-----BEGIN PGP SIGNATURE-----

iJIEAREIADoWIQQt/vKEw5659AgM/X2NrxRtxRYzXAUCXFjl2Bwccm9iaW4ubGlz
dGFzQHRlbGVmb25pY2EubmV0AAoJEI2vFG3FFjNc65IA/0GR4SWugFZ8yyOMGjBb
bahOUxld4eGcIEeoubKm+9NuAP4+UbXY6ywsLIYZwquq5hkF3iYihU/b5rQ4fz+b
eWuREQ==
=dqdW
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages