Please support VectorLinux!

Author Topic: fluxbox system tray  (Read 4983 times)

overthere

  • Vectorian
  • ****
  • Posts: 1311
fluxbox system tray
« on: December 10, 2012, 11:21:52 am »
Discovered that fluxbox has a system tray in the toolbar
 added wicd by adding "wicd-client &" to the fluxbox startup file. this appears to have awakened the tray and now osmo also appears there.  any one else used this feature?

Everything Is Relative

nitehawk

  • Vectorite
  • ***
  • Posts: 155
  • Just me.
Re: fluxbox system tray
« Reply #1 on: December 10, 2012, 01:23:33 pm »
That's interesting,....I wonder if anything else will "awaken" it?   I've only been using XFCE ...but I'll be using Vector on my older PIII as well,..and I had intended to use Fluxbox with that install.   When I get more time,...(from the holiday frenzy stuff) I'll sit down and explore Vector/Fluxbox.

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: fluxbox system tray
« Reply #2 on: December 10, 2012, 04:16:55 pm »
Discovered that fluxbox has a system tray in the toolbar
 added wicd by adding "wicd-client &" to the fluxbox startup file. this appears to have awakened the tray and now osmo also appears there.  any one else used this feature?



do u mean the startup script? below is my fluxbox's startup script :P

Quote
#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.

# Change your keymap:
xmodmap "~/.Xmodmap"

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
/usr/bin/gnome-keyring-daemon --start --components=pkcs11 &
/usr/libexec/gdu-notification-daemon &
/usr/bin/gnome-keyring-daemon --start --components=gpg &
gsettings-data-convert &
/usr/libexec/polkit-gnome-authentication-agent-1 &
system-config-printer-applet &
/usr/bin/gnome-keyring-daemon --start --components=secrets &
/usr/bin/VBoxClient-all &
/usr/bin/gnome-keyring-daemon --start --components=ssh &
wicd-gtk &

# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.

exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log "~/.fluxbox/log"

Pita

  • Vectorian
  • ****
  • Posts: 1323
Re: fluxbox system tray
« Reply #3 on: December 10, 2012, 05:06:56 pm »
Yes, I have been using this feature for some time like parcellite, wicd, volume control, notes, update-notifier, others as may be.

overthere

  • Vectorian
  • ****
  • Posts: 1311
Re: fluxbox system tray
« Reply #4 on: December 11, 2012, 08:55:03 am »
lol..Right, Well I feel stupid, but whats new.

@ hata_ph... Yes.. the "script". would like to understand this, perhaps I have it wrong?

Quote
/usr/bin/gnome-keyring-daemon --start --components=ssh &
wicd-gtk &

@pita.. how did you get the volume?
Everything Is Relative

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: fluxbox system tray
« Reply #5 on: December 11, 2012, 04:36:39 pm »
overthere,

As far as i understand fluxbox does not use /etc/xdg/autostart...so I have to manually add all the scripts under /etc/xdg/autostart to the fluxbox startup script...

overthere

  • Vectorian
  • ****
  • Posts: 1311
Re: fluxbox system tray
« Reply #6 on: December 12, 2012, 11:15:22 am »
Thanks
Everything Is Relative

Pita

  • Vectorian
  • ****
  • Posts: 1323
Re: fluxbox system tray
« Reply #7 on: December 12, 2012, 07:31:53 pm »

@pita.. how did you get the volume?

I use volti.  Controls audio volume from system tray/notification area.

http://linux.softpedia.com/get/Utilities/volti-53634.shtml

There is as well a volti-*.gz in slackware.org
« Last Edit: December 12, 2012, 07:38:24 pm by Pita »

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: fluxbox system tray
« Reply #8 on: December 12, 2012, 07:35:27 pm »
Pita,

show us your fluxbox config pls :P

btw, building volti for VL7 and it should be in the testing repo soon :)
« Last Edit: December 12, 2012, 08:01:40 pm by hata_ph »

overthere

  • Vectorian
  • ****
  • Posts: 1311
Re: fluxbox system tray
« Reply #9 on: December 12, 2012, 10:33:18 pm »
Thanks Pita, volti appears to have similar functionality to the wmix. I prefer wmix in this configuration but like the idea of a volume in the system tray for other set ups and will give it a try from the repository as hata_ph will be adding it I think, thanks hata_ph.
cheers
« Last Edit: December 12, 2012, 10:35:28 pm by overthere »
Everything Is Relative

Pita

  • Vectorian
  • ****
  • Posts: 1323
Re: fluxbox system tray
« Reply #10 on: December 12, 2012, 11:56:57 pm »
Code: [Select]
#!/bin/sh
#
# fluxbox startup-script:

# Change your keymap:
# xmodmap "~/.Xmodmap"

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
xfce4-notes &
wicd-gt &
xscreensaver -nosplash &
# fbsetbg -l
xfce4-clipman &
voti &

xclock -update 1 -g +715+0 -bg lightyellow&
asmon -su &
wmCalClock -24 -g -S &
gkrellm &

xfce4-panel &
#fbpanel &
# 0launch -- http://www.kerofin.demon.co.uk/2005/interfaces/NetStat &
#setxkbmap us &

# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.

exec fluxbox

Sometimes one of those in the fluxbox panel end up in the xfce4-panel on their own, however, never on both.
I am in VLocity right now where asmon and wmCalClock will not run. Olaunch I have not tried.