embed systray in rox-panel?

For discussions about programming, and for programming questions and advice


Moderator: Forum moderators

Post Reply
User avatar
mikewalsh
Moderator
Posts: 6347
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 875 times
Been thanked: 2071 times

Re: embed systray in rox-panel?

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

geo_c
Posts: 2943
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2271 times
Been thanked: 911 times

Re: embed systray in rox-panel?

Post 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.

geo_c
Old School Hipster, and Such

User avatar
MochiMoppel
Posts: 1294
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 22 times
Been thanked: 480 times

Re: embed systray in rox-panel?

Post 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

User avatar
Trapster
Posts: 201
Joined: Sat Aug 01, 2020 7:44 pm
Location: Texas
Has thanked: 1 time
Been thanked: 61 times

Re: embed systray in rox-panel?

Post by Trapster »

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

carry on..... :D

User avatar
rockedge
Site Admin
Posts: 6812
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2968 times
Been thanked: 2790 times
Contact:

Re: embed systray in rox-panel?

Post 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:

Attachments
X10_tray_toggle.tar.xz
unpack this file
(15.04 KiB) Downloaded 36 times
dogcat
Posts: 292
Joined: Fri Feb 18, 2022 11:14 pm
Has thanked: 97 times
Been thanked: 143 times

Re: embed systray in rox-panel?

Post by dogcat »

viewtopic.php?p=52778#p52778

May be useful, maybe not.

Μακάριοι οι καθαροί στην καρδιά * επειδή, θα δουν τον Θεό.

Post Reply

Return to “Programming”