dockapp in fluxbox slit

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

dockapp in fluxbox slit

Post by anttel »

Hi,
In Salix fluxbox 13.01 i want a light battery monitor placed in the slit. The WICD-client mixer and clipboard 'app' appear in the slit. It works well with xfce4-powermanager. Now I'm trying to get the wmacpi dockapp into the slit. When I put "wmacpi &" in the startup file of fluxbox wmacpi appears but not in the slit. I'ts in the right bottom corner of the screen. I need some help on this ''problem'', please,

best regards

anttel
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: dockapp in fluxbox slit

Post by thenktor »

It's not made for the systray. You can try these:
http://code.google.com/p/batti-gtk/
http://code.google.com/p/batterymon/
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: dockapp in fluxbox slit

Post by anttel »

Hi thenktor,
Thank you for your quick response. I took batterymon and when I start it via xterm it shows next to the wicd-client. But how do I make it start automatically during startup of fluxbox? I'm quit new to fluxbox..
Thanks a lot again!
Best regards,
anttel
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: dockapp in fluxbox slit

Post by thenktor »

Add it to the file "$HOME/.fluxbox/startup"
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: dockapp in fluxbox slit

Post by anttel »

Hi Thenktor,
Added it to the startup file:
[ -x /usr/bin/parcellite ] && parcellite &
[ -x /usr/bin/wicd-gtk ] && wicd-gtk &
[ -x /usr/bin/volti ] && volti &
[ -x /usr/bin/salix-update-notifier ] && salix-update-notifier &
[ -x /usr/bin/xscreensaver ] && xscreensaver -nosplash &
[ -x /home/anton/batterymon ] && batterymon.py &

But It doesn't show up in te system tray...
anttel
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: dockapp in fluxbox slit

Post by thenktor »

anttel wrote:[ -x /home/anton/batterymon ] && batterymon.py &
This won't work. Where is your batterymon executable? If it is really in your home dir it should be:

Code: Select all

[ -x /home/anton/batterymon.py ] && /home/anton/batterymon.py &
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: dockapp in fluxbox slit

Post by anttel »

It doesn't still show up in this way. Now I did the following:
1. created a executable 'batterymon.sh:
cd /home/anton/batterymon
./batterymon.py &
2. added ./batterymon.sh to the starup file

Now the batterymon shows up after login. But I get the feeling it isn't the most elegant way to get it done...
Thank you very much Thenktor with the help and is it an option to add a batterymonitor in the next release of Salixos?
anttel
2.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: dockapp in fluxbox slit

Post by thenktor »

OK, path was wrong in my last post. Correct one:

Code: Select all

[ -x /home/anton/batterymon/batterymon.py ] && /home/anton/batterymon/batterymon.py &
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: dockapp in fluxbox slit

Post by anttel »

I did put the correction in but still no batterymon...
anttel
Post Reply