You are not logged in.
I am having an identical issue with the icon since the update. Any progress here?
Offline
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
Offline
I've tried trayer, trayer-srg, and stalonetray. All display the icon as black when using 1.4.0-1, and white with 1.3.2-2. The "gtk-application-prefer-dark-theme" was tried (on and off) in each case. So far, the only workaround I've found is to recompile 1.4.0 without GTK3. I've tried searching for a (standalone) system tray which specifically provides GTK3 support, but not found anything yet.
Last edited by Painless (2014-09-04 10:51:28)
Offline
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 … pplication
I need further investigation, but now...sleep a bit.
Offline
In case it helps, I've been running 'cbatticon -i symbolic -c "systemctl suspend" &'.
I can also confirm that recompiling with GTK2 works as a temporary solution.
Offline
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.
Offline
Quick stupid question. If GTK2 is default per the readme, why does the community package use gtk3?
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.
Offline
GTK2 is still the default in the makefile, historically. There is indeed no reason why, at this time, I couldn't set it to GTK3 by default.
However, you have to see the difference between the default provided in the sources and what the archlinux packager decides to use, possibly depending on archlinux current rules of packaging.
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.
Last edited by valr (2015-01-31 11:35:49)
Offline
Hi All,
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
Last edited by valr (2015-07-17 20:34:43)
Offline