El Tue, 3 de Jun 2014 a las 9:03 PM, Eric Lavarde <[email protected]>
escribió:
Hi Daniel,
On 3 June 2014 20:54:58 CEST, Daniel Lintott <[email protected]>
wrote:
Hi Mentors!
I'm currently packaging a notification application, BuildNotify [1].
It only makes sense to start the application when the user logs in,
which can be done using the $(HOME)/.config/autostart directory or
adding an entry using the Startup Applications GUI.
From the packaging perspective, is this something we should do when
the
package is installed... or should it be left to the user to configure
how they start it?
The thing is that a Linux system is potentially multi user, with
users not interested in the application and others added after
package installation, so the answer can only be that the users must
configure it themselves.
XDG autostart provides for both of these scenarios. You can (and
should) install the autostart entry in /etc/xdg/autostart/ for system
wide starting of the tray icon. Individual users can disable the entry
by making one with the same name in ~/.config/autostart/ with a single
line, "Hidden=true", as the contents.
I think users installing this piece of software will expect it to be
started at boot, and we should do just that.
Regards,
--
Cameron