LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-25-2016, 06:25 AM   #1
K-Wizzz
LQ Newbie
 
Registered: Jan 2014
Distribution: OpenBSD, Slackware
Posts: 16

Rep: Reputation: Disabled
-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.
Attached Thumbnails
Click image for larger version

Name:	xfce4-power-manager-no-battery-status.png
Views:	34
Size:	4.7 KB
ID:	22207   Click image for larger version

Name:	xfce4-power-manager-workaround.png
Views:	38
Size:	5.0 KB
ID:	22208   Click image for larger version

Name:	xfce4-power-manager-right-click.png
Views:	37
Size:	10.4 KB
ID:	22209   Click image for larger version

Name:	xfce4-power-manager-settings-devices.png
Views:	51
Size:	39.4 KB
ID:	22210   Click image for larger version

Name:	xfce4-power-manager-settings-general.png
Views:	37
Size:	46.0 KB
ID:	22211  

 
Old 06-25-2016, 07:00 AM   #2
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
I was unaware of this feature, but I previously used xfce4-battery-plugin without power-manager on 14.1 netbook and it worked fine.
Code:
A battery monitor panel plugin for Xfce4, compatible with APM and
ACPI, for Linux and *BSD.
 
Old 06-25-2016, 11:05 AM   #3
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Was this an upgrade?
 
Old 06-25-2016, 12:41 PM   #4
DarkVision
Member
 
Registered: Jul 2007
Posts: 199

Rep: Reputation: Disabled
Hm.... from the powermanager-plugin changelog:
Quote:
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.
 
Old 06-26-2016, 05:53 AM   #5
K-Wizzz
LQ Newbie
 
Registered: Jan 2014
Distribution: OpenBSD, Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by the3dfxdude View Post
Was this an upgrade?
My -current has been freshly installed around mid of December last year. Since then, I am following -current by upgrading to the latest packages.
 
Old 06-26-2016, 09:10 AM   #6
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
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
 
1 members found this post helpful.
Old 06-26-2016, 10:01 AM   #7
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by brobr View Post
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

Last edited by Gordie; 06-26-2016 at 10:17 AM.
 
Old 06-26-2016, 11:10 AM   #8
K-Wizzz
LQ Newbie
 
Registered: Jan 2014
Distribution: OpenBSD, Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by brobr View Post
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?
 
Old 06-26-2016, 11:34 AM   #9
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
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.

Last edited by brobr; 06-26-2016 at 11:37 AM.
 
Old 06-26-2016, 03:59 PM   #10
K-Wizzz
LQ Newbie
 
Registered: Jan 2014
Distribution: OpenBSD, Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by brobr View Post
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
Attached Thumbnails
Click image for larger version

Name:	fluxbox-xfpm-w-tray-icon.png
Views:	20
Size:	3.6 KB
ID:	22221   Click image for larger version

Name:	fluxbox-xfpm-wo-tray-icon.png
Views:	15
Size:	2.9 KB
ID:	22222  
 
Old 06-26-2016, 04:25 PM   #11
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Quote:
Originally Posted by K-Wizzz View Post
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
Code:
xfce4-panel --disable-wm-check &
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 14.2RC2 Update( Thu Jun 2 19:08:13 UTC 2016 ) -- Alll is Well ! kjhambrick Slackware 15 06-04-2016 06:38 AM
[SOLVED] Current - e2fsprogs Fri May 20 21:20:29 UTC 2016 and 64-bit fsck kjhambrick Slackware 3 05-22-2016 06:45 PM
Issues in -current as at Fri Aug 21 21:17:48 UTC 2015 allend Slackware 29 08-26-2015 09:49 PM
[SOLVED] xfce4-power-manager does not detect battery Janus_Hyperion Linux - Software 1 01-15-2013 10:14 PM
[SOLVED] xfce4-power-manager-1.0.1 and no battery options rmjohnso Slackware 3 10-18-2010 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration