README.md in fusuma-2.0.0.pre vs README.md in fusuma-2.0.0.pre2
- old
+ new
@@ -15,11 +15,11 @@
- Automatic device addition for reconnecting external touchpads
- Extension of gesture recognition by [plugin system](https://github.com/iberianpig/fusuma/#fusuma-plugins)
## Installation
-### 1. Grant permission to read the touchpad device
+### Grant permission to read the touchpad device
**IMPORTANT**: You **MUST** be a member of the **INPUT** group to read touchpad by Fusuma.
```bash
$ sudo gpasswd -a $USER input
@@ -29,37 +29,75 @@
```bash
$ newgrp input
```
-### 2. Install libinput-tools
+### For Debian Based Distros (Ubuntu, Debian, Mint, Pop!OS)
+#### 1. Install libinput-tools
+
You need `libinput` release 1.0 or later.
```bash
$ sudo apt-get install libinput-tools
```
-### 3. Install Ruby
+#### 2. Install Ruby
Fusuma runs in Ruby, so you must install it first.
```bash
$ sudo apt-get install ruby
```
-### 4. Install Fusuma
+#### 3. Install Fusuma
```bash
$ sudo gem install fusuma
```
-### 5. Install xdotool (optional)
+#### 4. Install xdotool (optional)
For sending shortcuts:
```bash
$ sudo apt-get install xdotool
+```
+
+### For Arch Based Distros (Manjaro, Arch)
+
+#### 1. Install libinput.
+
+You need `libinput` release 1.0 or later. This is most probably installed by default on Manjaro
+
+```z-h
+$ sudo pacman -S libinput
+```
+
+#### 2. Install Ruby
+
+Fusuma runs in Ruby, so you must install it first.
+
+```zsh
+$ sudo pacman -S ruby
+```
+
+#### 3. Install Fusuma
+
+**Note:** By default in Arch Linux, when running ```gem```, gems are installed per-user (into ```~/.gem/ruby/```), instead of system-wide (into ```/usr/lib/ruby/gems/```). This is considered the best way to manage gems on Arch, because otherwise they might interfere with gems installed by Pacman. (From Arch Wiki)
+
+To install gems system-wide, see any of the methods listed on [Arch Wiki](https://wiki.archlinux.org/index.php/ruby#Installing_gems_system-wide)
+
+```zsh
+$ sudo gem install fusuma
+```
+
+#### 4. Install xdotool (optional)
+
+For sending shortcuts:
+
+```zsh
+$ sudo pacman -S xdotool
```
### Touchpad not working in GNOME
Ensure the touchpad events are being sent to the GNOME desktop by running the following command: