-current [Fri Jun 24 23:37:19 UTC 2016]: xfce4-power-manager does not display battery level
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
-current [Fri Jun 24 23:37:19 UTC 2016]: xfce4-power-manager does not display battery level
There seems to be a change in behaviour of xfce4-power-manager from 14.1 to current.
In 14.1, xfce4-power-manager was showing an icon reflecting the battery status. In -current, there is just a simple power cable symbol irrespective of power supply is plugged in or not, while xfce4-power-manager shows battery status in its settings dialogue.
See attached pictures "xfc4-power-manager-no-battery-status", "xfce4-power-manager-right-click", "xfce4-power-manager-settings-*".
While I can work around this in Xfce by adding yet another icon (see xfce4-power-manager-workaround"), I am in trouble on another window manager (e.g. fluxbox).
Is this a bug or new feature? Or does it require additional configuration? Running plain slackware-current as of Fri Jun 24 23:37:19 UTC 2016, no further software installed.
commit 041f110b875ad854b3792d1a101d87c0ac271ad1
Author: Eric Koegel <eric.koegel@gmail.com>
Date: Sun Feb 22 13:32:34 2015 +0300
Bring back the tray icon (Bug #11054)
This patch uses the PowerManagerButton to implement the tray icon.
It doesn't do the show when (dis)charging stuff since it will
display different battery types now, however that can be added
back if desired.
Could it be that this feature is no longer supported ?
BTW: Thx to elcore. I didn't know that the battery-plugin is alive again. Have not tested it but will do so shortly.
Last edited by DarkVision; 06-25-2016 at 12:43 PM.
I am on current as well but do not have this wrong-icon problem. Do you perhaps have the 'Show system tray icon' ticked in the section 'appearance' of the 'general' tab of the 'preferences'-dialog for the power-manager-applet? When set, that shows one icon and does not change to the battery you expect when unplugging from the mains. This is unset in my case...
HTH
I am on current as well but do not have this wrong-icon problem. Do you perhaps have the 'Show system tray icon' ticked in the section 'appearance' of the 'general' tab of the 'preferences'-dialog for the power-manager-applet? When set, that shows one icon and does not change to the battery you expect when unplugging from the mains. This is unset in my case...
HTH
Rob
I was curious since I also don't have that problem when in XFCE so I tried checking / unchecking and pulling / inserting the charger to find there was no effect at all
I am on current as well but do not have this wrong-icon problem. Do you perhaps have the 'Show system tray icon' ticked in the section 'appearance' of the 'general' tab of the 'preferences'-dialog for the power-manager-applet? When set, that shows one icon and does not change to the battery you expect when unplugging from the mains. This is unset in my case...
HTH
Rob
Yup, 'Show system tray icon' is ticked. In 14.1, xfpm (xfce4-power-manager) does display the battery status w/o requiring an additional app like power manager plugin. In -current, xfpm only displays one static icon.
This causes troubles with window managers like fluxbox: in 14.1, only xfpm was required to take care of power management and displaying battery status. What would be your suggestion for this scenario in -current?
I would suggest to untick that box on the xfce power-manager and see how that pans out on fluxbox. On Xfce the plugin-icon behaves as expected and you can do without the systray one. I dunno whether on fluxbox you can use the plugin (and can do without the systray). If you can only work with the systray on fluxbox this icon-issue might be an aspect that need an upstream change/patch; hard to tell whether this is specific for Slackware.
I would suggest to untick that box on the xfce power-manager and see how that pans out on fluxbox. On Xfce the plugin-icon behaves as expected and you can do without the systray one. I dunno whether on fluxbox you can use the plugin (and can do without the systray). If you can only work with the systray on fluxbox this icon-issue might be an aspect that need an upstream change/patch; hard to tell whether this is specific for Slackware.
Fluxbox's toolbar/tray displays xfpm icon, if 'Show system tray icon' is checked, otherwise it does not (see screenshots).
To summarize:
between 14.1 and -current, the representation of xfpm did change from displaying the current battery status to just a static icon
on Xfce, there is the workaround of hiding xfpm's featureless icon by unchecking 'Show system tray icon' and adding another app (power-manager-plugin) to the taskbar
on other window managers, like fluxbox, that could use xfpm's functionality, especially the changing icons to display the battery and charging status in 14.1, this is not possible anymore with -current's version of xfpm
This causes troubles with window managers like fluxbox: in 14.1, only xfpm was required to take care of power management and displaying battery status. What would be your suggestion for this scenario in -current?
As a temporary fix I'd suggest xfce4-panel in fluxbox session instead of toolbox, so that you can use the workaround you've mentioned.
Is a bit heavy, but has more features, and it can look like flux toolbox if you configure it that way.
There's a wm check, but works with any wm, I just add into ~/.fluxbox/startup
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.