embed systray in rox-panel?
Back in the day, Jemima built a 32bit binary which accomplished this. Wondering if anyone knows a way via shell script to embed, for example, stalonetray into rox-panel.
df
Discussion, talk and tips
https://forum.puppylinux.com/
Back in the day, Jemima built a 32bit binary which accomplished this. Wondering if anyone knows a way via shell script to embed, for example, stalonetray into rox-panel.
df
@Dry Falls :-
Umm.....'kayyy. Can you elaborate?
Like, refresh my memory, please! What IS a ROX-panel? Am I right in thinking that's what ROX uses to create the 'panel' at the bottom of my desktop?
And, um....."systray"? You mean the "notification area", yes? Or something else?
Mike.
Hi Mike.
You're right on all counts. Every ROX-Filer has the ability to display a panel regardless of the WM or DE running. Details are in the help files accessable in a rox window or from a terminal,
Code: Select all
/usr/local/apps/ROX-Filer/ROX-Filer --help
system tray is old-speak for notification area.
I've lost the link to Jemima's work in the murga forum. Hard to find in a search 'cause there're about a gazillion things she was responsible for in the old vintage puppies. I still use her network auto-connect scripts (she also gave us frisbee).
Stalone tray is a highly configurable stand-alone system tray but there are others. I'd like to embed it into rox-panel. I know it can be done 'cause she did it. It will take someone pretty familiar with rox to do this. Not sure but Battleshooter may have used it in Carolina (the fork of Jemima's Saluki). Alas, she is also no longer present on the forum.
df
mikewalsh wrote: Mon Jun 17, 2024 9:10 pm@Dry Falls :-
Umm.....'kayyy. Can you elaborate?
Like, refresh my memory, please! What IS a ROX-panel? Am I right in thinking that's what ROX uses to create the 'panel' at the bottom of my desktop?
And, um....."systray"? You mean the "notification area", yes? Or something else?
Mike.
A rox panel is very handy and I use them in F96 as a vertical panel. I create, start, and toggle them on/off with this script someone on the forum provided, and sorry I can't remember who anymore:
Code: Select all
#!/bin/sh
f=/tmp/flag
if test -f $f
then
rox -r=
rm -f $f
else
rox -r charm
touch $f
fi
And you can populate the panel by dragging items from a rox browser window. I just fired one up in KLV-spectr to see if would run, because I have rox installed. It worked great! But I didn't thoroughly test it. I think I will now. I used them in KLV-Spectrwm way back in the early stages before @Sofiya did such a nice job adding the polybar to it. Now it's about my favorite OS of all of them.
Dry Falls wrote: Mon Jun 17, 2024 10:09 pmI've lost the link to Jemima's work in the murga forum. Hard to find in a search 'cause there're about a gazillion things she was responsible for in the old vintage puppies.
Maybe this one?
See also section "Panel applets" in chapter 7 of the ROX-Filer User Manual
Wow, I was the first to comment in the thread that MochiMoppel linked to.....almost 15 yrs ago!!!!
carry on.....
So I found out how Jemimah did it and that solution is not doable in this day and age. The source directory in ROX-Clib contains the systemtray.c and systemtray.h and is meant to compile but this package hasn't been maintained in a decade ... old gcc and python2.6 (via ROX-Lib2) takes care of the embedding after a rox-applet has been constructed. Lots of good help files in the clib package but I've yet to be able to create a functional rox-applet to run anything in the panel. Obviously, patching the source would be the correct choice, but this would be a gargantuan effort and well beyond my capabilities.
Without someone like Woodenshoe who's done this sort of thing before (and it would be way too much to ask!), I think I'll let this thread get burried and go on to something simpler.
df
@Dry Falls Thinking about this and suddenly and idea
A member (who quit the forum) wrote C program examples that put things onto a system tray and panels. It's only examples but I did take and modify the code to toggle X10 devices on and off and indicate the state. I use it on the very latest KLV-Airedale's and it works on F96-CE_4 to put the icon on the XFCE4 and JWM tray.
Let me dig out the examples.....they need to be compiled and is in C coding. Track down the topic and posts describing it.
Found one example I modified but it is close to the demo, slightly altered to toggle an X10 module via a USB transceiver:
May be useful, maybe not.