Start the indicator after it has been installed

Bug #771872 reported by François Tissandier
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Status tracked in 2.0
2.0
Confirmed
Medium
Joshua Tasker
3.0
Won't Fix
Wishlist
Unassigned

Bug Description

After installation, the indicator is not started. I manually added it to the startup applications. Maybe it's automatically added after closing/opening a session again, but in any case, it should not let the user without additional information.

Here is what i think it should do :

-if the user needs to close/reopen his session to display it, a message should warn the user about this

-if it's not automatically added to the startup applications, it should. Not everybody knows what's the command to run this indicator. So it should be added to the startup applications, with a message to the user like "the indicator was added to your startup applications", or something like that.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

We are using automatic launch on startup. Please, specify version of Weather Indicator, attach the contents of /etc/xdg/autostart/indicator-weather.desktop and ~/.cache/indicator-weather.log

Changed in weather-indicator:
status: New → Incomplete
Revision history for this message
François Tissandier (baloo) wrote :

Thanks for your feedback Vadim. I didn't try to reboot, I checked the /Etc/xdg/autostart folder, the file is there. So no problem with the autostart. But I still thing the user should be told about it. After installation, he is left with no info : should I run something ? How can I configure the applet ? Should I reboot ? Reopen my session ? A simple message like "please close and reopen your session after installation to see the applet" would be nice, don't you think ? No huge deal of course, but still a welcome improvement in my opinion.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

I guess, we can make the app to start immidiately after it has been installed

Changed in weather-indicator:
importance: Undecided → Wishlist
milestone: none → foggy
status: Incomplete → Confirmed
summary: - The indicator should be easier to install in the panel
+ Start the indicator after it has been installed
Revision history for this message
Panagiotis Skintzos (ph7) wrote :

In foggy this will not be possible. The indicator will start when the indicator host (Unity panel in this case) loads the indicator client. This is normally possible only during the session start, so the user will have to logout & login to see the indicator. I guess what we could do is show a notification "You need to logout and login again to see the Weather Indicator" in the postinst script.

Revision history for this message
François Tissandier (baloo) wrote :

Would be perfect indeed !

Revision history for this message
Aditya V (kroq-gar78) wrote :

@ph7,

I don't see why you need to log in and log out to run the weather indicator. I think when Weather Indicator randomly crashed or didn't start (in previous releases, not anymore) I just typed in "weather indicator" into the Dash, clicked on it, and it popped up fine.

Do you mean that it has to be registered with Unity in advance or something for it to run, and that login, logout allows it to run? If so, then I understand. Otherwise, why not just add in a postinst script for launching it?

Revision history for this message
John Baptist (jepst79) wrote :

indicator-multiload solves this problem in an elegant way: it adds itself to Ubuntu's startup applications list, where it can be easily enabled or disabled through a GUI. I think this is a model that all indicator plugins should follow.

Also, the new version of Software Center in Precise will put a temporary icon on the icon bar for newly installed applications, so figuring out how to start the app for the first time shouldn't be a problem for users.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.