[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting an application on login



On 04/06/14 06:24, Cameron Norman wrote:
> El Tue, 3 de Jun 2014 a las 9:03 PM, Eric Lavarde <Eric@Lavar.de> escribió:
>> Hi Daniel, On 3 June 2014 20:54:58 CEST, Daniel Lintott
>> <daniel@serverb.co.uk> 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.

Ack, I'm currently considering some sort of debconf scenario, which
would give the option for a user to install but not autostart

Regards,

Daniel





Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: