Skip to content

Commit

Permalink
README: add instructions to restart system
Browse files Browse the repository at this point in the history
  • Loading branch information
harshadgavali committed Aug 30, 2021
1 parent 3e356e9 commit 9d3862d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -18,6 +18,9 @@ sudo usermod -aG input $USER
```
# Without sudo/root
sh install.sh
# Restart system for changes to take an effect
# After restart service will be automatically started by extension
```

### Build from source
Expand All @@ -42,10 +45,14 @@ make build && make install
```

### Troubleshooting
Run following command to check if service is running properly (It should be running on X11).
- First make sure you've restarted your system after installing.

- Run following command to check if service is running properly (It should be running on X11).
```
systemctl --user status gesture_improvements_gesture_daemon.service
```

- Open issue on github, with output of the above command
### Uninstallation
```
# Without sudo/root
Expand Down
6 changes: 4 additions & 2 deletions install.sh
Expand Up @@ -5,9 +5,11 @@ sed -i "s#@HOME#${HOME}#g" gesture_improvements_gesture_daemon.service
mkdir -vp ~/.config/systemd/user ~/.local/bin
cp -vf gesture_improvements_gesture_daemon.service ~/.config/systemd/user
cp -vf target/release/gesture_improvements_gesture_daemon ~/.local/bin
chmod +x ~/.local/bin/gesture_improvements_gesture_daemon
echo "Installed ..."

echo ""
echo "Make sure to add user to 'input group'."
echo "Make sure to add user to 'input' group."
echo "Run 'sudo usermod -aG input \$USER' to add user to 'input' group."
echo "Restart after adding user to the group."
echo "Restart system for changes to take an effect."
echo "After restart service will be automatically started by extension."
1 change: 1 addition & 0 deletions uninstall.sh
@@ -1,5 +1,6 @@
#!/bin/sh
echo "Uninstalling ..."
systemctl --user stop gesture_improvements_gesture_daemon.service
rm -v ~/.config/systemd/user/gesture_improvements_gesture_daemon.service
rm -v ~/.local/bin/gesture_improvements_gesture_daemon
echo "Uninstalled ..."

0 comments on commit 9d3862d

Please sign in to comment.