iberianpig / fusuma

Multitouch gestures with libinput driver on Linux
MIT License
3.63k stars 146 forks source link

Can't autostart fusuma on fedora because gnome-session-properties was removed a full ten years ago on fedora. #314

Open orcbolg3612 opened 9 months ago

orcbolg3612 commented 9 months ago

How can i autostart fusuma on fedora.

orcbolg3612 commented 9 months ago

╭─orcbolg@fedora ~ ╰─$ gnome-session-properties zsh: gnome-session-properties: command not found…

I installed gnome-session and i am using fedora39 with latest update. ╰─$ sudo dnf install gnome-session 127 ↵ [sudo] password for orcbolg: Last metadata expiration check: 0:50:40 ago on Sun 24 Dec 2023 08:55:52 AM +07. Package gnome-session-45.0-3.fc39.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete!

iberianpig commented 2 months ago

I think that you can use ~/.config/autostart/fusuma.desktop to set up autostart.

Try creating the following .desktop file:

[Desktop Entry]
Name=fusuma
Comment=run fusuma
# If it doesn't work, check the path with `which fusuma`
Exec=fusuma -d --log=/tmp/fusuma.log --verbose
Icon=input-touchpad
X-GNOME-Autostart-enabled=true
Type=Application

After creating the file, make sure its permissions are correct, and then check whether it starts automatically. Especially ensure the Exec path is correct by running the which fusuma command in the terminal to get the correct path and use it instead of fusuma in the Exec line if necessary.