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

Adding Gnome-Terminal as a new application in Touché selects the wrong WM_CLASS #14

Closed
martinmaehlmann opened this issue Mar 5, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@martinmaehlmann
Copy link

Adding Gnome-Terminal as a new application in Touché selects the wrong WM_CLASS

If one adds a new application in Touché with the "plus" in the bottom left, and selects a gnome terminal, the application is added, but the gestures will not be registered. This is due to the fact that Touché selects the wrong WM_CLASS.

The required xprop output is as follows:

WM_CLASS(STRING) = "gnome-terminal-server", "Gnome-terminal"

Workaround

Replace the line <application name="gnome-terminal-server"> in ~/.config/touchegg/touchegg.conf with <application name="gnome-terminal">

Expected behaviour

The correct WM_CLASS is selected.

Actual behaviour

The wrong WM_CLASS is selected.

Logs

No logs.

<touchégg>
  <settings>
    <property name="animation_delay">150</property>
    <property name="action_execute_threshold">20</property>
    <property name="color">auto</property>
    <property name="borderColor">auto</property>
  </settings>
  <application name="gnome-terminal">
    <!-- Correct WM_CLASS>
  </application>
  <application name="gnome-terminal-server">
    <!-- Wrong WM_CLASS>
  </application>
</touchégg>

Your environment

  • Touché version: 1.0.3
  • Touchégg version: v2.0.8
  • Operating System: !Pop_OS 20.10
  • Desktop Environment: Gnome
  • Installation method: Debian package...
@JoseExposito JoseExposito added the bug Something isn't working label Mar 6, 2021
@JoseExposito
Copy link
Owner

Thanks for your bug report. Yes, this is a bug 👍

@JoseExposito JoseExposito added this to the 1.0.4 milestone Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants