❦ 17 juillet 2012 09:37 CEST, pyLemon <leeway1...@gmail.com> : > I use the gnome-sound-applet to control sound in my awesome settings, > and it has a full black icon. However, my top panel is also black, so > I can't see the icon. > > Is it possible to change the icon? Thanks!
While I think you should use a widget for this, you can fix the icon color of most gnome applets with the following snippet: #v+ -- The systray is a bit complex. We need to configure it to display -- the right colors. Here is a link with more background about this: -- http://thread.gmane.org/gmane.comp.window-managers.awesome/9028 xprop = assert(io.popen("xprop -root _NET_SUPPORTING_WM_CHECK")) wid = xprop:read():match("^_NET_SUPPORTING_WM_CHECK.WINDOW.: window id # (0x[%S]+)$") xprop:close() if wid then wid = tonumber(wid) + 1 os.execute("xprop -id " .. wid .. " -format _NET_SYSTEM_TRAY_COLORS 32c " .. "-set _NET_SYSTEM_TRAY_COLORS " .. "65535,65535,65535,65535,8670,8670,65535,32385,0,8670,65535,8670") end #v- You need to restart the applet after that due to a bug in GTK. More information here: http://thread.gmane.org/gmane.comp.window-managers.awesome/9028 https://bugzilla.gnome.org/show_bug.cgi?id=679592 https://bugzilla.gnome.org/show_bug.cgi?id=679591 Once the last bug has been solved, I'll propose a patch for awesome systray implementation. -- printk(KERN_ERR "msp3400: chip reset failed, penguin on i2c bus?\n"); 2.2.16 /usr/src/linux/drivers/char/msp3400.c -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.