![]() ![]() Note that xinput is just a command for my trackpad to set the middle button working. Note that you can do similar things after a suspend ( /etc/pm/sleep.d/run_after_sleep.sh), that's how I found out this solution. Now it should work fine, just test to plug/unplug your computer. Now, you need to give execution rights to this file by typing sudo chmod +x /etc/pm/power.d/run_after_pwrmanagmt.sh Xinput set-int-prop 12 277 8 2 3 0 0 1 3 2Įcho 4000 > /sys/class/backlight/intel_backlight/brightness Then writes this code into this file : case "$" in Just creates a file sudo vi /etc/pm/power.d/run_after_pwrmanagmt.sh One solution is to add a script file in /etc/pm/power.d/ I tested a solution that works fine for me. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |