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

Gebaar always prints something #20

Open
githubhahaha opened this issue Mar 28, 2019 · 10 comments
Open

Gebaar always prints something #20

githubhahaha opened this issue Mar 28, 2019 · 10 comments

Comments

@githubhahaha
Copy link

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
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Collaborator

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

@githubhahaha
Copy link
Author

Not Wayland, it's Xorg

@vimpostor
Copy link
Collaborator

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
Copy link
Author

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

@vimpostor
Copy link
Collaborator

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
Copy link
Author

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
Copy link

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

@githubhahaha
Copy link
Author

Oh thanks :)

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

3 participants