gebaar-libinput icon indicating copy to clipboard operation
gebaar-libinput copied to clipboard

Gebaar always prints something

Open githubhahaha opened this issue 5 years ago • 10 comments

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

githubhahaha avatar Mar 28 '19 11:03 githubhahaha

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?

vimpostor avatar Apr 04 '19 12:04 vimpostor

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....

githubhahaha avatar Apr 04 '19 13:04 githubhahaha

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

vimpostor avatar Apr 04 '19 14:04 vimpostor

Not Wayland, it's Xorg

githubhahaha avatar Apr 05 '19 07:04 githubhahaha

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.

vimpostor avatar Apr 05 '19 09:04 vimpostor

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

githubhahaha avatar Apr 06 '19 02:04 githubhahaha

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.

vimpostor avatar Apr 07 '19 19:04 vimpostor

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 :(

githubhahaha avatar Apr 08 '19 06:04 githubhahaha

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

pontaoski avatar Apr 08 '19 12:04 pontaoski

Oh thanks :)

githubhahaha avatar Apr 08 '19 13:04 githubhahaha