Hello,
I'm using the Arch git-annex package: https://www.archlinux.org/packages/community/x86_64/git-annex/
Checking the autostart checkbox in the assistant's web interface has no effect. There is no git-annex desktop file in ~/.config/autostart/ or alike. Neither is one contained in the package, however in the tarball I haven't found either.
How does autostarting the assistant works?
Best Thanks!
The way autostart works is, the repository gets listed in
~/.config/git-annex/autostart
-- setting up that file is all that the webapp preferences does.git annex assistant --autostart
looks at that files and gets the assistant running in each listed repository.Now, something has to take care of running that command when the system starts or you log in or whatever. At this point it gets OS dependant.
For example, on Debian, this is handled by the git-annex package containing
/etc/xdg/autostart/git-annex.desktop
Sounds like they may have left this file out of the Arch package.
git-annex's
make install
handles building that desktop file. It only generates it if run as root, or with DESTDIR set. One or the other should normally be the case when building a package.Here's the content of
/etc/xdg/autostart/git-annex.desktop
I use the Arch package, it is built / installed like that https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/git-annex
Seem to be no classical make install involved. I try to peek your build system, but I know way to little about Haskell.
Is there a way to get all the generated desktop files? Maybe add them to the prebuilt tarball?
The only supported way is to either run "make install", or use a distribution package that is built using "make install".
If your distribution is building the package in some other way, please file a bug with it to get its package fixed.