~_dev_fra/t100ta-utility-scripts

Utility scripts for the ASUS T100TA running GNU/Linux
First release

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~_dev_fra/t100ta-utility-scripts
read/write
git@git.sr.ht:~_dev_fra/t100ta-utility-scripts

You can also use your local clone with git send-email.

Utility scripts for the ASUS T100TA running GNU/Linux.

Some utility bash scripts for the ASUS T100TA.

Reference links:

Note: The scripts in this project were created and tested for the ASUS T100TA running Debian GNU/Linux 10 Buster. These scripts should work on other GNU/Linux distributions and similar hardware as well with minor or no modifications.

Why these scripts

These utility scripts provide some functionalities that are missing or partially implemented in GNU/Linux systems because of bugs and still unsupported hardware. Please check the page Debian Wiki - Debian on ASUS T100TA for a summary of the issues still affecting the T100TA with Debian.

How the scripts work

Screen rotator script

This script can perform two actions:

  • rotate the script from landscape mode to portrait mode and vice versa;
  • enable an automatic rotation mode using the on-board accelerometers.

The input devices (e.g. touchscreen, touchpad) are rotated accordingly.

The automatic rotation mode makes use of monitor-sensor from the package iio-sensor-proxy.

Please note that the GNOME Desktop Environment already provides several functionalities based on iio-sensor-monitor, therefore GNOME users should have no need of this script. For the KDE Plasma desktop environment see Bug 353463 - RFE: Make use of iio-sensor-proxy.

Brightness control script

This script can change the the brightness of the screen using xrandr. xrandr does not actually act on the screen backlight but it works by applying gamma corrections. These are software only modifications and do not have any impact on the power consumption (meaning no battery saving).

This script was created because of the lack of a working method to control the backlight of the screen.

How to use the scripts

User defined variables in the first section of the scripts need to be set so to reflect user's setup. Then the script can be launched as usual, check the help with e.g.:

./screen-rotator --help

License

Copyright 2019 /dev/fra

Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.