-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2023-02-19 a las 12:56 -0000, Marco Calistri escribió:
Not enough scripting skill may be.
I can help with that.
Besides that I want something "less experimental", something like "plug and play", since I already tested several solutions which have failed.
Inviato da Outlook per Android
Try (/usr/lib/systemd/system-sleep/mine-brightness): #!/bin/bash LOGGER=/usr/bin/logger # $1: "pre" is hibernating. "post" is recovering. case $1 in post) $LOGGER -t mine-brightness -p daemon.info "Restoring brightness after hibernating/suspend." echo -n 1 > /sys/class/backlight/acpi_video0/brightness ;; esac I have not tested this. If the script runs, you will see that message in the journal and/or syslog. /usr/lib/systemd/system-sleep/mine-brightness must be marked executable, I understand. - -- Cheers, Carlos E. R. (from openSUSE 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCY/ktVRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV3I0AnieYeUxweRTklWeTIU2X /qMIo4UhAJ0aYElUw6/gYVIa44gQOIufv8RlYA== =LCEr -----END PGP SIGNATURE-----