06-03-2020, 09:08 AM
(05-24-2020, 06:44 PM)visiblink Wrote: Thanks for the instructions and the explanations. Everything is building properly now!
Here's my setup in case you're interested in any of it.
I didn't realize at first that the gestures worked from any starting position on the screen, provided there's enough room to meet the 300 (pixel?) minimum. I use GMD Gesture Control on Android, and it has starting zones, where you have to begin the gesture within -- for example -- 50px of the bottom screen edge.
So I did away with the one-finger-up and one-finger-down gestures. Here's what seemed to make sense to me:
one finger swipe left -- change desktop (as original)
one finger swipe right -- menu
two finger swipe down -- close app
three finger swipe up -- keyboard
three finger swipe down -- close keyboard
I didn't need any of dwm's app-switching features, because I like apps to take up the full screen, so I'm essentially using the desktops like webOS cards, one app per desktop. I just flip through them with left-to-right gestures.
Since I have access to the menu at any time via the right-to-left gesture, I changed the key bindings (much reduced) to reflect my likely needs.
What did you put in the config.h for lisgd for the "one finger swipe right -- menu"? I have tried several things, for example:
{ 1, Left, Right, "sxmo_appmenu.sh" },
and everything I've tried has worked to open the menu, but also every time I try to use this if I open the Dialer submenu and then click on "Close Menu" it crashes and goes back to the xdm login. I'd love to have a swipe to open menu, but not if there will be weird crashes that I can't figure out.
It's something specifically with running sxmo_appmenu.sh. If I try to run, for example, st; then there are no problems.