Starting App in Toolbox/Systemtray

Scott <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <20071021003706.GA6585@localhost>
Hi,

I've recently been looking at Xpad (on sourceforge; don't have link
handy by). Wondering how to start it in the toolbar.

>From the xpad man:

	-H, --hide-old
		Hides preexisting  pads on  startup.  All pads  will be
		hidden, so unless the tray  icon is present or you also
		specify --new, xpad will exit immediately.

Running xpad -H after fluxbox is running, the little note-pad icon
appears on the system tray.

However, I have tried as follows:

a. In the startup file:

# Run fluxbox in the background, saving its pid:
/usr/local/bin/fluxbox & wmpid=$!
# Then start the programs
xscreensaver -nosplash &
gkrellm -w &
# Xpad still doesn't show up in the toolbar. But if you run it
# during the fluxbox session, it does.
# Let's try waiting a little bit before firing it up
wait 2
# Nope, that doesn't work either....
xpad -H &
# And set up a "wait-point"
wait $wmpid

b. In apps:

[startup] {xpad -H}

c. In /etc/X11/xinit.d/xpad:

#!/bin/sh
DESKTOP=$1
case $DESKTOP in
   GNOME|IceWM|Fluxbox|XFce4) exec /usr/local/bin/xpad -H ;;
esac

(This was patterned directly after the net_applet script there, which
does result in that applet being put onto the toolbar)

None of these show any effect, although interestingly after installing
the xinit.d script, a subsequent run of xpad -H puts the icon to the
*right* of the net_applet, whereas before it was to the left....!

I am running fluxbox 1.0.0 on Mandrivel 2007. Obviously, I don't know
what I am doing, so any help would be appreciated!

TIA,

Scott Swanson

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.