fusuma 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: facd335cd7fea4ee4d9c3c9a3a4e59e8d255ed77
4
- data.tar.gz: d306dfeb6133a60222ecfb5de3538afb44f13943
3
+ metadata.gz: 9c708c719000a0e9262b277082a059b281d2e777
4
+ data.tar.gz: 63827d6c9b79a52ce278497163b9bd1291405a36
5
5
  SHA512:
6
- metadata.gz: 697898bff6f3b10e9a0eb4d0d7827e938fc4e013c6095e3004b153588746de1cb9be46d05979e428460835ee7fdc7ae038f8e57b8a9d5cca4e72e52d7ce73cfc
7
- data.tar.gz: b9bf9fd97efc18bdaebc1fdbfe3a1f5406fcf42b54bc5e20e1680a6a81f6d4c02f85e920c84b95740ef75335c21658e1c9ffdad76311650a05b622b052e6b9cc
6
+ metadata.gz: cd97d8433bcda14d65a2d7a9e7a269828b25827d3f1a9d39da41c942a96cc0f6ebcd5fc237043e4565b1ed213830fe2e836b9bff3b5defcd26d474bc774880e5
7
+ data.tar.gz: 83cbe4251fb751030d925cb128c24e7adf1ee6aa2e16f71a980ca0076de5c1d646a080ceeb46ff475b5d23f2627f06aa4a8eeea657c3b70d692df46119ecb147
data/README.md CHANGED
@@ -9,75 +9,65 @@ This gem makes your linux PC able to recognize swipes or pinchs and assign comma
9
9
 
10
10
  ## Installation
11
11
 
12
- IMPORTANT: You must be a member of the _input_ group to have permission
13
- to read the touchpad device:
12
+ ### 1. **IMPORTANT**: You **MUST** be a member of the _input_ group to have permission to read the touchpad device:
14
13
 
15
- $ sudo gpasswd -a $USER input
14
+ ```bash
15
+ $ sudo gpasswd -a $USER input
16
+ ```
16
17
 
17
- **You must log out and back in or restart** to assign this group.
18
+ Then, You **MUST** **LOGOUT/LOGIN or REBOOT** to assign this group.
18
19
 
19
- You need libinput release 1.0 or later. Install libinput-tools:
20
+ ### 2. You need `libinput` release 1.0 or later.
21
+ Install `libinput-tools`:
20
22
 
21
- $ sudo apt-get install libinput-tools
23
+ ```bash
24
+ $ sudo apt-get install libinput-tools
25
+ ```
22
26
 
23
- For sending shortcuts(optional):
27
+ ### 3. For sending shortcuts(optional):
24
28
 
25
- $ sudo apt-get install xdotool
29
+ ```bash
30
+ $ sudo apt-get install xdotool
31
+ ```
26
32
 
27
- Install Fusuma:
33
+ ### 4. Install Fusuma:
28
34
 
29
- $ gem install fusuma
35
+ ```bash
36
+ $ sudo gem install fusuma
37
+ ```
30
38
 
31
39
  ### Touchpad not working in GNOME
32
40
 
33
41
  Ensure the touchpad events are being sent to the GNOME desktop by running the following command:
34
42
 
35
- $ gsettings set org.gnome.desktop.peripherals.touchpad send-events enabled
43
+
44
+ ```bash
45
+ $ gsettings set org.gnome.desktop.peripherals.touchpad send-events enabled
46
+ ```
36
47
 
37
48
  ## Usage
38
49
 
39
- $ fusuma
50
+ ```bash
51
+ $ fusuma
52
+ ```
40
53
 
41
54
  ## Update
42
55
 
43
- $ gem update fusuma
56
+ ```bash
57
+ $ sudo gem update fusuma
58
+ ```
44
59
 
45
- ## Customize
60
+ ## Customize Gesture Mapping
46
61
 
47
62
  You can customize the settings for gestures to put and edit `~/.config/fusuma/config.yml`.
48
- *NOTE*: You will need to create the `~/.config/fusuma` directory if it doesn't exist yet.
49
-
50
- ### `Command: ` property
51
- On fusuma version 0.4 `Command: ` property is available!
52
- You can assign any command each gestures.
53
-
54
- **`shortcut: ` property is deprecated**, **it will be removed on fusuma version 1.0**.
55
- You need to replace to `command: ` property.
56
-
63
+ **NOTE: You will need to create the `~/.config/fusuma` directory if it doesn't exist yet.**
57
64
 
58
- #### before
59
-
60
- ```yaml
61
- swipe:
62
- 3:
63
- left:
64
- shortcut: 'alt+Left'
65
- right:
66
- shortcut: 'alt+Right'
65
+ ```bash
66
+ $ mkdir -p ~/.config/fusuma # create config directory
67
+ $ nano ~/.config/fusuma/config.yml # edit config file.
67
68
  ```
68
69
 
69
- #### after
70
-
71
- ```yaml
72
- swipe:
73
- 3:
74
- left:
75
- command: 'xdotool key alt+Left'
76
- right:
77
- command: 'xdotool key alt+Right'
78
- ```
79
-
80
- ### Sample (default keymap for Elementary OS)
70
+ ### Example (Gesture Mapping for Elementary OS)
81
71
 
82
72
  ```yaml
83
73
  swipe:
@@ -122,6 +112,25 @@ If the swipe's threshold is `0.5`, shorten swipe-length by half.
122
112
  `interval:` is delay between swipes/pinches. Default value is 1.
123
113
  If the swipe's interval is `0.5`, shorten swipe-interval by half to recognize a next swipe.
124
114
 
115
+ ### `command: ` property for assigning commands
116
+ On fusuma version 0.4 `command: ` property is available!
117
+ You can assign any command each gestures.
118
+
119
+ **`shortcut: ` property is deprecated**, **it will be removed on fusuma version 1.0**.
120
+ You need to replace to `command: ` property.
121
+
122
+
123
+ ```diff
124
+ swipe:
125
+ 3:
126
+ left:
127
+ - shortcut: 'alt+Left'
128
+ + command: 'xdotool key alt+Left'
129
+ right:
130
+ - shortcut: 'alt+Right'
131
+ + command: 'xdotool key alt+Right'
132
+ ```
133
+
125
134
  ## Options
126
135
 
127
136
  * `-c`, `--config=path/to/file` : Use an alternative config file
@@ -131,6 +140,11 @@ If the swipe's interval is `0.5`, shorten swipe-interval by half to recognize a
131
140
  * `--device="Device name"` : Open the given device only
132
141
  * `--version` : Show fusuma version
133
142
 
143
+ ## AutoStart(gnome-session-properties)
144
+ 1. Check where you installed fusuma
145
+ 2. Open `$ gnome-session-properties`
146
+ 3. Add Fusuma and input location where you checked above's path
147
+
134
148
  ## Contributing
135
149
 
136
150
  Bug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ['yhkyky@gmail.com']
10
10
 
11
11
  spec.summary = 'Multitouch gestures with libinput dirver on X11, Linux'
12
- spec.description = 'Fusuma is multitouch gesture recognizer. This gem makes your linux PC able to recognize swipes or pinchs and assign shortcuts to them. Read installation on Github(https://github.com/iberianpig/fusuma#installation).'
12
+ spec.description = 'Fusuma is multitouch gesture recognizer. This gem makes your linux PC able to recognize swipes or pinchs and assign command to them. Read installation on Github(https://github.com/iberianpig/fusuma#installation).'
13
13
  spec.homepage = 'https://github.com/iberianpig/fusuma'
14
14
  spec.license = 'MIT'
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Fusuma
2
- VERSION = '0.9.0'.freeze
2
+ VERSION = '0.9.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusuma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-14 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: Fusuma is multitouch gesture recognizer. This gem makes your linux PC
112
- able to recognize swipes or pinchs and assign shortcuts to them. Read installation
112
+ able to recognize swipes or pinchs and assign command to them. Read installation
113
113
  on Github(https://github.com/iberianpig/fusuma#installation).
114
114
  email:
115
115
  - yhkyky@gmail.com