Post AwMMBNqIri4IMFNH7I by gerowen@mastodon.social
(DIR) More posts by gerowen@mastodon.social
(DIR) Post #AwMMBIIRUB0n9mUf8y by gerowen@mastodon.social
2025-07-20T22:40:35Z
1 likes, 0 repeats
Tired of my phone being the only "easy" way to check the status of my server's UPS, so I'm gonna write my own #BASH script to give me a GUI of sorts with important information.#Linux
(DIR) Post #AwMMBNkzBToa5kt1pQ by gerowen@mastodon.social
2025-07-21T03:34:27Z
0 likes, 0 repeats
Have added the option to view the last few lines of the log.
(DIR) Post #AwMMBNkzBToa5kt1pR by gerowen@mastodon.social
2025-07-21T02:50:26Z
0 likes, 0 repeats
#TodayILearned that you can use some very basic HTML to customize the text in zenity windows on #Linux.#TIL
(DIR) Post #AwMMBNkzBToa5kt1pS by gerowen@mastodon.social
2025-07-20T23:02:32Z
0 likes, 0 repeats
Got the input mostly cleaned up. Gonna finish cleanup and see if I can't align it the way I want so it all looks easy to read in the window.
(DIR) Post #AwMMBNqIri4IMFNH7I by gerowen@mastodon.social
2025-07-20T23:49:05Z
0 likes, 0 repeats
Got most of the cleanup finished. May see if I can add colored text or something (does Zenity support that?) later, but for now I've got something functional I can double click and quickly get useful information.Thew it up on Gitlab as a snippet if anybody is interested.Link: https://gitlab.com/-/snippets/4873788
(DIR) Post #AwMMBSmaUx4DgAfsWG by gerowen@mastodon.social
2025-07-21T04:28:58Z
0 likes, 0 repeats
I've modified it to ask for a target server and save that to a hidden config file (~/.apcz.conf) and then read from that for all future runs. Added some error checking around this to give useful feedback in the event of a problem too.Link: https://gitlab.com/-/snippets/4873788