You are not logged in.

#1 2012-05-13 23:21:49

will.price94
Member
From: UK
Registered: 2011-11-09
Posts: 63
Website

nm-applet - no icon in trayer

Hi guys,
when I open up nm-applet I get the following error message:

** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area

(nm-applet:3481): libnotify-WARNING **: Failed to connect to proxy

** (nm-applet:3481): WARNING **: Failed to show notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

(nm-applet:3481): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed

If I click around for a bit, there is a line of pixels which brings up the menu.

If I launch tint2, then the icon appears.

Here's how I'm running trayer:

trayer --edge bottom --align right --SetPartialStrut true --expand true --width 10 --alpha 0 --tint 0x1A1A1A --transparent true --SetDockType true --height 14&

EDIT: Batti and volumeicon both show up fine though.

Last edited by will.price94 (2012-05-13 23:23:00)

Offline

#2 2012-05-14 08:33:30

bergersau
Member
Registered: 2012-01-19
Posts: 52

Re: nm-applet - no icon in trayer

Try adjusting the height of the panel.. There is some sort of issue with scaling I think.
I had the a similar issue under Tint2 and bumped the panel to 45 pixels high then reduced it back to my desired 20 pixels once the nm-applet started displaying properly again.

Offline

#3 2012-05-14 09:02:19

will.price94
Member
From: UK
Registered: 2011-11-09
Posts: 63
Website

Re: nm-applet - no icon in trayer

Bizarre. It just won't display under a height of 18 pixels.
Thanks, I'll have to file a bug report.

Offline

#4 2012-05-14 09:25:56

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: nm-applet - no icon in trayer

Probably because the icon pack doesn't have an icon smaller than 16 px. Which it shouldn't. Because the standard sizes are 16, 22, 24, 32, 48, ... (and at this point we've already gone way passed tray icons). And "--width 10" and "--height 14" doesn't sound like it can hold a 16 px icon.

If you tried 18 and it works, that... sounds more plausible to me (16 + 1 on each side, probably a default setting so that they don't touch).


Anyway, I don't think it's a bug.

Check the 16x16 icon. For the Faenza icon pack it's: /usr/share/icons/Faenza/status/16/nm-adhoc.png


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-05-14 09:28:47

will.price94
Member
From: UK
Registered: 2011-11-09
Posts: 63
Website

Re: nm-applet - no icon in trayer

Hi DSpider, thanks for the reply, good point, sorry, it's early here and I haven't quite woken up, these things hadn't occurred to me. I'm using Faenza, why doesn't it switch to svg icons if it's' not a standard size?

Offline

Board footer

Powered by FluxBB