iberianpig / fusuma

Multitouch gestures with libinput driver on Linux
MIT License
3.67k stars 149 forks source link

I have created a little tutorial on how to Start fusuma on Login in KDE #266

Closed Shadowphoenix closed 1 year ago

Shadowphoenix commented 2 years ago

Since there is a tutorial for Gnome, might as well add one for KDE ;P

  1. run whereis fusuma - this should default to ~/.local/share/gem/ruby/3.0.0/bin/fusuma or /home/$USER/.local/share/gem/ruby/3.0.0/bin/fusuma
  2. create a script that looks like this, according to what 1. resulted to: image
  3. make it executable in Fileproperties (by Ticking the corresponding box): image
  4. Go to KDE-Settings, search for "Autostart".
  5. Click on "Add" and Add your Script as a Loginscript.
  6. Reboot Done :)

Terminology might slightly differ depending on selected Locale

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Shadowphoenix commented 2 years ago

(activity to keep active)

iberianpig commented 2 years ago

Hi, thanks for your suggestion. Does it use ~/.config/autostart/ in KDE?

Shadowphoenix commented 2 years ago

Hi, thanks for your suggestion. Does it use ~/.config/autostart/ in KDE?

yes it does. To be precise, it copies the script from wherever you had it originally to ~/.config/autostart

Shadowphoenix commented 2 years ago

i am going to make english screenshots in the coming days and will post them here

DocteurFlashbios commented 1 year ago

@iberianpig Thank you very much for this work !! I can't do without ;) The autostart is a great idea, but I don't understand the point of creating a bash script. I tried adding directly the path in KDE settings, and the "-d" in the "arguments" input... ... seems working smooth ! Not for you ?

iberianpig commented 1 year ago

I don't think there is a need to create a bash script unless there is a particular reason such as wanting to do something before or after. It is important to get the path where the actual fusuma is located using the which command.

Shadowphoenix commented 1 year ago

@iberianpig Thank you very much for this work !! I can't do without ;) The autostart is a great idea, but I don't understand the point of creating a bash script. I tried adding directly the path in KDE settings, and the "-d" in the "arguments" input... ... seems working smooth ! Not for you ?

turns out within kde you can just run the command fusuma directly as an application to be executed on launch of plasmashell. i didnt know that at the time and forgot to update when i found out. Stepbystep in pictures found below. However Plasma added gestures in i think v5.27 but i havent tested how their native implementation compares to what fusuma can do. since i will be testing this i Soon i might drop away from this repo alltogether if i no longer need fusuma.

Shadowphoenix commented 1 year ago

Screenshot_20230301_045858 Screenshot_20230301_045935 Screenshot_20230301_045956

Shadowphoenix commented 1 year ago

this works perfectly fine for me, once $PATH for $SHELL is configured to contain gems and $USER is part of Group input

Shadowphoenix commented 1 year ago

Turns out the builtin Gestures on KDE afaik only work on Wayland but they are set to Mac-Esque by default so i will likely ditch fusuma because it is no longer needed for me. Thanks for your work on this tho, @iberianpig .