Page 1 of 1

embed systray in rox-panel?

Posted: Mon Jun 17, 2024 7:41 pm
by Dry Falls

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


Re: embed systray in rox-panel?

Posted: Mon Jun 17, 2024 9:10 pm
by mikewalsh

@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. ;)


Re: embed systray in rox-panel?

Posted: Mon Jun 17, 2024 10:09 pm
by Dry Falls

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


Re: embed systray in rox-panel?

Posted: Tue Jun 18, 2024 12:50 am
by geo_c
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.


Re: embed systray in rox-panel?

Posted: Tue Jun 18, 2024 1:51 am
by MochiMoppel
Dry Falls wrote: Mon Jun 17, 2024 10:09 pm

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.

Maybe this one?

See also section "Panel applets" in chapter 7 of the ROX-Filer User Manual


Re: embed systray in rox-panel?

Posted: Tue Jun 18, 2024 12:18 pm
by Trapster

Wow, I was the first to comment in the thread that MochiMoppel linked to.....almost 15 yrs ago!!!!

carry on..... :D


Re: embed systray in rox-panel?

Posted: Fri Jun 21, 2024 5:34 am
by Dry Falls

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


Re: embed systray in rox-panel?

Posted: Fri Jun 21, 2024 4:31 pm
by rockedge

@Dry Falls Thinking about this and suddenly and idea Image

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:


Re: embed systray in rox-panel?

Posted: Tue Jun 25, 2024 3:01 am
by dogcat

viewtopic.php?p=52778#p52778

May be useful, maybe not.