Do you have any experience with `ncruces/zenity`, the Go implementation of Gnome Zenity? I'd like to experiment with a passive activity tracker for work, and Zenity seems to be a good fit.

I'll probably just build a prototype later on.

#golang #go #freesoftware #zenity

#Truc : #Zim permet de définir des outils personnalisés pour lancer depuis un menu à peu près tout ce qu'on veut.

S'il s'agit de lancer un script donc l'exécution dure plusieurs secondes, on peut utiliser #zenity pour ajouter une petite notification graphique d'attente :

(ma_tache) | zenity \
--progress \
--auto-close \
--no-cancel \
--title="Mon titre" \
--text="Le nom de ma tache" \
--pulsate

#bash #code

I have the following code in a #Bash script:

```
zenity_error() {
read error_message
zenity --error --text="$error_message"
}

mkdir /root/test_dir 2>&1 | zenity_error
```

It works to show any error messages in a #Zenity popup.

But is there a way I can do this automatically for *all* errors in the script, without having to manually add `2>&1 | zenity_error` to the end of each command?

#coding #programming #linux

AI 에이전트의 새로운 취약점: 구조화된 데이터로 AI를 조종하는 DSI 공격

AI 에이전트의 새로운 보안 위협 DSI(Data-Structure Injection)를 소개합니다. JSON, XML 같은 구조화된 데이터로 AI를 조종하는 공격 방식과 실제 랜섬웨어 생성 사례를 다룹니다.

https://aisparkup.com/posts/6464

Warnung bei voller Platte

Mit einem Shell-Skript könnt ihr die Belegung von Massenspeichern überwachen und euch warnen lassen, bevor diese zu voll werden.

#Massenspeicher #Plattenplatz #Skript #Benachrichtigung #Zenity #Linux

https://gnulinux.ch/warnung-bei-voller-platte

Warnung bei voller Platte

Mit einem Shell-Skript könnt ihr die Belegung von Massenspeichern überwachen und euch warnen lassen, bevor diese zu voll werden.

GNU/Linux.ch

Tip #Gnome #Zenity :

La documentation sur les internets ne semble pas à jour (et ne l'a peut-être jamais été).

Pour avoir la liste des fonctionnalités de Zenity, mieux vaut passer par l'aide en ligne de commande.

Exemple pour savoir ce qu'on peut mettre dans un formulaire :

zenity --help-forms

Zenity est un petit outil qui permet de faire des écrans très simples pour ses scripts #bash

https://help.gnome.org/users/zenity/stable/

#code #linux

Zenity Manual

#nixos boot error #gnome pop-up using #zenity that warns of boot errors, unless the error has already been classified by you as harmless the last time it appeared in the pop-up,
see #flake #module https://codeberg.org/adingbatponder/reticulum_nixos_flake/src/branch/main/modules/boot-error-notifications.nix
The errors are manually checked with #AI eg Claude before classifying them as irrelevant with a radio button & hiding them henceforth from appearing. If no boot errors, no pop-up. This #nixosaiflakehack was iteratively assisted by #claude . Spot bugs early when #tweakingflakes.

I think I've pretty well done everything I want to do it, for now at least. Goal accomplished; a mostly point and click option for desktop #Linux to get information about my server's UPS.

I may see about turning this into a simple .deb package later so you can get a shortcut in your apps menu, but the script itself is, I think, basically finished. I accomplished what I set out to do.

#Zenity #HomeLab #Tech

SIGWOCHENENDE received.

Das HTML-Issue mit #Zenity - also, der Niemand zu sein, der das kurzerhand rausgeschmissene Feature nutzt - hat mich über Gebühr runtergezogen. Ich habe dann als Arbeitsthese die HTML-Generierung mit Pandoc aus Markdown auf Zielformat TXT umgestellt, das war ganz ulkig und macht's einstweilen etwas okayer. 🙏

"if we get bug reports we can consider other options" is such an incredibly flawed train of thought by someone who obviously uses Debian Testing as a rolling release. The bulk of reports will roll in after stable release when the introduction of other options will have to wait for literal *years*. #Debian #Trixie #Zenity