Open SamuXzX opened 2 years ago
Hi! Could you try to update fusuma-plugins with following commands?
sudo gem list fusuma-plugin- | cut -d' ' -f1 | xargs --no-run-if-empty sudo gem update
Thanks, something changed, but not much. At first the 4 fingers gesture to the right worked a couple of times, but then stopped working and no 3 or 4 fingers gesture works. The pinch gestures works consistently.
Hi! Could you try to update fusuma-plugins with following commands?
sudo gem list fusuma-plugin- | cut -d' ' -f1 | xargs --no-run-if-empty sudo gem update
Now that i've tried you command, Fusuma behaves weirdly.
No matter if I delete the gestures for 4 Figer-Gestures or whatever edit I do to 4 Finger-Gestures is always the same 4 Finger-Gesures.
Also, i dont seem to find any related process in htop by typing fusuma
.
Killing Fusuma still keeps alive your suggested command, "your suggested command" keeps alive only the 4 finger-gestures. While the 3 finger-gestures die along with the Fusuma process
NOTE: your suggested command persist even after rebooting, how do I kill that process?
@SamuXzX I don't have Plasma Wayland environment.
I want to know if fusuma-sendkey works completely on Plasma Wayland.
Could you confirm with fusuma-sendkey
command works well on your terminal?
@korason7117 I don't know your environment or settings.
Could you paste your output of $ fusuma --version
?
how do I kill that process?
Could you grep
the output of ps aux
?
If you get fusuma process ID, then send a kill signal.
iberianpig@iberianpig-XPS-13-9310:~$ ps aux | grep fusuma
iberian+ 4178 0.3 0.1 509388 27396 ? Sl 4月12 28:14 /home/iberianpig/.rbenv/versions/3.0.2/bin/ruby /home/iberianpig/.rbenv/versions/3.0.2/bin/fusuma -d --log=/tmp/fusuma.log --verbose
iberian+ 4181 0.0 0.0 100088 14760 ? S 4月12 6:55 fusuma/plugin/inputs/timer_input
iberian+ 4185 0.0 0.0 232504 11008 ? Sl 4月12 0:00 fusuma/plugin/appmatcher/user_switcher
iberian+ 332419 0.0 0.0 10096 2580 pts/15 R+ 23:01 0:00 grep --color=auto fusuma
iberianpig@iberianpig-XPS-13-9310:~$ kill 4178
@iberianpig The output of fusuma from running on terminal and config contents of config-kde.yml
: https://pastebin.com/ugCLTx3t
When running ps aux | grep fusuma
with fusuma -d
sh-5.1$ ps aux | grep fusuma
okama 2941 1.0 0.1 285432 16220 ? Sl 12:12 0:11 /usr/bin/ruby /home/okama/.local/share/gem/ruby/3.0.0/bin/fusuma -c /home/okama/.config/fusuma/config-kde.yml -d
okama 2945 0.0 0.1 150120 15636 ? S 12:12 0:00 fusuma/plugin/inputs/timer_input
okama 3432 0.0 0.0 6672 2660 pts/1 S+ 12:29 0:00 grep fusuma
Running ps aux | grep fusuma
with the above processes killed :
sh-5.1$ ps aux | grep fusuma
okama 3645 0.0 0.0 6672 2636 pts/1 S+ 12:41 0:00 grep fusuma
I dont know what your command did to the core files for fusuma to behave like this.
By the way, I ran sudo gem list fusuma-plugin- | cut -d' ' -f1 | xargs --no-run-if-empty sudo gem update
without sudo. Also your command did work and fixed the weird issue of 4 Finger-Gestures,
it felt like the interval
and threshold
were at 0 meaning, way to fast. making it impossible to move around.
The reason why that speed was out of control, was because I still had the 4 Finger-Gestures in the config file.
I had to disable them for the 4 Finger-Gestures to have a normalized speed.
But. in the end, now I have no way to modify the 4 Finger-Gestures, because I can't find the process and kill it
EDIT: I tried uninstalling gems (plugins and fusuma) even Ruby and rebooted. After rebooting, 4 Finger-Gestures still works. This must be a unique 4 Finger-Gestures for KDE-Plasma on Wayland. This could explain why I had to disable 4 Finger-Gestures in config file, and why it persists after rebooting. I could be wrong though.
@SamuXzX I don't have Plasma Wayland environment. I want to know if fusuma-sendkey works completely on Plasma Wayland. Could you confirm with
fusuma-sendkey
command works well on your terminal?
It does. My LEFTMETA key opens the overview:
What doesn't seem to work are the actual gestures. For example, for me LEFTMETA+TAB goes a desktop to the right. It goes well if I use it from the command line. But, as you can see here, when I try to use its gestures it kind of flickers back and forth.
@SamuXzX try disabling 4 Finger-Gestures.
im seeing that you have 4 Finger-Gestures activated, meaning that the interval
and threshold
are colliding
with the default 4 Finger-Gestures on KDE-Plasma-Wayland
It worked for me. I had to disable them, and I have to bear with these default gestures because KDE-Plasma devs hard coded 4 Finger Gestures into KDE-Plasma on Wayland
* By default on Wayland: 4 Finger-Gestures; * Swipe-Down: Toggle Preset Windows (All desktops) Ctrl+F10 (default keybinds) * Swipe-Up: Desktop Grid Ctrl+F8 (default keybind) * Swipe-Right/Left: Switch to Next/Previous Desktop
NOTE: I could be wrong, and be spreading misinformation about KDE-Plasma hard coding all this on Wayland, but I couldn't find any relevant info in KDE-Plasma Changelogs about TouchPad-Gestres.
I mostly use 4 fingers gestures, because at times the 3 fingers gestures stop working (it seems they collide with the middle-click to past, which I disabled in KDE yet it's still there). Anyway, I surely could try disabling them. I think it will work becuase the 3 fingers gestures work well in Wayland. I'll let you know.
Indeed, when using the swipe-up with 4 fingers on Wayland, instead of my gesture (Alt+F4), I see the desktop grid. Does it mean that Plasma Wayland already has gestures? Where can I get more informations?
I disabled Fusuma's 4 fingers gestures on Wayland and I was able to use those hard coded in KDE Plasma. Now it seems obvious they were obstructing each other, rather than "conflicting", as both were working at the same time.
So, we simply discovered that there were already some not-yet configurable gestures on KDE Plasma Wayland. I'd say to find a way to bypass them, because otherwise Fusuma won't have an usecase. But they are not configurable, so it will take some time until this could happen.
So, we simply discovered that there were already some not-yet configurable gestures on KDE Plasma Wayland. I'd say to find a way to bypass them
Is it even possible to bypass a hard coded setting from KDE-Plasma? Best way as of now would be to compile KDE-Plasma from source and do your own tweaks.
I've tried to add Swipe modifiers
like this:
4:
keypress:
LEFTCTRL:
sendkey: 'LEFTCTRL+LEFTSHIFT+LEFT' #Tile window to the left
And no way around it, It works as a gesture, but Wayland default Gesture triggers too.
Making modifiers for Swipe 4 Finger-Gestures unusable.
Gestures such as pinch
, rotate
, hold
with modifiers
for 4 Finger-Gestures works as intended
I mean: now it surely isn't possible. Maybe in the future, when KDE-Plasma gesture will receive a configuration page, it will be. But it doesn't matter: in such a case it would be possible to disable them to give space to Fusuma.
I think that at this point the issue can be closed and we could add to the README that, in KDE-Plasma Wayland, Fusuma will collide with the hard coded gestures.
The situation is the same in Gnome Wayland. Wayland reads libinput on the compositor side, but Fusuma also reads from libinput-debug-inputs and treats them as gestures. Therefore, Gnome Wayland and Fusuma execute actions at the same time. There are currently two workarounds
How is (1) even possible? Do you simply mean "stopping using the same gestures as Wayland does"? The workaround (2) seems totally in power of the distroes. Maybe, other than just waiting for the distroes to let to configure their gestures, we can only contact them to request some sort of API to let Fusuma and other services take charge of the gestures for the system. It seems to me that now that distroes are equipping themselves with gestures, Fusuma can only be an alternative, so that we have to wait for them to let users disable native gestures.
Describe the bug I first had some problems with 4 fingers gestures, I found that I didn't update fusuma for a long time and I update it. 4 fingers gestures solved, now everything else doesn't work. I start
fusuma
from command line, now it doesn't write what gesture I'm executing even if the gesture properly fires: with a 4 fingers horizontal swipe I can change desktops, but the vertical gestures don't work (they don't execute the right shortcut). In addition, any of the 3 finger gestures works. I see fromfusuma --version
that fusuma-sendkey isn't compatible with this version, and that fusuma-2.3.0 doesn't even show in the changelogs. Could it be because of this? What am I doing wrongTo Reproduce Steps to reproduce the behavior:
fusuma
in command lineExpected behavior All gestures should fire the proper shortcut as in X11.
Versions
Configuration