In spite of having enabled my weather indicator on the list of the Startup Applications, it never starts on startup; I have to do it manually all the time.
The command I entered is:
my-weather-indicator
What am I doing wrong?
In spite of having enabled my weather indicator on the list of the Startup Applications, it never starts on startup; I have to do it manually all the time.
The command I entered is:
my-weather-indicator
What am I doing wrong?
I installed my-weather-indicator
from its ppa: ppa:atareao/atareao
to find out. Its .desktop
file in /usr/share/applications
includes the line:
Exec=/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
which indicates the command you need to run is:
/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
You can see the content of the file by running the command:
cat /usr/share/applications/extras-my-weather-indicator.desktop
or:
gedit /usr/share/applications/extras-my-weather-indicator.desktop
Sometimes launchers (.desktop
files) have multiple lines, starting with
Choose Dash > Startup Applications > Add, and add the command
/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
The command you tried does not include the path to the executable:
my-weather-indicator
This only works if the executable is in $PATH. The application however is installed in:
/opt/extras.ubuntu.com/my-weather-indicator/bin
You can find out which directories are in $PATH
by the command:
echo $PATH
A simple GUI based answer is,
Preferences
General options
and check the Autostart
option.