From be1f8957c30e0d8e91dea84c683525f2f14c359a Mon Sep 17 00:00:00 2001 From: iberianpig Date: Sun, 26 Jan 2025 18:22:16 +0900 Subject: [PATCH] docs: Add manual method for autostarting fusuma Updated the README to include instructions for manually creating a desktop entry to autostart fusuma. This method can be used as an alternative to the gnome-session-properties approach, addressing compatibility issues on systems where gnome-session-properties is unavailable. This addition provides a clear guide for setting up fusuma to start automatically when a session is initiated. close https://github.com/iberianpig/fusuma/issues/314 --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82a1134..b211d24 100644 --- a/README.md +++ b/README.md @@ -379,13 +379,35 @@ plugin: - "EXTERNAL TOUCHPAD NAME" ``` -## Autostart (gnome-session-properties) +## Autostart + +### Method 1: Using gnome-session-properties 1. Check the path where you installed fusuma with `which fusuma` 2. Open `gnome-session-properties` 3. Add Fusuma and enter the location where the above path was checked in the command input field 4. Add the `-d` option at the end of the command input field +### Method 2: Creating a Desktop Entry Manually + +1. Check the path where you installed fusuma with `which fusuma` +2. Create a new file named `fusuma.desktop` in the `~/.config/autostart/` directory. +3. Add the following content to the `fusuma.desktop` file: + +```ini +[Desktop Entry] +Name=fusuma +Comment=run fusuma +Exec={path_to_fusuma} -d --log=/tmp/fusuma.log +Icon=input-touchpad +X-GNOME-Autostart-enabled=true +Type=Application +``` + + Replace `{path_to_fusuma}` with the path obtained from `which fusuma`. +4. Save the file and ensure its permissions are correctly set to be executable. +5. Restart your system or session to verify that fusuma starts automatically. + ## Fusuma Plugins Following features are provided as plugins.