FilenCloudDienste / filen-desktop

Filen Desktop Client for Windows, macOS and Linux
https://filen.io
GNU Affero General Public License v3.0
65 stars 0 forks source link

Add option for autostart on Linux #97

Open stephanschindel opened 6 days ago

stephanschindel commented 6 days ago

Is your feature request related to a problem? Please describe. The desktop application on Linux does not autostart nor is there an option to activate autostart.

Describe the solution you'd like Add a setting for autostart to adjust autostart behaviour.

Describe alternatives you've considered The alternative is to start the application manually, but most people do not want that.

Additional context It is fine to add support only for deb and rpm packages. My guess is, that it is more effort to add it for the AppImage version as well.

paololunghi commented 4 days ago

A temporary workaround is to add manually the app in the list of startup application (most of the DEs offer this opportunity).

It's not straightforward though, because the path to the binary cannot be found in an obvious way (a command line alias is not generated, so it is not possible to use commands like which, locate, whereis, and similar).

After a search in my systems (Ubuntu 20.04 and 22.04), I located it at /opt/Filen/@filendesktop. The full command I set in the startup applications is then:

/opt/Filen/@filendesktop --hidden

The --hidden flag is necessary to launch the application minimized to tray (v3.0.34).