Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-11-14 21:59:40

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Battery indicator applet

Hi all, I'm searching for a battery indicator applet for XFCE4. I tried xfce4-battery-plugin but I think the battery icon is horrible. I liked the gnome one, is there something like the gnome battery indicator for xfce?

Thanks!

Offline

#2 2013-11-15 01:48:48

ToZ
Member
Registered: 2011-06-02
Posts: 737

Re: Battery indicator applet

Have you tried changing the icon theme? Which icon theme are you using?

Offline

#3 2013-11-15 08:32:10

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Re: Battery indicator applet

Hi ToZ, thanks for the reply!

I'm using the Ubuntu-Mono-dark icon theme. I searched the web and i found the XFCE Power Manager, which has its own indicator for the top bar. It's like the one i had on gnome and I like it, but I'm having trouble installing it.

It asked for some dependencies, I installed them and run the autogen.sh file, it says that everything worked and that I should now make. Now I'm getting this error:

harlandraka@K55VM:~/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager$ sudo make
make  all-recursive
make[1]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager"
Making all in data
make[2]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data"
Making all in icons
make[3]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons"
Making all in 16x16
make[4]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/16x16"
Making all in actions
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/16x16/actions"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/16x16/actions"
Making all in status
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/16x16/status"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/16x16/status"
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/16x16"
make[5]: No operation to execute for "all-am".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/16x16"
make[4]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/16x16"
Making all in 22x22
make[4]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/22x22"
Making all in actions
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/22x22/actions"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/22x22/actions"
Making all in status
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/22x22/status"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/22x22/status"
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/22x22"
make[5]: No operation to execute for "all-am".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/22x22"
make[4]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/22x22"
Making all in 24x24
make[4]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/24x24"
Making all in actions
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/24x24/actions"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/24x24/actions"
Making all in status
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/24x24/status"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/24x24/status"
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/24x24"
make[5]: No operation to execute for "all-am".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/24x24"
make[4]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/24x24"
Making all in 48x48
make[4]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/48x48"
Making all in actions
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/48x48/actions"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/48x48/actions"
Making all in status
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/48x48/status"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/48x48/status"
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/48x48"
make[5]: No operation to execute for "all-am".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/48x48"
make[4]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/48x48"
Making all in 128x128
make[4]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/128x128"
Making all in devices
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/128x128/devices"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/128x128/devices"
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/128x128"
make[5]: No operation to execute for "all-am".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/128x128"
make[4]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/128x128"
Making all in scalable
make[4]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/scalable"
Making all in actions
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/scalable/actions"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/scalable/actions"
Making all in status
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/scalable/status"
make[5]: No operation to execute for "all".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/scalable/status"
make[5]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/scalable"
make[5]: No operation to execute for "all-am".
make[5]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/scalable"
make[4]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons/scalable"
make[4]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons"
make[4]: No operation to execute for "all-am".
make[4]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons"
make[3]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/icons"
Making all in interfaces
make[3]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/interfaces"
make  all-am
make[4]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/interfaces"
make[4]: No operation to execute for "all-am".
make[4]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/interfaces"
make[3]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data/interfaces"
make[3]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data"
make[3]: No operation to execute for "all-am".
make[3]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data"
make[2]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/data"
Making all in libdbus
make[2]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/libdbus"
make  all-am
make[3]: entering directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/libdbus"
  CC       libxfpmdbus_la-xfpm-dbus.lo
mv: unable to execute stat for ".deps/libxfpmdbus_la-xfpm-dbus.Tpo": Missing file or directory
make[3]: *** [libxfpmdbus_la-xfpm-dbus.lo] Error 1
make[3]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/libdbus"
make[2]: *** [all] Error 2
make[2]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager/libdbus"
make[1]: *** [all-recursive] Error 1
make[1]: exiting directory "/home/harlandraka/Downloads/xfce4-power-manager-0.8.5/xfce4-power-manager"
make: *** [all] Error 2

How can I solve it and install the XFCE Power Manager?

Offline

#4 2013-11-15 11:28:56

ToZ
Member
Registered: 2011-06-02
Posts: 737

Re: Battery indicator applet

There is no need to build xfce4-power-manager from source, your distro should have it in its repositories. Which distro are you using?

Have you tried changing the icon theme and does it bring in a more acceptable battery icon?

Offline

#5 2013-11-15 11:38:34

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Re: Battery indicator applet

I tried installing xfce4-power-manager with

sudo apt-get install xfce4-power-manager

It installed correctly, but I don't see the battery icon. If it matters, when I try opening xfce4-power-manager-settings it comes up with an error message:

Could not connect to the XFCE power manager

Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken

What should I do?

Offline

#6 2013-11-15 14:30:27

ToZ
Member
Registered: 2011-06-02
Posts: 737

Re: Battery indicator applet

Try running xfce4-power-manager first:

xfce4-power-manager

However, keep in mind that it may interfere with which-ever power manager you may be currently using (depending on the desktop-environment you are using).

So...which distro are you using? Which desktop environment? It might be easier just to change the icon theme to get the icon that you want (or replace the existing icons in the icon theme).

Offline

#7 2013-11-15 14:38:19

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Re: Battery indicator applet

If I execute that command I see no output on the terminal. Then running the power manager settings it shows a popup that says that the power manager is not running. It seems I can't enable it..
I have Ubuntu 11.10 x64 with XFCE (i hate unity, and XFCE is lighter than gnome)

Offline

#8 2013-11-15 20:08:59

ToZ
Member
Registered: 2011-06-02
Posts: 737

Re: Battery indicator applet

I have Ubuntu 11.10 x64 with XFCE

If you've installed Xfce into Ubuntu 11.10, then on the login screen, select the "Xfce session" before logging in. This will load all of the Xfce components including the power manager. Once logged in, you can confirm whether it is running or not via:

ps -ef | grep power-manager | grep -v grep

(i hate unity, and XFCE is lighter than gnome)

Also note that Xubuntu is an official derivative of Ubuntu that runs the Xfce as the default DE (read: no unity).

Offline

#9 2013-11-15 21:18:54

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Re: Battery indicator applet

Ok I got it working

Also note that Xubuntu is an official derivative of Ubuntu that runs the Xfce as the default DE (read: no unity).

I know, but when I installed ubuntu I didn't know Xubuntu, and I would like to use XFCE without having to format the linux partition and install xubuntu smile


There is another problem: I see the battery tray icon and it works, but it has a weird top offset, i see half battery because it is not vertically centered on the bar, is there a way to solve this?

Offline

#10 2013-11-16 05:17:32

ToZ
Member
Registered: 2011-06-02
Posts: 737

Re: Battery indicator applet

Could you post back a screenshot?

Offline

#11 2013-11-16 11:03:11

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Re: Battery indicator applet

Sure:

image2993.png

Offline

#12 2013-11-16 13:31:28

ToZ
Member
Registered: 2011-06-02
Posts: 737

Re: Battery indicator applet

Try changing your icon theme to see if changes. Also, go to the Notification plugin properties and look at some of the options there including:
- maximum icon size
- show frame
...see if changing those helps.

Offline

#13 2013-11-16 15:27:28

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Re: Battery indicator applet

Maximum icon size is set to 24, I tried increasing or decreasing it but the problem still remains.
With the "show frame" enabled nothing changes.

Do you have other suggestions?

Offline

#14 2013-11-16 16:49:47

ToZ
Member
Registered: 2011-06-02
Posts: 737

Re: Battery indicator applet

What are the "Row Size" and "Number of Rows" settings of your panel?

I installed the Ubuntu-mono-dark icons and they seem to work ok (I don't get that cut off that you're getting). If I continually toggle the "Show frame" checkbox, I get some wierd behaviour with the icon in that it occasionally in that it gets cut off vertically, not horizontally. I also notice that ubuntu-mono-dark depends on the Humanity icon theme, do you have that one installed?

And finally, if you change the icon theme, do you get the same behaviour?

Offline

#15 2013-11-16 17:35:09

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Re: Battery indicator applet

Row size is 24 and number of rows is 1.

If I try increasing the number of rows I get that:

battery2.png battery3.png battery4.png

As you can see, the battery always have a weird top offset.

I installed the Ubuntu-mono-dark icons and they seem to work ok (I don't get that cut off that you're getting). If I continually toggle the "Show frame" checkbox, I get some wierd behaviour with the icon in that it occasionally in that it gets cut off vertically, not horizontally.

Even continuing toggling the "show frame" option,  see no changes.

I also notice that ubuntu-mono-dark depends on the Humanity icon theme, do you have that one installed?

Yes I have both Humanity and Humanity-dark.

And finally, if you change the icon theme, do you get the same behaviour?

Yes I do, unless the battery icon is the vertical one instead of the horizontal one. In that case the icon is centered vertically.

Offline

#16 2013-11-16 17:56:02

ToZ
Member
Registered: 2011-06-02
Posts: 737

Re: Battery indicator applet

Interesting that I can't replicate this (on Xubuntu 13.10 or Arch), leads me to think that it might be some sort of config issue. Do you have any, or did you place any gtk hacks in ~/.gtkrc-2.0 or /etc/gtk-2.0/gtkrc that may be affecting this?

If you log in with another account, does this issue present itself there as well?

Offline

#17 2013-11-16 17:59:19

harlandraka
Member
Registered: 2013-11-14
Posts: 12

Re: Battery indicator applet

I did edit the gtkrc of the theme I'm using, I just changed the panel's default font color, but it had that behaviour also with the original gtkrc file.. I don't have other accounts, but if I log into the guest session the battery still has that top offset

Offline

Board footer

Powered by FluxBB