Visual/sound notification while terminal output 01 October 2022, 12:33:00 Hello guys. I've started using terminal to launch my firefox. This is because when launching from terminal firefox seems to be using less system resources (ie. lightdm, xfce4 panel, xfce4 session etc) + i have the opportunity to see the output what errors/warnigs ff encounters while running. Saw firefox creates some warnings when hardening with apparmor but i'm interested in one particular output when some websites or some code on some websites triggers a different kind of warnings like they try to access cpu possible/available/. (possible hidden cryptominer suspect)My problem is that i wanna correlate the moment when this errors occur with what website i'm currently on that could be the cause of those warnings. Is there any way i can get a popup notification or a sound that can clear this out for me?PS: I have some other errors but are just benign. Another aspect is that some errors print a time frame when they occur but the others more suspicious no. Tnx for making the time to give this a shot if you have some ideas this also might help others that can have this kind of interest. , have an awesome weekend!
Re: Visual/sound notification while terminal output Reply #1 – 01 October 2022, 15:46:00 You could simply install espeak-ng and get it to read you the messages that are placed on the terminal, although it might be a bit verbose, so you could try and filter the output like the ls test example piping to grep first:Code: [Select]$ firefox | espeak$ ls | grep Documents | espeakThere are probably other ways to do this too.
Re: Visual/sound notification while terminal output Reply #2 – 01 October 2022, 16:32:21 Wow, that's exactly what i needed. Now i can narrow down potential causes of those errors so i can reproduce and see what really triggers them. Thank you @####### genius idea 💡