Add falchion file
This commit is contained in:
parent
3e1430c6e2
commit
93fa7905c5
5 changed files with 42 additions and 7 deletions
|
@ -1,10 +1,4 @@
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Required package
|
See .env file and run install.sh on linux and install.ps1 to install on wsl
|
||||||
- ripgrep
|
|
||||||
- fd-find
|
|
||||||
- lldb-vscode (included with lldb package)
|
|
||||||
- lazygit
|
|
||||||
- rust-analyzer
|
|
||||||
- dartls (included with flutter)
|
|
6
useful_scripts/falchion/40-libinput.conf
Normal file
6
useful_scripts/falchion/40-libinput.conf
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Section "InputClass"
|
||||||
|
Identifier "Disable Asus falchion sys control"
|
||||||
|
MatchIsKeyboard "on"
|
||||||
|
MatchProduct "ASUSTeK ROG FALCHION System Control"
|
||||||
|
Option "Ignore" "on"
|
||||||
|
EndSection
|
3
useful_scripts/falchion/99-asus-falchion.hwdb
Normal file
3
useful_scripts/falchion/99-asus-falchion.hwdb
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
evdev:input:b*v0B05p193Ee0111*
|
||||||
|
KEYBOARD_KEY_10081=reserved
|
||||||
|
KEYBOARD_KEY_10082=reserved
|
20
useful_scripts/falchion/README.md
Normal file
20
useful_scripts/falchion/README.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Author
|
||||||
|
|
||||||
|
Github: jnettlet
|
||||||
|
|
||||||
|
|
||||||
|
# Source Url:
|
||||||
|
|
||||||
|
99-asus-falchion.hwdb : [GITHUB](https://gist.github.com/jnettlet/afb20a048b8720f3b4eb8506d8b05643)
|
||||||
|
|
||||||
|
40-libinput.conf : [Ask Ubuntu](https://askubuntu.com/questions/1351203/how-do-i-stop-my-rog-falchion-wireless-keyboard-from-rebooting-ubuntu)
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
## X11
|
||||||
|
|
||||||
|
Append the following config to /usr/share/X11/xorg.conf.d/40-libinput.conf or use this and add it in startup script see `example_script.sh`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
xinput disable XX # XX being the device id related to 'ASUSTeK ROG FALCHION System Control'
|
||||||
|
```
|
12
useful_scripts/falchion/example_script.sh
Normal file
12
useful_scripts/falchion/example_script.sh
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
IDENTIFIER="ASUSTeK ROG FALCHION System Control"
|
||||||
|
|
||||||
|
LINE=$(xinput list | grep "$IDENTIFIER")
|
||||||
|
ID=$(echo ${LINE#*id=} | tr '\t' ' ' | cut -d ' ' -f1)
|
||||||
|
|
||||||
|
if [ -n "$ID" ]; then
|
||||||
|
xinput disable $ID
|
||||||
|
echo "Disabled xinput ID $ID ($IDENTIFIER)"
|
||||||
|
else
|
||||||
|
echo "No xinput ID for '$IDENTIFIER' found."
|
||||||
|
fi
|
Loading…
Reference in a new issue