probonopd / go-appimage

Go implementation of AppImage tools
MIT License
756 stars 74 forks source link

appimaged service running even though not detected, failing if files were removed #248

Open secretmango opened 1 year ago

secretmango commented 1 year ago

I am pretty sure this project is useful, but I just dont want a process running in the background all the time, connecting to some site (documentation?) and cluttering up my journalctl.

I removed the files and sudo systemctl disable appimaged doesnt find a service, its running nonetheless.

Please provide an uninstall script, it is very confusing. When I have time I can help and maybe create one.

CalebQ42 commented 1 year ago

It's a user service so you have to do systemctl --user --now disable appimaged

CalebQ42 commented 1 year ago

There isn't an uninstall script, but there is documentation for how to fully remove AppImages in its folder (https://github.com/probonopd/go-appimage/blob/master/src/appimaged/README.md)

secretmango commented 1 year ago

thanks! okay of course its a user service, forgot that. The connection is probably for thumbnails right?

Does the service really run all the time? I think it would be nice to have a manual trigger ("refresh appimages" .desktop appstarter) and otherwise run it ever 2h or so, to be less invasive.

CalebQ42 commented 1 year ago

It's not for thumbnails (those are provided within the appimage itself), but for checking if there's an update available for the AppImage if the AppImage provides info on how to get updates.

probonopd commented 1 year ago

Well, it's mainly for recognizing whenever new AppImages appear on the system, get moved around, etc.

All of this could be done way more nicely and without the need for daemons if implemented right in the file manager.