Seafile Gnome autostart

I run Fedora with Gnome and I want to keep my extensions to a minimum. I have been searching around how to get Seafile to autostart when I log on my computer. At first I used Gnome Tweaks and added Seafile in startup applications. That work well, but Seafile open a window everytime you log on. I know you can change this behavior if you have an appindicator extension and you can open the settings dialog. I have no need for the appindicator so I want to set this without installing av extension.

To get Seafile to start hidden/background on Gnome adjust your config in ~/.config/Seafile/Seafile\ Client.conf

[Behavior]
hideDockIcon=false
hideMainWindowWhenStarted=true

[MainWindow]
pos=@Point(1259 150)
size=@Size(325 585)

[RepoTreeView]
expandedCategories-cd33a60=Recently Updated

[Settings]
computerName=your.computer.name

[UsedServerAddresses]
main=https://your.seafile.server

It is the Behavior section and "hideMainWindowWhenStarted=true" that make Seafile to start in background.

To enable autostart whitout Gnome Tweaks you can add a file: .config/autostart/seafile.desktop

[Desktop Entry]
Name=Seafile
Comment=Seafile desktop sync client
TryExec=seafile-applet
Exec=seafile-applet
Icon=seafile
Type=Application
Categories=Network;FileTransfer;

File permissions: 0644