O indicador my-weather é possível instalar em 12.04 a partir de fontes com
git clone https://git.launchpad.net/my-weather-indicator
Instalar dependências com:
sudo apt-get install gir1.2-gtk-3.0 gir1.2-glib-2.0 gir1.2-gdkpixbuf-2.0 gir1.2-appindicator3-0.1 gir1.2-notify-0.7 gir1.2-webkit-3.0 gir1.2-geocodeglib-1.0 python-tz python-cairo python-lxml python-dateutil python-requests python-requests-oauthlib geoclue-hostip geoclue-ubuntu-geoip
sudo apt-get install python3-distutils-extra
sudo apt-get install python3-pip
sudo apt-get install python3-setuptools
sudo apt-get install python3-polib
sudo apt-get install python3-gi
sudo apt-get install gir1.2-geocodeglib-1.0
sudo easy_install3 pip
sudo pip3 install python-dateutil
sudo pip3 install requests
sudo pip3 install requests-oauthlib
sudo pip3 install tz
sudo pip3 install dateutil
sudo pip3 install python-dateutil
sudo pip3 install python-tz
Edite o seguinte arquivo:
gedit ~/my-weather-indicator/src/weatherwidget.py
Altere a linha 92-111 removendo o parâmetro de opacidade para:
#pin{
border-image: none;
background-image: none;
background-color: rgba(0, 0, 0, 0);
border-radius: 0px;
}
#pin:hover {
transition: 1000ms linear;
border-image: none;
background-image: none;
background-color: rgba(0, 0, 0, 0);
border-radius: 0px;
}
Edite o arquivo myweatherindicator.py com:
gedit ~/my-weather-indicator/src/myweatherindicator.py
altere a linha 388 de:
self.weather_updater = GLib.timeout_add_seconds(self.refresh * 3600,
self.update_weather)
para:
self.weather_updater = GLib.timeout_add_seconds(int(self.refresh * 3600),
self.update_weather)
Instalar com comando:
sudo python ~/my-weather-indicator/setup.py install
Você precisará editar o arquivo e alterar as preferências manualmente no arquivo ~ / .config / my-weather-indicator.conf.
Em seguida, execute o indicador my-weather com
/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator