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

Make application name case insensitive #432

Closed
manjaronoob opened this issue Jan 14, 2021 · 2 comments
Closed

Make application name case insensitive #432

manjaronoob opened this issue Jan 14, 2021 · 2 comments
Assignees
Milestone

Comments

@manjaronoob
Copy link

Describe the bug

By default the file /usr/share/touchegg/touchegg.conf contains the line

In manjaro (and I guess other distros as well) Firefox is named firefox (all lower case), hence the gestures defined under this section does not catch when performed in Firefox. To make this failsafe it should look like this:

As this may be distro dependent and version dependent, it could be a good idea to make touchegg ignore case when looking up application names.

Expected behaviour

Default gestures work as defined in default config

Actual behaviour

Default gestures defined for firefox outputs no action defined

Your environment

  • Version of Touchégg: 2.0.5
  • Operating System: manjaro
  • Desktop Environment: Xfce
@JoseExposito
Copy link
Owner

It looks like the XML you pasted has been removed, but I get the idea.
This is a great enhancement to add, I'll include this in the next release.

@JoseExposito JoseExposito changed the title Typo in default config Make application name case insensitive Jan 14, 2021
@manjaronoob
Copy link
Author

Reposting the config lines in text only.
The default config contains the line
application name="Google-chrome,Chromium-browser,Firefox"
As the default name of Firefox is firefox in manjaro (and probably other distros), the gesture defined under this line in does not take effect. By modifying the line into
application name="Google-chrome,Chromium-browser,Firefox,firefox"
it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants