This repository contains a very simple script to control the brightness of the ASUS Screenpad Plus on the ASUS ZenBook Duo laptops.
To install and use it:
sudo chmod a+w '/sys/class/leds/asus::screenpad/brightness'
to your /etc/rc.local
file so that you can use the script without sudo.cd /usr/bin
sudo wget 'https://raw.githubusercontent.com/Plippo/screenpad-tools/master/screenpad'
sudo chmod a+x screenpad
Now it is ready to use.
screenpad X
where X is a value between 1 and 9 to change the brightness (1 is darkest, 9 is brightest)screenpad 0
to turn the ScreenPad off (to turn it back on, just set the brightness using the command above)screenpad up
to increase the brightness one stepscreenpad down
to decrease the brightness one stepscreenpad toggle
to toggle the ScreenPad between on and off./usr/bin/screenpad down
to decrease the brightness and Windows+F5 to /usr/bin/screenpad up
to increase it. So just as you control the brightness of the main screen using Fn+F4/F5 you can now control the brightness of the ScreenPad using Windows+F4/F5. I also set the key next to the On/Off key to screenpad toggle
so I can turn it on and off using that key, just like under windows.For users of the Asus ScreenPad Pro Duo (e.g. UX581), where the main screen consists of an OLED panel, there is a tool that can be used in conjunction with this one to control the brightness of the main screen. You find information about this tool here: https://github.com/Plippo/screenpad-tools/issues/4#issuecomment-759747114