I’m trying to make a Pipe menu which I’ve successfully done before, but it’s not working this time.
The script IS being run by the Piperead command as I can put a plain echo “AddToMenu blabla…” into the script and have it show up in the menu. I’ve decided awk must output things differently to an echo and fvwm can’t read them the same way.
I’ve been scratching my head about this for 2 days now.
I don’t have a ~/.xsession-errors, where else would FVWM log its errors?
I realised I could switch to tty1 and see errors there. I got it working.
The problem was the serverlist file not being found. It worked in terminal because I would cd into the directory containing qstat2.sh and serverlist to run the script.
The double dollar signs didn’t do any good.
Thanks for your help.
EDIT: I got it working directly in the Piperead too.