Coffee2CodeNL / gebaar-libinput

Gebaar, A Super Simple WM Independent Touchpad Gesture Daemon for libinput
GNU General Public License v3.0
271 stars 17 forks source link

Gebaar always prints something #20

Open githubhahaha opened 5 years ago

githubhahaha commented 5 years ago

The gesture can work but when you are writing something the gebaar will print the command like the first screenshot.

As the second picture shows it also confuses the boundary between command when I swipe twice and more.

And my gebaard.toml is :

[commands.swipe.three]
left_up = ""
right_up = ""
up = "xdotool key super"
left_down = ""
right_down = ""
down = "xdotool key super+a"
left = "xdotool key alt+Tab+Left"
right = "xdotool key alt+Tab+Right"

[commands.swipe.four]
left_up = ""
right_up = ""
up = "xdotool key ctrl+alt+Down"
left_down = ""
right_down = ""
down = "xdotool key ctrl+alt+Up"
left = "xdotool key ctrl+Tab"
right = "xdotool key ctrl+Tab"

Screenshot from 2019-03-28 18-31-27 Screenshot from 2019-03-28 19-01-23

vimpostor commented 5 years ago

Cannot reproduce with your config file.

Please provide detailed instructions on how to reproduce, as in what gesture are you using and which window is focused.

Also what version of gebaar-libinput are you using?

githubhahaha commented 5 years ago

I use Ubuntu 18.04 with Gnome shell 3.28 and set the hotkey ctrl+alt+up to switch workspace. The gebbar is the latest version v 0.0.5

For example, when I input something in terminal and now I swipe up by four figures to switch the next workspace, but gebaar put the command xdotool key ctrl+alt+Up into the terminal.

I guess gebaar worked by simulating the keyboard input, maybe it caused by xdotool (just a wild guess....

vimpostor commented 5 years ago

Are you using Gnome shell with Wayland instead of Xorg? xdotool won't work with Wayland

githubhahaha commented 5 years ago

Not Wayland, it's Xorg

vimpostor commented 5 years ago

Can you please upload your configuration as file, exactly as you have it saved on your filesystem? I think there is something wrong with it, but the copy-pasted file works fine with me.

githubhahaha commented 5 years ago

You can change it as .toml, thanks gebaard.txt

vimpostor commented 5 years ago

For me your config is working perfectly fine, sry I don't know what is wrong on your end.

Maybe your terminal just automatically pastes on three finger click, and it will work fine if you use gebaard -b, but it does look like gebaard is joining lines together for different commands, but unfortunately I cannot reproduce it.

githubhahaha commented 5 years ago

Doesn't matter, I will keep eyes on gebaar. And one more thing, could the next release give a package instead of codes need to make by yourself.... because I don't want to install gcc8 and cmake :(

pontaoski commented 5 years ago

You can find packages for Ubuntu, openSUSE, and Fedora here.

githubhahaha commented 5 years ago

Oh thanks :)