Posts: 8,895
Threads: 541
Joined: Feb 2014
Reputation:
5
The XFCE Weather Applet no longer updates and as a result it is no longer able to fetch data.
Here is the fix:
Code: sudo add-apt-repository ppa:dtl131/mediahacks
sudo apt-get update
sudo apt-get install xfce4-weather-plugin
sudo add-apt-repository --remove ppa:dtl131/mediahacks
Posts: 1,149
Threads: 22
Joined: Feb 2014
Reputation:
0
02-26-2014, 04:31 AM
(This post was last modified: 04-26-2014, 09:22 PM by N4RPS.)
Hello!
Sometimes, XFCE Weather Applet shows 'N/A' for high temps in the forecast, and sometimes, it doesn't. Therefore, I switched over to my-weather-indicator. Unless someone knows of a better alternative, it's the best thing I can find to a good Linux weather app.
After adding the PPA and the program, the first time I tried to run it from the menu. MWI locked up, so I had to execute it in a terminal:
Code: /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
I think this issue is machine-specific.
For the 32-bit version, this is an excellent weather program. I use a Firefox plugin for the 64-bit version because the 64-bit version of MWI display the sunrise/sunset times in UTC, as opposed to local time...
Just my $.02 worth...
73 DE N4RPS
Rob
A gun in your hand is worth more than a whole police force on the phone.
04-26-2014, 03:19 PM
(This post was last modified: 04-26-2014, 08:32 PM by Valtam.)
Not sure I did this correctly. Do I put in a line of this code on at a time and hit enter? Where would it appear on desktop or in menu? Thanks.
Code: @max-HP-Compaq-dx2200-MT:~$ sudo add-apt-repository ppa:dt1131/mediahacks sudo apt-get undate sudo apt-get install xfce4-weather-plugin sudo add-apt-repository --remove ppa:dt1131/mediahacks
[sudo] password for max:
Error: need a repository as argument
max@max-HP-Compaq-dx2200-MT:~$ sudo add-apt-repository ppa:dtl131/mediahacks sudo apt-get update sudo apt-get install xfce4-weather-plugin sudo add-apt-repository --remove ppa:dtl131/mediahacks
Error: need a repository as argument
max@max-HP-Compaq-dx2200-MT:~$ sudo add-apt-repository ppa:dtl131/mediahacks
sudoYou are about to add the following PPA to your system:
A mix of packages that need updated or special build-time configuration.
More info: https://launchpad.net/~dtl131/+archive/mediahacks
Press [ENTER] to continue or ctrl-c to cancel adding it
audo apt-get ugpg: keyring `/tmp/tmpR0eQ2A/secring.gpg' created
gpg: keyring `/tmp/tmpR0eQ2A/pubring.gpg' created
gpg: requesting key F76FFEBE from hkp server keyserver.ubuntu.com
pgpg: /tmp/tmpR0eQ2A/trustdb.gpg: trustdb created
gpg: key F76FFEBE: public key "Launchpad audiohacks" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
max@max-HP-Compaq-dx2200-MT:~$ audo apt-get update
No command 'audo' found, did you mean:
Command 'sudo' from package 'sudo' (main)
Command 'sudo' from package 'sudo-ldap' (universe)
Command 'udo' from package 'udo' (universe)
Command 'aldo' from package 'aldo' (universe)
audo: command not found
max@max-HP-Compaq-dx2200-MT:~$ sudo apt-get update
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main i386 Packages
Ign http://dl.google.com stable/main TranslationIndex
Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:2 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://repo.steampowered.com precise Release.gpg
Hit http://us.archive.ubuntu.com precise-backports Release.gpg
Hit http://us.archive.ubuntu.com precise Release
Get:3 http://extras.ubuntu.com precise Release.gpg [72 B]
Ign http://dl.google.com stable/main Translation-en_US
Get:4 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Ign http://dl.google.com stable/main Translation-en
Hit http://extras.ubuntu.com precise Release
Ign http://extras.ubuntu.com precise Release
Hit http://repo.steampowered.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://extras.ubuntu.com precise/main Sources/DiffIndex
Hit http://ppa.launchpad.net precise Release.gpg
Get:5 http://ppa.launchpad.net precise Release [11.9 kB]
Hit http://repo.steampowered.com precise/steam Sources
Ign http://extras.ubuntu.com precise/main i386 Packages/DiffIndex
Hit http://repo.steampowered.com precise/steam amd64 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://extras.ubuntu.com precise/main Sources
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://repo.steampowered.com precise/steam i386 Packages
Hit http://us.archive.ubuntu.com precise-backports Release
Hit http://us.archive.ubuntu.com precise/main Sources
Ign http://repo.steampowered.com precise/steam TranslationIndex
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Get:6 http://ppa.launchpad.net precise/main Sources [2,548 B]
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:7 http://us.archive.ubuntu.com precise-updates/main Sources [456 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en
Get:8 http://ppa.launchpad.net precise/main i386 Packages [2,713 B]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Ign http://repo.steampowered.com precise/steam Translation-en_US
Get:9 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:10 http://security.ubuntu.com precise-security Release [49.6 kB]
Ign http://repo.steampowered.com precise/steam Translation-en
Get:11 http://security.ubuntu.com precise-security/main Sources [103 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Get:12 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:13 http://security.ubuntu.com precise-security/universe Sources [30.9 kB]
Get:14 http://security.ubuntu.com precise-security/multiverse Sources [1,797 B]
Get:15 http://security.ubuntu.com precise-security/main i386 Packages [405 kB]
Get:16 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,028 B]
Get:17 http://us.archive.ubuntu.com precise-updates/universe Sources [107 kB]
Get:18 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,909 B]
Get:19 http://us.archive.ubuntu.com precise-updates/main i386 Packages [800 kB]
Get:20 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:21 http://security.ubuntu.com precise-security/universe i386 Packages [96.6 kB]
Get:22 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,649 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:23 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [12.2 kB]
Get:24 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [246 kB]
Get:25 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.4 kB]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 2,418 kB in 52s (45.7 kB/s)
Reading package lists... Done
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
max@max-HP-Compaq-dx2200-MT:~$ sudo apt-get install xfce4-weather-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
xfce4-weather-plugin is already the newest version.
The following packages were automatically installed and are no longer required:
gnustep-base-common gnustep-base-runtime gnustep-back0.20-art
gnustep-gui-common gnustep-back0.20 libgnustep-gui0.20 libao-common
mknfonts.tool libgnustep-base1.22 autotools-dev gnustep-common libao4
gnustep-gpbs gnustep-back-common libobjc3 gnustep-gui-runtime
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
max@max-HP-Compaq-dx2200-MT:~$ sudo add-apt-repository --remove ppa:dtl131/mediahacks
You are about to remove the following PPA from your system:
A mix of packages that need updated or special build-time configuration.
More info: https://launchpad.net/~dtl131/+archive/mediahacks
Press [ENTER] to continue or ctrl-c to cancel removing it
Posts: 8,895
Threads: 541
Joined: Feb 2014
Reputation:
5
04-26-2014, 09:14 PM
(This post was last modified: 04-26-2014, 09:18 PM by Valtam.)
Code: max@max-HP-Compaq-dx2200-MT:~$ sudo add-apt-repository ppa:dtl131/mediahacks
[sudo] password for max:
sudo apYou are about to add the following PPA to your system:
A mix of packages that need updated or special build-time configuration.
More info: https://launchpad.net/~dtl131/+archive/mediahacks
Press [ENTER] to continue or ctrl-c to cancel adding it
sudo apgpg: keyring `/tmp/tmpmaK3G4/secring.gpg' created
gpg: keyring `/tmp/tmpmaK3G4/pubring.gpg' created
gpg: requesting key F76FFEBE from hkp server keyserver.ubuntu.com
t-gpg: /tmp/tmpmaK3G4/trustdb.gpg: trustdb created
gpg: key F76FFEBE: public key "Launchpad audiohacks" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
max@max-HP-Compaq-dx2200-MT:~$ sudo apt-get update
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://repo.steampowered.com precise Release.gpg
Hit http://repo.steampowered.com precise Release
Hit http://dl.google.com stable/main i386 Packages
Hit http://repo.steampowered.com precise/steam Sources
Ign http://dl.google.com stable/main TranslationIndex
Hit http://repo.steampowered.com precise/steam amd64 Packages
Get:1 http://extras.ubuntu.com precise Release.gpg [72 B]
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:2 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://us.archive.ubuntu.com precise-backports Release.gpg
Hit http://us.archive.ubuntu.com precise Release
Hit http://extras.ubuntu.com precise Release
Ign http://extras.ubuntu.com precise Release
Get:3 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://repo.steampowered.com precise/steam i386 Packages
Ign http://extras.ubuntu.com precise/main Sources/DiffIndex
Ign http://repo.steampowered.com precise/steam TranslationIndex
Ign http://extras.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://extras.ubuntu.com precise/main Sources
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:4 http://us.archive.ubuntu.com precise-updates/main Sources [456 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://repo.steampowered.com precise/steam Translation-en_US
Ign http://repo.steampowered.com precise/steam Translation-en
Get:5 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:6 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:7 http://security.ubuntu.com precise-security/main Sources [103 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Get:8 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,028 B]
Get:9 http://us.archive.ubuntu.com precise-updates/universe Sources [107 kB]
Get:10 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:11 http://security.ubuntu.com precise-security/universe Sources [30.9 kB]
Get:12 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,909 B]
Get:13 http://us.archive.ubuntu.com precise-updates/main i386 Packages [800 kB]
Get:14 http://security.ubuntu.com precise-security/multiverse Sources [1,797 B]
Get:15 http://security.ubuntu.com precise-security/main i386 Packages [405 kB]
Get:16 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:17 http://security.ubuntu.com precise-security/universe i386 Packages [96.6 kB]
Get:18 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,649 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:19 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [12.2 kB]
Get:20 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [246 kB]
Get:21 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [15.4 kB]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 2,401 kB in 1min 12s (33.0 kB/s)
Reading package lists... Done
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
max@max-HP-Compaq-dx2200-MT:~$ sudo apt-get install xfce4-weather-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
xfce4-weather-plugin is already the newest version.
The following packages were automatically installed and are no longer required:
gnustep-base-common gnustep-base-runtime gnustep-back0.20-art
gnustep-gui-common gnustep-back0.20 libgnustep-gui0.20 libao-common
mknfonts.tool libgnustep-base1.22 autotools-dev gnustep-common libao4
gnustep-gpbs gnustep-back-common libobjc3 gnustep-gui-runtime
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
max@max-HP-Compaq-dx2200-MT:~$ sudo add-apt-repository --remove ppa:dal131/mediahacks
Cannot access PPA (https://launchpad.net/api/1.0/~dal131/+archive/mediahacks) to get PPA information, please check your internet connection.
max@max-HP-Compaq-dx2200-MT:~$
I did this again and ended up with this (above). Thanks. Max
Posts: 8,895
Threads: 541
Joined: Feb 2014
Reputation:
5
Remove the other one first: sudo apt-get remove xfce4-weather-plugin
Can you please use the code tags when pasting terminal output to please. Cheers.
Hi, newbie here...You,ve lost me with the "tags." Give me an example, please.
Posts: 1,094
Threads: 19
Joined: Feb 2014
Reputation:
0
When typing your reply, hit the "#" button on forum interface. It will insert two code blocks -- [ code ] ... [ /code ] -- into your reply area. Paste the terminal output between the two code blocks. That makes it easier for us to read.
|