More configuration options for gestures #102
Replies: 10 comments 5 replies
-
I would be great to have more options for the actions as well. Defining a keyboard shortcut to be run is particularly useful. In addition to the perceived sluggishness, I'm also finding my gestures are 'missed' much more often compared to using touchegg in previous versions of Cinnamon |
Beta Was this translation helpful? Give feedback.
-
Touchegg has a daemon and a client as separate processes. The touchegg 'daemon' process (the part that interacts with hardware) is exactly the same touchegg daemon you were using previously - whichever version is available from the PPA (or was at the time of the Mint 21.2 release). Other than potentially false positive/negative device detection, any hardware issues are more than likely not caused by Cinnamon. The client process is what Cinnamon replaces now. This is what receives events from the daemon and interprets them as whatever actions we've defined. I'll try to get keystrokes added for the next version, though you can work around this limitation if you're determined, using the custom command option. As far as I know regarding sluggishness, the actions themselves are not being triggered earlier in the official touchegg client, you're just getting visual cues when a gesture starts (like beginning a workspace switch shows a little tab on the side of the screen). The action still doesn't happen until the gesture completes (at least this was my observation). Eventually we plan to have 1-to-1 gestures (like when you swipe your phone or tablet, the page moves as you swipe). I'm sure our device detection isn't perfect - some devices may not be detected when they should be. It's not something I can ask the daemon about currently. I'll add an override for people that 'know' they have a supported device, even though Cinnamon disagrees, and we'll try to improve automatic detection in the future. Feel free to add more to this discussion - requests, etc... I just wanted to respond and clear up confusion about what's happening here. |
Beta Was this translation helpful? Give feedback.
-
@Starcross A couple quick thoughts:
@mtwebster Thanks for weighing in. Just to be clear: On my current touchegg setup, if I swipe three fingers to the right, I get an immediate switch to the next workspace. On Cinnamon 5.8, if I swipe to the right, nothing happens until I lift my fingers. It's not an issue of speed--it's an issue of whether the action triggers when I begin the gesture or when I finish the gesture. This is a big difference, which is configurable I believe with One-to-one gestures sounds very cool. I imagine that would require going beyond touchegg? |
Beta Was this translation helpful? Give feedback.
-
@A-Lovett I'm an idiot - I completely missed the "Execute on" option in the Touche app. I can definitely fix this, but I'm not sure I'll be able to for the current release. I'll see what we can do. One-to-one gestures may be achievable with touchegg - I've got some ideas for that. We'll probably have to move on when we eventually start using Wayland. |
Beta Was this translation helpful? Give feedback.
-
Removed detection: |
Beta Was this translation helpful? Give feedback.
-
@Starcross Happy to help. You can do a lot more with xdotool like managing windows, moving them between workspaces, etc. @mtwebster Sounds good, thanks! |
Beta Was this translation helpful? Give feedback.
-
@mtwebster I think I my machine would be affected by the changes you have commited to remove the detection, and would be happy to help test it. |
Beta Was this translation helpful? Give feedback.
-
Those of you who have this problem, there is a workaround. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm interested on having On my previous Linux Mint version I had it, but currently I can't see how to do it (unless I somehow override the config file generated by Mint but I'm not even sure where it is). Ideally as a generic thing It should be possible to generate events for movement start, movement continues, and end of movement, so we can bind them to keys or commands. But for that particular task I would appreciate a specific option. It is too weird not to have it. Particularly on Windows when I drag 3 fingers left and right I switch between windows. They keep changing until I release the gesture and then the last window is the one that stays. On Mint I have something similar but for some reason I can't send more than 15 tab keystrokes. This is the particular config I had, it is not perfect but it was something: <gesture type="SWIPE" fingers="3" direction="LEFT">
<action type="SEND_KEYS">
<repeat>true</repeat>
<modifiers>Alt_L</modifiers>
<keys>Shift_L+Tab</keys>
<decreaseKeys>Tab</decreaseKeys>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="RIGHT">
<action type="SEND_KEYS">
<repeat>true</repeat>
<modifiers>Alt_L</modifiers>
<keys>Tab</keys>
<decreaseKeys>Shift_L+Tab</decreaseKeys>
</action>
</gesture> |
Beta Was this translation helpful? Give feedback.
-
I appreciate that Cinnamon 5.8 now uses touchegg for gesture support. However, it doesn't provide the full set of configuration options touchegg uses. Notably (unless I'm missing an option somewhere), Cinnamon's gesture actions can only trigger after you release your fingers from the touchpad. Imho, this makes gesture actions appear sluggish. In my own touchegg configuration, I have gesture actions set to trigger as soon as the gesture is detected:
<on>begin</on>
Is there any plan to add more gesture configuration options? Or is there a workaround for the current setup?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions