Ubuntu and UPS…

No, I am not talking about the delivery kind

With an existing PROLiNK 902S 2000VA online UPS providing clean power to my (aging) desktop, I thought it time to finally get a proper UPS for my NAS instead of the old, line-interactive PROLiNK PRO1200SVU that already had to have its dying battery replaced once.

Fortunately, I managed to get a PROLiNK 903S 3000VA unit.

Like the 902S and my desktop, the 903S has its USB cable plugged directly into a/the computer, in the hope of using the provided ViewPower software to monitor the UPS and cleanly and safely shutdown the host should power interruptions occur.

Unfortunately, installation was not at all simple, particularly not since the user manual has no mention of installing the software on Linux (even if the software is “compatible” with Linux, being Java-based).

Googling did not help much, with most/all the returned pages referencing the use of NUTS instead of the intended/provided ViewPower, not to mention needing to “hack” your own “configuration file”, with no guarantee that the runtime calculations are correct.

After much fumbling around, searching and testing, I managed to get it to work…

Continue reading

Windows Refusing to “Open With” Using Notepad++ Portable…

So, fed-up with an outdated, “sanctified” version of Notepad++ “published” by the IT team at my workplace on my work laptop, I uninstalled the published version, grabbed a copy of the portable version (choose the appropriate .zip or .7z package) and proceeded to live happily ever after…

Well… Not quite… Whenever I attempted to use Windows Explorer’s “Open with…” context menu option, attempting to select the Notepad++ portable’s executable would not have any result – the dialogue would just continue to sit there…

After some soul Google searching, I stumbled across the solution.

The registry key HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\open\command was still pointing at the uninstalled, (now) non-existent executable. Pointing it to the correct location made Notepad++ show up immediately as one of the selectable applications.