Merge branch 'master' of gitea.quad.moe:quad/win3-resources

This commit is contained in:
Quad 2021-05-21 10:28:33 +02:00
commit 5722df854a
1 changed files with 11 additions and 6 deletions

View File

@ -8,13 +8,13 @@ To install scripts, copy them somewhere on your Win 3, then add them to your pat
To quickly install the scripts, make sure `git` is installed and run this in a terminal: To quickly install the scripts, make sure `git` is installed and run this in a terminal:
``` ```bash
mkdir -p ~/.local mkdir -p ~/.local
git clone https://gitea.quad.moe/quad/win3-resources.git ~/.local/gpd-win3 git clone https://gitea.quad.moe/quad/win3-resources.git ~/.local/gpd-win3
echo -e "\n# GPD Win 3 scripts\nPATH=\"\${PATH}:\${HOME}/.local/gpd-win3/scripts\"" >> ~/.bashrc echo -e "\n# GPD Win 3 scripts\nPATH=\"\${PATH}:\${HOME}/.local/gpd-win3/scripts\"" >> ~/.bashrc
``` ```
Then restart your terminal. Run `tdp check` if you want to test. Then restart your terminal. Run `tdp check` to test if it's working. It should report back current TDP.
## TDP ## TDP
@ -35,7 +35,7 @@ For details on how to use, run `tdp help`.
Common examples: Common examples:
``` ```bash
# Check current TDP # Check current TDP
tdp check tdp check
@ -70,8 +70,13 @@ sudo systemctl enable tdp-set.service
Reboot your Win 3, then run `tdp check` to verify that TDP was set correctly. Reboot your Win 3, then run `tdp check` to verify that TDP was set correctly.
# Touch fix ## Touch fix
The script `touch-fix` unloads, then loads the touchscreen modules needed by the Win 3. This makes the touchscreen work, but only until next reboot. The script `touch-fix` unloads, then loads the touchscreen modules needed by the Win 3. This makes the touchscreen work, but only until next reboot. Useful until a permanent fix is available.
Install the script and simply run `touch-fix` after boot to get the touchscreen up and running, until there is a permanent fix available. Example commands:
```bash
# Reload touchscreen module
touch-fix
```