Catting the Battery level in gxmessages

Will do. Unless a newbie runs into a person as helpful as yourself, it’s hard to get a handle on this, even if one is willing to google over and over.

For instance:

s="battery: $batt1% + $batt2% $batt3\n\nuptime: $uptime\n\nweather: $weather"
echo -e $s | gxmessage -file -

I would’ve never figured that out, even though I had learned all the parts. I didn’t find any reference to such syntax use as in $batt3\n\nuptime:

I’m not complaining, it’s just that the sophistication+usage makes the less-than-average scripters dependent on the kindness of strangers.

All my scripts have been a product of Stone Soup, that children’s story where the newcomer is trying to make a soup out of water and a stone, and the better-off villagers begin to throw in vegetables and meat until the soup is suddenly a success.

Thanks again.

1 Like

Well then the links and man echo should help.

It’s all about searching, reading and having a go, trial and error, eventually you learn enough to help others. A bit of help doesn’t hurt though.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.