You are not logged in.

#51 2014-08-30 08:40:37

sirrus233
Member
Registered: 2014-08-29
Posts: 4

Re: cbatticon - A lightweight GTK+ battery status icon

I am having an identical issue with the icon since the update. Any progress here?

Offline

#52 2014-09-03 14:16:25

valr
Member
From: Belgium
Registered: 2012-01-08
Posts: 62

Re: cbatticon - A lightweight GTK+ battery status icon

sirrus233 wrote:

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

#53 2014-09-04 10:49:00

Painless
Member
Registered: 2006-02-06
Posts: 208

Re: cbatticon - A lightweight GTK+ battery status icon

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

#54 2014-09-05 23:59:58

valr
Member
From: Belgium
Registered: 2012-01-08
Posts: 62

Re: cbatticon - A lightweight GTK+ battery status icon

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

#55 2014-09-06 05:03:16

sirrus233
Member
Registered: 2014-08-29
Posts: 4

Re: cbatticon - A lightweight GTK+ battery status icon

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

#56 2014-09-11 20:04:27

valr
Member
From: Belgium
Registered: 2012-01-08
Posts: 62

Re: cbatticon - A lightweight GTK+ battery status icon

valr wrote:

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.

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

#57 2015-01-31 07:57:00

browntown
Member
From: Salem, OR USA
Registered: 2012-11-20
Posts: 63

Re: cbatticon - A lightweight GTK+ battery status icon

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

#58 2015-01-31 11:33:31

valr
Member
From: Belgium
Registered: 2012-01-08
Posts: 62

Re: cbatticon - A lightweight GTK+ battery status icon

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

#59 2015-07-17 20:28:50

valr
Member
From: Belgium
Registered: 2012-01-08
Posts: 62

Re: cbatticon - A lightweight GTK+ battery status icon

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

Board footer

Powered by FluxBB