Closed linusrg1 closed 3 years ago
Please follow the TROUBLE SHOOTING section. Note the bold sentence in the opening paragraph.
libinput-gestures: session KDE+x11 on Linux-5.11.15-zen1-2-zen-x86_64-with-glibc2.33, python 3.9.3, libinput 1.17.1
/usr/bin/libinput-gestures: hash 494597e082dbf3864a47761a3b7ae27c
Gestures configured in ~/.config/libinput-gestures.conf:
swipe right 3 xdotool key alt+Left
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event14): SynPS/2 Synaptics TouchPad
here is the output of libinput-gestures -l. Mb.
I was using the aur version but since it wasnt starting I tried compiling the github version instead. It started once but that was it. It never started again. I did add myself to the input group and I even checked the /etc/group file to check that I was actually added to it.
Please provide the output of libinput-gestures-setup status
.
libinput-gestures is set up as a desktop application.
libinput-gestures is not currently running.
libinput-gestures is set to autostart as a desktop application.
libinput-gestures is using custom configuration.
It says it isnt running but thats 'cause it wont start.
SInce you are using Arch, you are better off starting this as a systemd user service which as the README says is the preferred option. Type:
libinput-gestures-setup service
libinput-gestures-setup autostart
libinput-gestures-setup start
ok i did do that but I misunderstood some of the output so I thought I disabled it instead of enabling it with those commands
So is it working now?
sadly no it still says it is not running, should I try a reboot?
Please paste the output of libinput-gestures-setup status
again here.
libinput-gestures is set up as a user service.
libinput-gestures is not currently running.
libinput-gestures is set to autostart as a user service.
libinput-gestures is using custom configuration.
What is output of these:
systemctl status --user libinput-gestures
journalctl -b --user -u libinput-gestures
Loaded: loaded (/usr/lib/systemd/user/libinput-gestures.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-04-21 18:33:26 EDT; 5min ago
Docs: https://github.com/bulletmark/libinput-gestures
Process: 7275 ExecStart=/usr/bin/libinput-gestures (code=exited, status=1/FAILURE)
Main PID: 7275 (code=exited, status=1/FAILURE)
CPU: 234ms
Apr 21 18:33:25 linus-laptop systemd[573]: Started Actions gestures on your touchpad using libinput.
Apr 21 18:33:26 linus-laptop libinput-gestures[7275]: libinput-gestures is already running for linus, terminating ..
Apr 21 18:33:26 linus-laptop systemd[573]: libinput-gestures.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 18:33:26 linus-laptop systemd[573]: libinput-gestures.service: Failed with result 'exit-code'.
Apr 21 18:31:47 linus-laptop libinput-gestures[7235]: libinput-gestures is already running for linus, terminating ..
Apr 21 18:31:47 linus-laptop systemd[573]: libinput-gestures.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 18:31:47 linus-laptop systemd[573]: libinput-gestures.service: Failed with result 'exit-code'.
Apr 21 18:33:25 linus-laptop systemd[573]: Started Actions gestures on your touchpad using libinput.
Apr 21 18:33:26 linus-laptop libinput-gestures[7275]: libinput-gestures is already running for linus, terminating ..
Apr 21 18:33:26 linus-laptop systemd[573]: libinput-gestures.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 18:33:26 linus-laptop systemd[573]: libinput-gestures.service: Failed with result 'exit-code'.
Says it is already running. Must have got something in a knot earlier. Reboot, then should be ok.
ok
So did that fix it?
Sadly no unless it doesnt autostart it still says it isnt running. Maybe it doesnt like my trackpad it is 11 years old.
Please type the output of the following now that you have rebooted:
systemctl status --user libinput-gestures
journalctl -b --user -u libinput-gestures
libinput-gestures-setup status
Loaded: loaded (/usr/lib/systemd/user/libinput-gestures.service; enabled; >
Active: inactive (dead)
Docs: https://github.com/bulletmark/libinput-gestures
-- Journal begins at Fri 2021-04-16 06:32:42 EDT, ends at Wed 2021-04-21 19:52:> -- No entries --
libinput-gestures is set up as a user service.
libinput-gestures is not currently running.
libinput-gestures is set to autostart as a user service.
libinput-gestures is using custom configuration.
Here
Sure you typed journalctl -b --user -u libinput-gestures
exactly?
yep copied and pasted ur exact command.
Maybe it is a zen kernel issue? Should I try the stock kernel?
When you paste output always include the initiating command so there is no confusion about that.
Hard to believe it is a kernel issue when we can't even see the journal output. Something basic we are missing here.
Ok. I removed the initiating command because it was cutting the first line off.
Also despite using arch I know less about linux than u might think. Im not clueless I know quite a bit but not as much about the linux backend.
So I apologize if I am having issues thinking of potential answers
Type journalctl --since today --user -u libinput-gestures
(and include that command line in your output).
Apr 21 18:31:47 linus-laptop libinput-gestures[7235]: libinput-gestures is already running for linus, terminating ..
Apr 21 18:31:47 linus-laptop systemd[573]: libinput-gestures.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 18:31:47 linus-laptop systemd[573]: libinput-gestures.service: Failed with result 'exit-code'.
Apr 21 18:33:25 linus-laptop systemd[573]: Started Actions gestures on your touchpad using libinput.
Apr 21 18:33:26 linus-laptop libinput-gestures[7275]: libinput-gestures is already running for linus, terminating ..
Apr 21 18:33:26 linus-laptop systemd[573]: libinput-gestures.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 18:33:26 linus-laptop systemd[573]: libinput-gestures.service: Failed with result 'exit-code'.
It looks like to me it tries to run it thinks it is already running then kills it.
Please run these commands again and then paste all the output as one (including all the commands).
libinput-gestures-setup stop
libinput-gestures-setup autostop
libinput-gestures-setup service
libinput-gestures-setup autostart
libinput-gestures-setup start
libinput-gestures-setup status
Created symlink /home/linus/.config/systemd/user/graphical-session.target.wants/libinput-gestures.service → /usr/lib/systemd/user/libinput-gestures.service.
libinput-gestures is set up as a user service.
libinput-gestures is currently running as a user service.
libinput-gestures is set to autostart as a user service.
libinput-gestures is using custom configuration.
Where's all the commands?
oh u wanted those too? sry.
libinput-gestures stopped as a user service.
[linus@linus-laptop ~]$ libinput-gestures-setup autostop
[linus@linus-laptop ~]$ libinput-gestures-setup service
[linus@linus-laptop ~]$ libinput-gestures-setup autostart
Created symlink /home/linus/.config/systemd/user/graphical-session.target.wants/libinput-gestures.service → /usr/lib/systemd/user/libinput-gestures.service.
libinput-gestures enabled as a user service.
[linus@linus-laptop ~]$ libinput-gestures-setup start
libinput-gestures started as a user service.
[linus@linus-laptop ~]$ libinput-gestures-setup status
libinput-gestures is installed.
libinput-gestures is set up as a user service.
libinput-gestures is currently running as a user service.
libinput-gestures is set to autostart as a user service.
libinput-gestures is using custom configuration.
The above says it is running. Is there still a problem?
gestures aint working but ill delete my config that gestures-qt made and use the default one.
Please type journalctl -b --user -u libinput-gestures
exactly as you see here (i.e. copy/paste it). Then paste that command and the output that follows it here. Please include that first line (note you missed the first line in your output just above).
still nope? I even restarted it. Maybe 11yr old trackpads dont have more that 2 finger support?
Nope? I was expecting the output I asked for?
If you trackpad is not supported we work that out from the log. But we aren't even getting off the ground here. Something very basic is wrong.
Nope? I was expecting the output I asked for? did I forget to give u something?
Please read back here a litte, to this comment.
ok
I have a feeling it is a driver issue. Gnome didnt really like my touchpad kde doesnt mind using it but it can be buggy at times.
So where is the output I last asked for? We have not even established whether libinput-gestures
has been installed properly so no point yet pontificating about a "driver" issue.
Sorry Im getting tired didnt read everything properly.
libinput-gestures is already running for linus, terminating ..
You still did not paste the command! And that is not all the output.
Anyhow, what you are pasting here is not consistent. That above says it is not running as a service but just above that you paste that libinput-gestures is currently running as a user service
. Please type:
libinput-gestures-setup stop
libinput-gestures-setup autostop
Then reboot. Then type:
libinput-gestures-setup service
libinput-gestures-setup autostart
libinput-gestures-setup start
libinput-gestures-setup status
journalctl -b --user -u libinput-gestures
systemctl status --user libinput-gestures
Then paste here the entire 6 last commands above with their output. Please take care to type and paste exactly what I am asking for.
BTW, when I say to paste, please paste EVERYTHING typed and printed to the terminal. I.e. the original typed commands and all the lines and all the timestamps in the output, as one big copy and paste here.
"no output"
libinput-gestures-setup autostart
Created symlink /home/linus/.config/systemd/user/graphical-session.target.wants/libinput-gestures.service → /usr/lib/systemd/user/libinput-gestures.service.
libinput-gestures enabled as a user service.
libinput-gestures-setup start
libinput-gestures started as a user service.
libinput-gestures-setup status
libinput-gestures is installed.
libinput-gestures is set up as a user service.
libinput-gestures is currently running as a user service.
libinput-gestures is set to autostart as a user service.
libinput-gestures is using default configuration.
journalctl -b --user -u libinput-gestures
-- Journal begins at Fri 2021-04-16 06:32:42 EDT, ends at Thu 2021-04-22 07:17:09 EDT. --
Apr 22 07:15:48 linus-laptop systemd[573]: Started Actions gestures on your touchpad using libinput.
systemctl status --user libinput-gestures
● libinput-gestures.service - Actions gestures on your touchpad using libinput
Loaded: loaded (/usr/lib/systemd/user/libinput-gestures.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-04-22 07:15:48 EDT; 9min ago
Docs: https://github.com/bulletmark/libinput-gestures
Main PID: 1955 (python3)
Tasks: 3 (limit: 9507)
Memory: 13.7M
CPU: 788ms
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/libinput-gestures.service
├─1955 python3 /usr/bin/libinput-gestures
└─1960 libinput-debug-events --device /dev/input/by-path/platform-i8042-serio-1-event-mouse
Apr 22 07:15:48 linus-laptop systemd[573]: Started Actions gestures on your touchpad using libinput.
Sorry for the inconvenience
What is "no output"? Where are your prompts? Why not simply paste the full output of the terminal? I get the feeling you are pasting selected parts of your session so I don't have confidence I am seeing everything. I want the full session!
That is the output of all the commands I only left out my username. And my laptop name. If you need it to see what type of shell I am in it is standard. I am not logged into the terminal as a root user.
But if you really need all that I can run it again
My setup: Arch kde Synaptics touchpad
I dont know what is happening to be honest. It appears to be starting. I tried starting it from libinput-gestures-qt and from the terminal but there is never any output so I can't troubleshoot the issue. I dont know what is going on.