Skip to content

Commit

Permalink
#110 FAQ how can be activated NumberPad via CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrahnik authored Mar 17, 2023
1 parent 57efcbd commit e882bdf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,20 @@ B: MSC=20
...
```

**How can be activated NumberPad via CLI?**

- enable in config `sys_numlock_enables_numpad = 1` and `numpad_disables_sys_numlock = 1` (disabled both by default), then will be NumberPad activated/disabled according to status of system numlock, source for pressing system numlock can be numlock physical key on the same laptop or external keyboard or simulated key via `xdotool key Num_Lock`

- directly just change `enabled` in appropriate config file:

```
# enabling NumberPad via command line
sudo sed -i "s/enabled = 0/enabled = 1/g" asus_touchpad_numpad_dev
sudo sed -i "s/enabled = 0/enabled = 1/g" /usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev
# disabling
sudo sed -i "s/enabled = 1/enabled = 0/g" asus_touchpad_numpad_dev
sudo sed -i "s/enabled = 1/enabled = 0/g" /usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev
```

## Configuration

Expand Down

0 comments on commit e882bdf

Please sign in to comment.