not displaying in the panel

668 views
Skip to first unread message

Brian J. Murrell

unread,
Apr 13, 2012, 6:12:27 PM4/13/12
to cinnamon...@googlegroups.com
I've downloaded
http://cinnamon-spices.linuxmint.com/uploads/applets/H22F-IKSJ-M0IY.zip
from http://cinnamon-spices.linuxmint.com/applets/view/17 and extracted
it to .local/share/cinnamon/applets/ as
http://cinnamon-spices.linuxmint.com/applets instructs at the bottom of
it's page.

When I add the weather applet to my panel nothing new displays.

I am running Cinnamon 1.4.0.

Ideas?

b.

signature.asc

TM

unread,
Apr 14, 2012, 12:38:43 PM4/14/12
to cinnamon...@googlegroups.com
You need to run the install script.

I have to disclaim: **applet/extension code is not signed.** Please
inspect it to see what it does. In particular, some lines use 'sudo.'

A lot of users have requested one-click installation. We're somewhat
beholden to GNOME in this respect; see upstream #50.

https://github.com/simon04/gnome-shell-extension-weather/issues/50

0x60EFD8F7.asc
signature.asc

Brian J. Murrell

unread,
Apr 14, 2012, 2:01:53 PM4/14/12
to cinnamon...@googlegroups.com
On 12-04-14 12:38 PM, TM wrote:
> You need to run the install script.

Yeah, I did see the script.

>
> I have to disclaim: **applet/extension code is not signed.** Please
> inspect it to see what it does. In particular, some lines use 'sudo.'

Yeah. I saw that too. Wasn't so pleased to see that.

>
> A lot of users have requested one-click installation.

Indeed. Having to be root to install "per user" stuff is ugly. A user
should be able to customize their desktop without being root.

> We're somewhat
> beholden to GNOME in this respect; see upstream #50.

Yeah, I noticed as much when I applied the steps of the install by
hand. I am sure you can understand my reluctance to just let a script
loose asking for root permissions and all that.

I believe I have completed what the script would have done:

$ ls -l .local/share/cinnamon/applets/cinnamon-weather-1.4.3/
total 80
-rw-r--r-- 1 brian brian 33012 2012-04-07 15:19 applet.js
-rwxr-xr-x 1 brian brian 6945 2012-04-07 15:19 cinnamon-weather-settings
-rwxr-xr-x 1 brian brian 2751 2012-04-07 15:19 cleanup.sh
-rw-r--r-- 1 brian brian 2245 2012-04-07 15:19 icon.png
-rwxr-xr-x 1 brian brian 2751 2012-04-07 15:19 install.sh
-rw-r--r-- 1 brian brian 122 2012-04-07 15:19 metadata.json
-rw-r--r-- 1 brian brian 3643 2012-04-07 15:19
org.cinnamon.a...@mockturtl.gschema.xml
drwxr-xr-x 2 brian brian 4096 2012-04-07 15:19 po
-rw-r--r-- 1 brian brian 865 2012-04-07 15:19 README.md
-rw-r--r-- 1 brian brian 1036 2012-04-07 15:19 stylesheet.css
-rwxr-xr-x 1 brian brian 2751 2012-04-07 15:19 uninstall.sh

$ ls -l
/usr/share/glib-2.0/schemas/org.cinnamon.a...@mockturtl.gschema.xml
-rw-r--r-- 1 root root 3643 2012-04-13 17:49
/usr/share/glib-2.0/schemas/org.cinnamon.a...@mockturtl.gschema.xml
$ sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

I didn't bother with .local/share/locale since I am in an english locale.

I'm happy to provide any other information.

Cheers,
b.


signature.asc

Brian J. Murrell

unread,
Apr 14, 2012, 2:15:23 PM4/14/12
to cinnamon...@googlegroups.com
OK. I figured it out...

On 12-04-14 02:01 PM, Brian J. Murrell wrote:
>
> $ ls -l .local/share/cinnamon/applets/cinnamon-weather-1.4.3/

This actually needs to be .local/share/cinnamon/applets/weather@mockturtl

Sorry for the noise.

Cheers,
b.

signature.asc

TM

unread,
Apr 14, 2012, 3:13:53 PM4/14/12
to cinnamon...@googlegroups.com
Glad you figured it out.  Based on the link above, my expectation is that we can move to per-user gsettings in GNOME 3.4, and get `sudo` out of the script.

As of the current release, the source on github uses signed tags.  I'm exploring a ppa for Ubuntu/Mint.

I think the Cinnamon team recognizes the need to handle this better, but it's unclear what the right scope will be.

liam_668

unread,
Jun 14, 2012, 7:45:42 AM6/14/12
to cinnamon...@googlegroups.com
I've done all of the below. I've run the install script, but I had to do it from the GUI, since the command line didn't recognize the script as executable. I also, when the install didn't work properly, ran the uninstall and cleanup scripts the same way, since the command line didn't recognize those, either. I now get a blank applet which, when clicked, displays an empty word balloon. Trying to run the configuration does not work. Configuration does not display when clicked on in the applet panel, and fails immediately when run from the GUI in Nautilus. A small blank square flashes briefly then disappears. I've downloaded Weather 1.5.1 for Cinnamon 1.4 in Mint 13. My hardware is an Acer Aspire One (Linux) with an early Atom processor and 1.5 GB RAM. Any suggestions?

Thanks in advance.

TM

unread,
Jun 14, 2012, 4:03:35 PM6/14/12
to cinnamon...@googlegroups.com
On 06/14/2012 07:45 AM, liam_668 wrote:
> I've done all of the below. I've run the install script, but I had to
> do it from the GUI, since the command line didn't recognize the script
> as executable.
This doesn't make sense. Use `ls -l` to see file permissions.

You need to be in the cinnamon-weather-x.y.z directory when you run the
script (`./install`).

Have you installed the required packages (see README)?

> I now get a blank applet which, when clicked, displays an empty word
> balloon.
Try restarting cinnamon.

> Trying to run the configuration does not work. Configuration does not
> display when clicked on in the applet panel, and fails immediately
> when run from the GUI in Nautilus.
If the install script ran successfully, there will be a symlink to the
config tool in `/usr/local/bin`. Open a terminal and run
`cinnamon-weather-settings` and report the output.

Reply all
Reply to author
Forward
0 new messages