How to Automatically reduced backlight and lock screen

I want archlabs automatically reduce backlight and automatically lock the screen when I m not using computer

I found it can automatically turn off the screen and keyboard backlight( it is any power manager working there (systemd)?) , but I wante more customize about that, not just simply turn off…

Thanks

Install Xfce Power Manager. The options are in there.

1 Like

Or you might wan’t to get rid of xfce power management and write your own script. I don’t remember the name of the tool, but it can execute a script if you haven’t use your computer in a while.
So you just have to find this soft, make your personnal script that will execute a few commands so you can reduce keyboard, screen light and finally toggle i3lock.

Maybe this will help:

https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling

https://wiki.archlinux.org/index.php/laptop

https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate

https://www.neowin.net/forum/topic/1089443-how-to-power-saving-with-pm-utils/

https://superuser.com/questions/323484/what-do-the-power-management-tools-in-linux-do-acpi-pm-utils-etc

Maybe these sites may give you some answers. Have a good one!

1 Like