Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program doesn't start #90

Open
fookitt opened this issue May 10, 2020 · 5 comments
Open

Program doesn't start #90

fookitt opened this issue May 10, 2020 · 5 comments

Comments

@fookitt
Copy link

fookitt commented May 10, 2020

No gestures gets activated. I've noticed that the program doesn't start when I run the command 'comfortable-swipe start' even though it says it is running in the background. I can confirm this by running the 'comfortable-swipe status' and it says Program is STOPPED.

When trying to add to autostart, I get this error:

pop-os:~$ comfortable-swipe autostart
sed: can't read /home/XXX/.config/autostart/comfortable-swipe.desktop: No such file or directory

Logs provided below.

lsb_release -a
No LSB modules are available. Distributor ID: Pop Description: Pop!_OS 20.04 LTS Release: 20.04 Codename: focal

g++ --version
g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ls -l /dev/input/event*
crw-rw---- 1 root input 13, 64 May 10 16:02 /dev/input/event0 crw-rw---- 1 root input 13, 65 May 10 16:02 /dev/input/event1 crw-rw---- 1 root input 13, 74 May 10 16:02 /dev/input/event10 crw-rw---- 1 root input 13, 75 May 10 16:02 /dev/input/event11 crw-rw---- 1 root input 13, 76 May 10 16:02 /dev/input/event12 crw-rw---- 1 root input 13, 77 May 10 16:02 /dev/input/event13 crw-rw---- 1 root input 13, 78 May 10 16:02 /dev/input/event14 crw-rw---- 1 root input 13, 79 May 10 16:02 /dev/input/event15 crw-rw---- 1 root input 13, 66 May 10 16:02 /dev/input/event2 crw-rw---- 1 root input 13, 67 May 10 16:02 /dev/input/event3 crw-rw---- 1 root input 13, 68 May 10 16:02 /dev/input/event4 crw-rw---- 1 root input 13, 69 May 10 16:02 /dev/input/event5 crw-rw---- 1 root input 13, 70 May 10 16:02 /dev/input/event6 crw-rw---- 1 root input 13, 71 May 10 16:02 /dev/input/event7 crw-rw---- 1 root input 13, 72 May 10 16:02 /dev/input/event8 crw-rw---- 1 root input 13, 73 May 10 16:02 /dev/input/event9

xinput list | grep touchpad -i
⎜ ↳ Elan Touchpad id=10 [slave pointer (2)]

lsmod | grep hid
hid_sensor_accel_3d 20480 1 hid_sensor_trigger 20480 2 hid_sensor_accel_3d industrialio_triggered_buffer 16384 1 hid_sensor_accel_3d hid_sensor_iio_common 20480 2 hid_sensor_trigger,hid_sensor_accel_3d industrialio 73728 5 industrialio_triggered_buffer,hid_sensor_trigger,kfifo_buf,hid_sensor_accel_3d mac_hid 16384 0 hid_sensor_custom 24576 0 hid_sensor_hub 24576 4 hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_accel_3d,hid_sensor_custom hid_generic 16384 0 intel_ishtp_hid 24576 0 intel_ishtp 49152 4 cros_ec_ishtp,intel_ishtp_hid,intel_ish_ipc,intel_ishtp_loader i2c_hid 28672 0 hid 131072 4 i2c_hid,hid_sensor_hub,intel_ishtp_hid,hid_generic

comfortable-swipe status

> Autostart is MISSING
> Program is STOPPED
> --------------------
> Configuration: /home/foo/.config/comfortable-swipe.conf
>     left3 is   VALID (ctrl+alt+Right)
>     left4 is   VALID (ctrl+alt+shift+Right)
>    right3 is   VALID (ctrl+alt+Left)
>    right4 is   VALID (ctrl+alt+shift+Left)
>       up3 is   VALID (ctrl+alt+Down)
>       up4 is   VALID (super)
>     down3 is   VALID (ctrl+alt+Up)
>     down4 is   VALID (ctrl+alt+shift+Up)
> threshold is   VALID (0.0)
>    mouse3 is  NOTSET
>    mouse4 is  NOTSET
> 

comfortable-swipe start
Comfortable swipe is RUNNING in the background

comfortable-swipe debug

-event2   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event4   DEVICE_ADDED     Video Bus                         seat0 default group2  cap:k
-event1   DEVICE_ADDED     Lid Switch                        seat0 default group3  cap:S
-event0   DEVICE_ADDED     Sleep Button                      seat0 default group4  cap:k
-event7   DEVICE_ADDED     Integrated Camera: Integrated C   seat0 default group5  cap:k
-event9   DEVICE_ADDED     HDA Intel PCH Mic                 seat0 default group6  cap:
-event10  DEVICE_ADDED     HDA Intel PCH Headphone           seat0 default group6  cap:
-event11  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=3       seat0 default group6  cap:
-event12  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=7       seat0 default group6  cap:
-event13  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=8       seat0 default group6  cap:
-event14  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=9       seat0 default group6  cap:
-event15  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=10      seat0 default group6  cap:
-event5   DEVICE_ADDED     Elan Touchpad                     seat0 default group7  cap:pg  size 98x54mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event6   DEVICE_ADDED     Elan TrackPoint                   seat0 default group8  cap:p left scroll-nat scroll-button
-event3   DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default group9  cap:k
-event8   DEVICE_ADDED     ThinkPad Extra Buttons            seat0 default group10 cap:kS
-event5   POINTER_MOTION   +0.435s	 -4.23/ -0.30 (-14.00/ -1.00)
 event5   POINTER_MOTION   +0.442s	 -4.42/ -0.68 (-13.00/ -2.00)
 event5   POINTER_MOTION   +0.449s	 -4.08/ -1.02 (-12.00/ -3.00)
 event5   POINTER_MOTION   +0.456s	 -3.74/ -1.70 (-11.00/ -5.00)
 event5   POINTER_MOTION   +0.464s	 -4.08/ -1.36 (-12.00/ -4.00)
 event5   POINTER_MOTION   +0.470s	 -5.10/ -1.70 (-15.00/ -5.00)
 event5   POINTER_MOTION   +0.478s	 -6.79/ -2.38 (-20.00/ -7.00)
 event5   POINTER_MOTION   +0.485s	 -8.49/ -2.72 (-25.00/ -8.00)
 event5   POINTER_MOTION   +0.492s	 -9.19/ -3.40 (-27.00/-10.00)
 event5   POINTER_MOTION   +0.499s	 -8.53/ -3.75 (-25.00/-11.00)
 event5   POINTER_MOTION   +0.506s	 -8.15/ -4.42 (-24.00/-13.00)
 event5   POINTER_MOTION   +0.513s	 -6.79/ -3.74 (-20.00/-11.00)
 event5   POINTER_MOTION   +0.520s	 -6.79/ -3.40 (-20.00/-10.00)
 event5   POINTER_MOTION   +0.527s	 -5.10/ -2.72 (-15.00/ -8.00)
 event5   POINTER_MOTION   +0.534s	 -4.08/ -2.72 (-12.00/ -8.00)
 event5   POINTER_MOTION   +0.541s	 -3.06/ -1.70 ( -9.00/ -5.00)
 event5   POINTER_MOTION   +0.548s	 -2.38/ -1.36 ( -7.00/ -4.00)
 event5   POINTER_MOTION   +0.556s	 -1.36/ -1.02 ( -4.00/ -3.00)
 event5   POINTER_MOTION   +0.563s	 -1.36/ -0.68 ( -4.00/ -2.00)
 event5   POINTER_MOTION   +0.570s	 -1.02/ -0.68 ( -3.00/ -2.00)
 event5   POINTER_MOTION   +0.577s	 -0.68/ -0.34 ( -2.00/ -1.00)
 event5   POINTER_MOTION   +0.584s	 -0.33/  0.00 ( -1.00/ +0.00)
 event5   POINTER_MOTION   +0.591s	 -0.28/  0.00 ( -1.00/ +0.00)
 event5   POINTER_MOTION   +0.598s	 -0.29/  0.00 ( -1.00/ +0.00)
 event5   POINTER_MOTION   +0.605s	 -0.29/  0.00 ( -1.00/ +0.00)
 event5   POINTER_MOTION   +0.612s	 -0.29/  0.00 ( -1.00/ +0.00)
 event5   POINTER_MOTION   +0.620s	 -0.28/  0.00 ( -1.00/ +0.00)
 event5   POINTER_MOTION   +0.663s	  0.22/  0.22 ( +1.00/ +1.00)
 event5   POINTER_MOTION   +0.670s	  0.25/  0.25 ( +1.00/ +1.00)
 event5   POINTER_MOTION   +0.676s	  0.34/  0.34 ( +1.00/ +1.00)
 event5   POINTER_MOTION   +0.683s	  0.33/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +0.689s	 -0.30/  0.00 ( -1.00/ +0.00)
 event5   POINTER_MOTION   +1.209s	 -0.67/  1.01 ( -2.00/ +3.00)
 event5   POINTER_MOTION   +1.215s	 -0.34/  0.68 ( -1.00/ +2.00)
 event5   POINTER_MOTION   +1.222s	 -0.33/  0.00 ( -1.00/ +0.00)
 event5   POINTER_MOTION   +1.229s	  0.00/  0.29 ( +0.00/ +1.00)
 event5   POINTER_MOTION   +1.236s	  0.00/  0.28 ( +0.00/ +1.00)
 event5   POINTER_MOTION   +1.272s	  0.21/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.279s	  0.58/  0.00 ( +2.00/ +0.00)
 event5   POINTER_MOTION   +1.286s	  2.38/ -0.34 ( +7.00/ -1.00)
 event5   POINTER_MOTION   +1.293s	  3.06/ -0.34 ( +9.00/ -1.00)
 event5   POINTER_MOTION   +1.300s	  3.40/ -0.34 (+10.00/ -1.00)
 event5   POINTER_MOTION   +1.307s	  4.08/ -0.68 (+12.00/ -2.00)
 event5   POINTER_MOTION   +1.314s	  4.42/ -0.34 (+13.00/ -1.00)
 event5   POINTER_MOTION   +1.321s	  4.42/ -0.34 (+13.00/ -1.00)
 event5   POINTER_MOTION   +1.329s	  4.08/ -0.34 (+12.00/ -1.00)
 event5   POINTER_MOTION   +1.336s	  3.06/  0.00 ( +9.00/ +0.00)
 event5   POINTER_MOTION   +1.343s	  2.38/  0.00 ( +7.00/ +0.00)
 event5   POINTER_MOTION   +1.350s	  2.04/  0.00 ( +6.00/ +0.00)
 event5   POINTER_MOTION   +1.357s	  1.36/  0.00 ( +4.00/ +0.00)
 event5   POINTER_MOTION   +1.365s	  1.02/  0.00 ( +3.00/ +0.00)
 event5   POINTER_MOTION   +1.371s	  0.68/  0.00 ( +2.00/ +0.00)
 event5   POINTER_MOTION   +1.378s	  0.33/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.385s	  0.29/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.393s	  0.28/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.400s	  0.28/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.406s	  0.29/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.413s	  0.29/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.421s	  0.28/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.428s	  0.28/  0.00 ( +1.00/ +0.00)
 event5   POINTER_MOTION   +1.463s	  0.00/ -0.22 ( +0.00/ -1.00)
 event5   POINTER_MOTION   +1.470s	  0.00/ -0.22 ( +0.00/ -1.00)
 event5   POINTER_MOTION   +1.477s	 -0.33/ -0.66 ( -1.00/ -2.00)
 event5   POINTER_MOTION   +1.485s	 -0.34/ -0.68 ( -1.00/ -2.00)
 event5   POINTER_MOTION   +1.491s	  0.34/  0.68 ( +1.00/ +2.00)
 event5   POINTER_AXIS     +2.100s	vert -6.11/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.107s	vert -4.75/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.114s	vert -3.39/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.122s	vert -2.38/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.129s	vert -1.70/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.136s	vert -0.51/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.144s	vert -0.68/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.151s	vert -0.51/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.165s	vert -0.51/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.224s	vert -0.34/0* horiz 0.00/0 (finger)
 event5   POINTER_AXIS     +2.250s	vert 0.00/0* horiz 0.00/0* (finger)
 event5   GESTURE_SWIPE_BEGIN +2.964s	3
 event5   GESTURE_SWIPE_UPDATE +2.964s	3  0.75/-3.00 ( 2.96/-11.85 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.971s	3  0.21/-3.22 ( 0.85/-12.70 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.978s	3  0.45/-3.17 ( 1.69/-11.85 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.985s	3  0.00/-2.60 ( 0.00/-9.74 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.992s	3  0.23/-1.93 ( 0.85/-7.20 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +2.999s	3  0.23/-1.59 ( 0.85/-5.93 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.007s	3  0.00/-1.13 ( 0.00/-4.23 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.014s	3  0.00/-1.13 ( 0.00/-4.23 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.021s	3  0.00/-0.68 ( 0.00/-2.54 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.028s	3 -0.23/-0.79 (-0.85/-2.96 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.034s	3 -0.23/-0.68 (-0.85/-2.54 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.042s	3  0.00/-0.10 ( 0.00/-0.42 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.050s	3 -0.38/-0.38 (-1.69/-1.69 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.057s	3 -0.09/ 0.00 (-0.42/ 0.00 unaccelerated)
 event5   GESTURE_SWIPE_UPDATE +3.064s	3 -0.36/-0.18 (-1.69/-0.85 unaccelerated)
 event5   GESTURE_SWIPE_END +3.079s	3
-event3   KEYBOARD_KEY     +4.860s	*** (-1) pressed
 event3   KEYBOARD_KEY     +5.029s	*** (-1) pressed
^C

comfortable-swipe config list

left3 = ctrl+alt+Right
left4 = ctrl+alt+shift+Right
right3 = ctrl+alt+Left
right4 = ctrl+alt+shift+Left
up3 = ctrl+alt+Down
up4 = super
down3 = ctrl+alt+Up
down4 = ctrl+alt+shift+Up
threshold = 0.0
@AlwaysBeCalm
Copy link

@fookitt
have you installed it with root?
like:

sudo bash install

if yes then checkout this issue
#83

@Hikari9
Copy link
Owner

Hikari9 commented May 18, 2020

There were updates for Pop OS 20.04 from 6 days ago (#92). Pls pull the latest version and run from non-root:

git pull
bash insall

Note: DON'T run sudo bash install. Installation should be to local user. It will prompt when you need sudo. 👍

@MabaKalox
Copy link

MabaKalox commented Oct 29, 2020

Have you install libinput-tools? I just had the same problem, and it helped. run: sudo apt-get install libinput-tools

@dharmax
Copy link

dharmax commented Jan 18, 2021

i have the same issue. It doesn't work although i tried everything that was suggested here.

@Grievous-Spinout
Copy link

Sounds like your experiencing the same I was, try this:
1: open dconf editor
2: search for wayland
3: you'll find an option called "xwayland-allow-grabs" activate it
4: swipe away 👯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants