Version 1.5.0 of cbatticon is almost ready.
That version adds internationalisation i.e. translation of strings into locale language, provided the necessary translation files have been produced.
- The completed translation is French
- Ongoing translations are Russian and Turkish
If you know the translation process (update of .po files) and want to translate in other languages, that would be more than welcome!
.pot file is located in github
Thanks
]]>Regarding the git version, I didn't change the PKGBUILD since a long time, so it uses GTK2, historically as well.
And finally, regarding the community build of cbatticon, it is managed by the arch packagers. It's their decision to use gtk3 (if I'm not mistaken).
Should you want to discuss the point with them, I propose you ask directly in the irc channel #archlinux-aur.
cbatticon-git in the AUR has gtk2 as a dependency, is that the only difference:
cbatticon = gtk3 cbatticon-git= gtk2 ??
Is it possible to have a gtk2 version in the official community repo? I've pretty much stuck with gtk2 and have tried to avoid gtk3 and qt at the same time. I know I can recompile with the gtk2 source, I was just curious why promote to official repo with a non-default flag? I'm still learning so be gentle. Thanks for a great program.
]]>Ok, few hours of research and I think I have a good starting point with this:
https://bugzilla.gnome.org/show_bug.cgi?id=614711
http://askubuntu.com/questions/148955/w … pplicationI need further investigation, but now...sleep a bit.
If I understand well what all this means, it's in fact that gtk3 has decided to use a new X property to retrieve system tray colors (_NET_SYSTEM_TRAY_COLORS) and if not defined, use a default (dark) value.
But that new parameter has not been retrofited in the official system tray specifications (http://standards.freedesktop.org/system … atest.html).
So, we are now in an intermediate situation whereby gtk3 expects that parameter to be defined by the system tray, but most of the system trays don't implement it because it's not defined in the specs.
I've seen that gnome (obviously) system tray defines the parameter, and also i3 system tray. But none of the other system trays I've seen define it.
I don't know yet what to do with this.
]]>I can also confirm that recompiling with GTK2 works as a temporary solution.
]]>I need further investigation, but now...sleep a bit.
]]>I am having an identical issue with the icon since the update. Any progress here?
It seems to be linked to gtk3 itself.
As a workaround, you can always recompile from ABS with GTK2.
Anyway, I will have a look at this case asap to see where the problem could be.
Can you provide me the name of your icon theme and the command line you use to start cbatticon ?
Thanks
]]>After some experimentation, changing icon sets, the icons themselves would change but the colour would remain as black. It is definitely a gtk3 thing - I rebuilt the 1.4.0 package but changed WITH_GTK3=1 to WITH_GTK3=0 and the symbolic icon is white again.
It's nothing major tbh, it works, and I have an angle to approach this from now. Perhaps my system tray (trayer) doesn't handle gtk3 icons very well. I'll investigate from that viewpoint.
Thanks for your help.
Rob
]]>Can you check your gtk3 settings ?
]]>The only icon theme setting I'm aware of is gtk-icon-theme-name="Tango" in my .gtkrc-2.0. Tango hasn't been updated in years. Having said that, these look a little bit like the Faenza status icons, but white instead of black, a happy accident, until now. The faenza icon theme package was last updated Wed 02 Jul 2014.
I've tried reverting from 1.4.0-1 => 1.3.2-2 (i686), but it exhibits the same behaviour. With 1.3.2-2 the icon is white (upper part of screenshot below), with 1.4.0-1 the icon is black (lower part of screenshot below).
The command I'm using is:
cbatticon -u 20 -i symbolic -c "systemctl poweroff" -l 35 -r 25
Thanks,
Rob
]]>Since the last update, the colour of the cbatticon symbolic icon has changed on my system from white to black. Is there a way to revert back to the old colour? Or is this due to some other change (like an icon theme change?
Well, it could be a bug. Have you tried with the previous version (you can reinstall it from your pacman cache) to be sure it's not a change in your icon theme ?
If you indeed have a difference of behaviour between the old & new version of cbatticon, can you provide me the name of your icon theme and the command line you use to start cbatticon ?
When you say that the icon change from white to black, which icon is it: the one when your battery if full ? or any icon (discharging, ...) changed from white to black ?
Thanks
]]>