Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-10-20 18:33:12

Jamil
Member
Registered: 2025-10-20
Posts: 3
Windows 10Firefox 144.0

Two AI Generated Projects Failing Make

I am currently running Debian 13.1 with Xcfe 4.20 installed.  I also have all the following installed from the latest Debian apt install:

build-essential
xfce4-dev-tools
libxfce4panel-2.0-dev
libxfce4ui-2-dev
libgtk-3-dev
intltool
libtool

I am a licensed user of raidrivecli, and the command line utility is installed with the associated service running.  This command-line tool allows for monitoring the mount point that shows current status of activity (read, write and cache status currently).  The command that shows the status is:

raidrivecli monitor sftp

The output is text based, and looks as follows:

jamil@debian-vm:/mnt/sftp$ raidrivecli monitor sftp
                                                                                                   
  filename             process              size   read(cache)   write(cache)   download   upload  
───────────────────────────────────────────────────────────────────────────────────────────────────
  03-Grindlfeed.flac   flac(479911)   38,651,727    26,198,016              0          0        0  

The above is an example.  Each execution of the command-line above will return the current status.

What I would like to do it create a task bar applet under Xfce that shows this info during mouse over pop-up.  This seems simple enough, so I figured I could ask two different AI suites to create this as an Xfce4 project -- Google Gemini 2.5 Pro and Claude-Sonnet 4.5.  Both created complete project files with build instructions, but each one fails make.  I shared log output with Gemini to still encounter failure building.  I exhausted my allowed tokens (35,000) with Gemini, and it will no longer co-operate with me.  I decided to try Claude-Sonnet, and it too is failing make.  It offered suggestions, but even after following its suggestions, I still have failures.

Is there perhaps an example available that I can migrate code to accomplish what I am looking for?

Offline

#2 2025-10-20 19:27:18

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,315
LinuxFirefox 144.0

Re: Two AI Generated Projects Failing Make

Hello and welcome.

Why not just use the xfce4-genmon plugin? It's purpose is to cyclically run a script and display its output on the panel. For your example, you could include the output in the tooltip (along with either text or an image on the panel itself as a visual indicator).

A sample genmon script might look like this:

#!/bin/bash

OUTPUT=$(raidrivecli monitor sftp)
IMAGE="/home/toz/Development/RaiDrive.png"

echo "<img>$IMAGE</img>"
echo "<tool><tt>$OUTPUT</tt></tool>"

Set the genmon properties to:

  • command = path to this script

  • label = unchecked

  • period = time between refresh cycles (re-runs of the script)

Note: image file located here.

Edit: Here is what it would look like:
Rai-Drive2.png

Last edited by ToZ (2025-10-20 19:36:46)


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-10-20 19:31:55

Jamil
Member
Registered: 2025-10-20
Posts: 3
Windows 10Firefox 144.0

Re: Two AI Generated Projects Failing Make

Thanks so much, and I will give this a shot.  I was hoping this was easier than what I was facing.  I appreciate your assistance.

Offline

#4 2025-10-20 19:37:34

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,315
LinuxFirefox 144.0

Re: Two AI Generated Projects Failing Make

No worries - I made some changes to the code in the previous post - make sure you're using the updated code.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2025-10-23 16:18:21

Jamil
Member
Registered: 2025-10-20
Posts: 3
Windows 10Firefox 144.0

Re: Two AI Generated Projects Failing Make

The xfce4-genmon plugin works perfectly.  I reduced the icon to 32x32 pixels for best display.  I also configured it to execute the script every two seconds.  This gives provides a good trade-off and allows for near instant updates.

Thanks again!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 564.34 KiB (Peak: 565.18 KiB) ]