Kevin Kleinfelter's blog

Why I Switched to Notepad++

I had a million Notepad files open, with unsaved to-do items, meeting notes, etc.

My employer pushed a mandatory update with a mandatory reboot, while I was out of the room. I lost all those Notepads.

Notepad++ with the auto-save plugin can be configured to restore all those not-yet-saved files.


You can make Notepad++ really replace Notepad (pervasively) by setting up Notepad++ as a debugger for Notepad! See

FoldingText Cheat Sheet

My cheat sheet for using the Atom editor with the FoldingText package. See official doc at


  • Must choose File >> New Outline and save as .ftml, to create an outline.


Use Crashplan on Ubuntu With Encrypted Volume

I use an encrypted volume with LUKS on my Ubuntu server. First, I mount the encrypted volume, then I mount a zfs file system from it.

CrashPlan was getting confused because when CrashPlan started, the /data volume I'm backing up was empty because the volume isn't mounted until after I login and enter the password. So I needed to delay CrashPlan startup until after the encrypted volume is mounted. (i.e. I need a delayed CrashPlan start.)

Windows Not Hibernating / Windows Not Sleeping

I have a Windows 10 computer that was failing to hibernate after inactivity and it was waking immediately after hibernating AND the mouse would wake it up, even though I'd told Device Manager that the mouse should NOT wake the computer. It seems to behave better now. Here are some changes I made and techniques I tried.

Black Screen and Lock-up Booting Ubuntu 16.04 Xenial Xerus

At some point, I started having trouble getting the Black Screen and Lock-up Booting Ubuntu 16.04 Xenial Xerus GUI to boot if there was no monitor attached. Then it seemed to start happening even if I had a monitor attached. I'd get a black, text-mode screen with a cursor blinking in the upper-left corner and nothing else. This fixed my black-screen-mid-boot problem:

  • sudo vi /etc/default/grub
  • Adding "vmalloc=256MB video=LVDS-1:d" to the GRUB_CMDLINE_LINUX_DEFAULT
  • sudo update-grub

Turn Off the Alarms On a Casio Illuminator Five Alarms W213

Casio makes inscrutable watches. I suppose there's only so much U.I. you can do with 4 buttons. My Casio Illuminator Five Alarms W-213 started alarming at midnight.

In the course of pushing buttons, it is easy to accidentally enable an alarm. (e.g. If you get the digits flashing to set an alarm, it auto-enables the alarm, even if you don't change the time.)

It is much harder to disable the alarm. Here's how:

USB Mouse Causes Resume From Hibernate Failure

Windows 7, Dell Precision 7510 - When I resumed from hibernate, it would show the "Resuming" splash screen, then the video went dark, and it locked up. The problem did not occur on resume-from-sleep. The problem only occurred when the laptop was docked.

It turned out to be a USB mouse, plugged into the docking station, which was causing the problem.

Sudoku Strategies

Term * row - a single row * column - a single column * square - a single cell * 3Row - a group of 3 rows; rows 1-3, 4-6, or 7-9 * 3Column - a group of 3 columns; columns 1-3, 4-6, or 7-9 * 9Square - a square of 9 cells with a bold border

  • Pair-across

    • Find 2 rows in a 3Row with a shared value. Check the 3rd row of the 3Row in all its 3Squares to see if you can find a square for the 3rd instance of the shared value.
    • Repeat for all 3Row and 3Column.
  • 2 squares remain

Excel Won't Quit - Yes It Does

I was automating Excel, from Autohotkey, via CSCRIPT or WSCRIPT. I followed all of the best practices for object management, such as setting my objects to Nothing in VBScript, calling xlApp.Quit and then setting xlApp to Nothing.

EXCEL.EXE just kept showing up in Task Manager after I quit Excel.

Ha! But if I sat around for 45-60 seconds, it did quit.


Subscribe to RSS - Kevin Kleinfelter's blog