You are not logged in.
In my jessie system using version 1.4.1-1 of XFCE4-power-manager, the battery icon no longer shows up in the tint2 systray and the option to enable it has been removed from XFCE4-power-manager-settings
The icon still shows with version 1.2.0-1 in my SlackBang desktop (#! clone on a Slackware-current base).
The only choice with jessie is to use the native tint2 text readout.
I much prefer the #! battery icon -- the #! systray appearance was one of the best around IMO and it would be a shame if BunsenLabs lost this.
Last edited by Head_on_a_Stick (2015-05-20 18:24:30)
Offline
^ A quick Google search for "Debian Jessie systray battery" tells me that xfce4-power-manager has been having trouble with not updating the battery status in the systray icon (lots of bug reports for this); perhaps the icon option was removed because of this?
I would prefer that the XFCE4 development team would opt to fix the bug rather than let the feature vanish, because a fixed feature can't be added back in once it has been removed due to the freeze.
Offline
I too had been looking into that last week, this is what I found:
https://bugs.debian.org/cgi-bin/bugrepo … =755551#10
Seems it was removed and is now only supported if you used xfce panel, which is a shame. But reading that thread I also found that the op requested that they bring it back in xfce issue queue:
https://bugzilla.xfce.org/show_bug.cgi?id=11054
There is a patch for it and it works a bit differently, but it is not yet released from what I can see.
So the issue is not in bl, or cb. The issue is in xfce4 on Jessie.
Offline
I too had been looking into that last week, this is what I found:
https://bugs.debian.org/cgi-bin/bugrepo … =755551#10Seems it was removed and is now only supported if you used xfce panel, which is a shame. But reading that thread I also found that the op requested that they bring it back in xfce issue queue:
https://bugzilla.xfce.org/show_bug.cgi?id=11054There is a patch for it and it works a bit differently, but it is not yet released from what I can see.
So the issue is not in bl, or cb. The issue is in xfce4 on Jessie.
Thanks for this -- I'll try applying the patch when I have time.
Offline
Perhaps try mate-power-manager instead? Its interface isn't as robust as xfce4-power-manager, but it does include a systray icon option.
Last edited by pvsage (2015-03-16 22:24:24)
Offline
Perhaps try mate-power-manager instead?
Offline
Or keep xfce4-power-manager (and access it from a menu for configuration) and use a separate battery monitor for the systray? (There are such things I understand, though haven't researched it.)
John
--------------------
( a boring Japan blog , Japan Links, idle twitterings and GitStuff )
#! forum moderator BunsenLabs
Offline
I am for johnraff's suggestion if we can find a working battery monitor.
Offline
Or keep xfce4-power-manager (and access it from a menu for configuration) and use a separate battery monitor for the systray? (There are such things I understand, though haven't researched it.)
I was using cbatticon but it has it's own icon theme:
Unlike mate/xfce4-power-manager, which uses the battery icon from whichever GTK theme is in use and thus produces a much more cohesive systray appearance.
Offline
johnraff wrote:Or keep xfce4-power-manager (and access it from a menu for configuration) and use a separate battery monitor for the systray? (There are such things I understand, though haven't researched it.)
I was using cbatticon but it has it's own icon theme:
http://s30.postimg.org/5dpxoyfst/batticon.png
Unlike mate/xfce4-power-manager, which uses the battery icon from whichever GTK theme is in use and thus produces a much more cohesive systray appearance.
I just compiled cbatticon to try it out. I did the following if anyone else wants it:
git clone git@github.com:valr/cbatticon.git
cd cbatticon
sudo make WITH_GTK3=0 WITH_NOTIFY=0
sudo make install
Remove WITH_NOTIFY=0 if you have libnotify and want to use it. You might also need libnotify-dev to build with libnotify.
Seems there a good number of options here:
$ cbatticon --help
Usage:
cbatticon [OPTION...] [BATTERY ID]
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
Application Options:
-v, --version Display the version of cbatticon
-d, --debug Display debug information
-u, --update-interval Set update interval (in seconds)
-i, --icon-type Set icon type ('standard', 'notification' or 'symbolic')
-l, --low-level Set low battery level (in percent)
-r, --critical-level Set critical battery level (in percent)
-c, --command-critical-level Command to execute when critical battery level is reached
-x, --command-left-click Command to execute when left clicking on tray icon
-t, --list-icon-types List available icon types
-p, --list-power-supplies List available power supplies (battery and AC)
--display=DISPLAY X display to use
I ran the following:
$ cbatticon --list-icon-types
List of available icon types:
standard available
notification available
symbolic available
For me,
cbatticon -i notification
gets me the icon we had in xfce4-power-manager before battery icon was removed. I haven't tested functionality out yet but it seems like it will work a treat.
Here is command I am using to launch it:
cbatticon -u 20 -i notification -c "systemctl poweroff" -l 15 -r 3 -x xfce4-power-manager-settings &
Last edited by nicholasalipaz (2015-03-17 17:57:19)
Offline
@nicholasalipaz -- outstanding!
Thank you very much for this!
I have been using cbatticon for a while (it's in [community] in Arch) and I never even thought to check the `--help` options...
Offline
I tried mate-power-manager, as mentioned above. Easy, and it also gives the status of the battery in the wireless mouse. (Don't need it, but it amuses me to have it.) Two cents.
Offline
I am for johnraff's suggestion if we can find a working battery monitor.
There is one, right at your fingertips.
It's called "conky".
Offline
I tried mate-power-manager, as mentioned above. Easy, and it also gives the status of the battery in the wireless mouse. (Don't need it, but it amuses me to have it.) Two cents.
mate-power-manager just didn't have all the features I wanted, so I did the xfce4-power-manager and cbatticon to see my level in the status area. Works great.
Offline
Unfortunately cbatticon's not in the Jessie repositories.
John
--------------------
( a boring Japan blog , Japan Links, idle twitterings and GitStuff )
#! forum moderator BunsenLabs
Offline
What's wrong with simply using the battery display functionality that already is in tint2rc?
Regards,
spacex/ew
http://tweaklinux.org
Offline
What's wrong with simply using the battery display functionality that already is in tint2rc?
The only choice with jessie is to use the native tint2 text readout.
Nothing wrong, it's a matter of personal taste and usability. An icon takes a few pixels less space and you can change settings by clicking it.
edit: The matter in this thread is restoring functionality formerly provided by xfce4-power-manager icon.
Last edited by nore (2015-03-24 04:35:10)
Offline
I dislike the native text readout in tint2 because my laptop doesn't supply acpi with any discharge rate information so the "time remaining" section is always "0:00" and if I try to remove this section (by setting the font size to "0") the main battery percentage is offset by a pixel or two.
My OCD tendencies simply will not allow this...
Offline
What's wrong with simply using the battery display functionality that already is in tint2rc?
How to display that "default tint2" battery data?
Offline
spacex wrote:What's wrong with simply using the battery display functionality that already is in tint2rc?
How to display that "default tint2" battery data?
Read the manual - Tint2 wiki
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
I dislike the native text readout in tint2 because my laptop doesn't supply acpi with any discharge rate information so the "time remaining" section is always "0:00" and if I try to remove this section (by setting the font size to "0") the main battery percentage is offset by a pixel or two.
My OCD tendencies simply will not allow this...
OK, then I understand. I'm a bit OCD myself, so I wouldn't be able to allow that myself.
Last edited by spacex (2015-03-24 12:48:11)
Regards,
spacex/ew
http://tweaklinux.org
Offline
Or keep xfce4-power-manager (and access it from a menu for configuration) and use a separate battery monitor for the systray?
this.
i've been using tidybattery on my arch laptop.
it's so fucking simple! i counted 55 lines of actual code.
it follows the current icon theme.
Offline
johnraff wrote:Or keep xfce4-power-manager (and access it from a menu for configuration) and use a separate battery monitor for the systray?
this.
i've been using tidybattery on my arch laptop.
it's so fucking simple! i counted 55 lines of actual code.
it follows the current icon theme.
I've installed tidybattery and I also get an "icon" which shows on mouse hover the needed data but this icon looks like a monitor/terminal and not like power/accu icon (did I something false)!?
Offline
i've been using tidybattery on my arch laptop.
it's so [redacted] simple! i counted 55 lines of actual code.
it follows the current icon theme.
Thank you for this -- very nice!
Offline
...
I've installed tidybattery and I also get an "icon" which shows on mouse hover the needed data but this icon looks like a monitor/terminal and not like power/accu icon(did I something false)!?
http://storage4.static.itmages.com/i/15/0324/s_1427229016_7335940_5dbf1b9eec.png
Looks like your icon theme might not have the icons named in the script. You could try a different icon theme or create your own to add to the theme you are using, assuming that is indeed the issue. What icon theme are you using?
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat