How to move Microsoft OneNote 2016 (& later?) notes from one PC to another

Note: this guide applies only to OneNote 20XX notes stored locally on the PC and not synced anywhere. It cannot be guaranteed to work for synced notes and will not work for OneNote for Windows 10 notes (which are synced to OneDrive using the OneDrive client)

The whole thing is easier than you think. It should also work for OneNote versions later than 2016.

  1. Open your \Documents folder
  2. Open the OneNote Notebooks folder. Every subfolder in that folder is a OneNote notebook
  3. Copy the desired notebook subfolder to the target PC, preferably to the default \Documents\OneNote Notebooks folder
  4. On the target PC, open OneNote 2016 -> File -> Open -> Browse
  5. Browse to the location of the notebook subfolder
  6. Inside the notebook subfolder, select the Open Notebook.onetoc2 file
  7. Click Open

This will open the copied notebook in OneNote 2016. You’ll click on each tab to populate and color them, but everything should be there.

from jdrch

Fuck FreeBSD

(TL,DR: Yes, the title is hypocritical as I’m planning on deploying TrueNAS)

My dream has always been to run all major (server and desktop) OS kernel families:

  1. NT (Windows) ✅
  2. Unix-like ✅
    1. Linux ✅
      1. Debian
      2. Ubuntu
      3. Raspberry Pi OS
      4. Android
    2. BSD ✅
      1. FreeBSD
  3. Unix ✅
    1. Illumos ✅
      1. OpenIndiana
  4. UNIX™ (Coming soon)
    1. macOS

✅ = I currently run an OS kernel in this category

I’ve written before about why I might no longer run FreeBSD , but I think what has just transpired might be the last straw.

I just updated from FreeBSD 12.x-RELEASE to 13.0-RELEASE. Doing so completely broke my KDE setup, to the point that KDE won’t even launch at all.

Setting aside the fact that a major OS being unable to sustain a major version update without KOing DE functionality in 2021 is completely ridiculous, the current workaround is to build the driver from source.

Building kernel modules from source produces a whole range of problems, not the least of which are being possibly out of step with repo packages from the same source, as well as complicating future updates.

This would be totally understandable if the OS in question were an Illumos one, such as OpenIndiana, whose core dev team has only 10 people. But this is FreeBSD, the OS that supposedly underpins Netflix, PlayStation, Switch, etc.

It’s well known that FreeBSD’s dev team don’t care for DEs or the desktop use case. Now, one might argue that they aren’t listening to their users. And, if one truly believes that’s the case, then it makes sense for desktop users to run FreeBSD in the hopes that one day user demands will win out. Sure, you can use scripts to install DEs, but the problem with scripts is they tend to go out of date relatively rapidly (compared to proper ISO packages) due to having no direct upstream connection to the distribution. As such, the configs they result in are also not particularly robust.

There is no substitute for core dev team support of a feature.

Sadly, today, while visiting the FreeBSD forums to ask about my KDE woes, I discovered this thread, in which over half of the FreeBSD Forums members who voted in the OP poll indicated they had “Doubtful” or “No” interest in a FreeBSD KDE distribution.

That’s … in a word, insane. The poll has only 57 votes through nearly 4 months. That tells me pretty much no FreeBSD users are interested in this topic at all.

Clearly, there’s absolutely no hope for DEs ever being 1st class citizens in FreeBSD. Ever.

And now that I’ve recognized that truth, the reasons for me to run a FreeBSD desktop/workstation have evaporated.

Fortunately, TrueNAS exists. Unfortunately, the machine most suited to running it is currently running OpenIndiana (which since my installation thereof in 2019 has proven itself largely useless due to severe lack of package support), so I’ll probably wind up having to install OpenIndiana on my current FreeBSD machine and then throw TrueNAS on the current OpenIndiana machine.

Unfortunately, I’m not the only person to reach this conclusion with FreeBSD. The project’s devs and its community have an extremely rigid view of the distribution as a religious artifact of 1980s Berkeley software development. It sounds cute, but the problem with religious artifacts is they tend to be practically immutable (e.g. the cross, the US Constitution) even when that property is against the faith’s long term interests.

I’ve read complaints from Project Trident’s devs as well as pfSense and TrueNAS users (I’m still willing to give TrueNAS a chance because unlike many people I’m not trying to use it for VMs or jails). The bottom line is that FreeBSD is awesome right up to the point that you want it do something even minutely different from the status quo and need upstream support for that to happen. Then you get stonewalled as none of your asks, no matter how small or reasonable, are met.

So, it’s deuces, FreeBSD. Honestly it doesn’t matter if the driver bug gets fixed in the repo because thanks to the aforesaid the problem is guaranteed to repeat itself the next major version upgrade.

Clapbacks & Counterarguments


Yeah, there’s a reason I didn’t post this in a FreeBSD forum. You’re never gonna get objective criticism of a faith within a place of worship for that faith.

Installing DEs on FreeBSD is easy LOL

Unless you’re intimately familiar with how X11, windows managers, etc. all play together (which shouldn’t be necessary to use a DE in 2021), this is true only if:

  1. You use a script (the 2 major ones I’m aware of are instant-workstation and desktop-installer)
  2. That script is up-to-date
  3. The packages that script installs are:
    1. up-to-date
    2. actually support your hardware

It has been my experience that neither 2 nor 3 can be guaranteed.

You should learn how X11, windows managers, etc. work

Nobody has time for this when macOS, any of the gazillion Linux distros with working DEs, OpenIndiana, and Windows exist.

FreeBSD is an OS for professionals

TIL professionals apparently have a lot of time to waste.

If you don’t know C, don’t use FreeBSD

So eventually no one will use FreeBSD (ever heard of Rust?) Got it.

from jdrch

How to uninstall Sysmon

Sysmon is great until you need uninstall it, in which case the documented instructions don’t work. If you get an odd the service sysmon64 is already registered, do this:

  1. Stop the Sysmon service in Services.msc.
  2. Open an elevated PowerShell prompt in the folder containing sysmon64.exe
  3. Run sysmon64.exe -u or sysmon64.exe -u force (if the 1st command doesn’t work)

That should uninstall Sysmon completely. I’ve created a corresponding Microsoft Docs PR.

from jdrch

Gmail SMTP Settings for the Brother MFC-L3770CDW

TL,DR: Your SMTP settings should look like this:

Brother MFC-L3770CDW SMTP Settings page screenshot

If your Gmail account is 2FA protected – and it absolutely should be – you’ll have to generate an app password.

You’ll also need to configure at least 1 administrator email address in the web UI at Network -> Notification -> Administrator Address. Click 1 of the Notification links to set the address.

Going field by field:

  • Server Address:
  • Port: 25 (Don’t worry about the fact that Gmail’s official SMTP documentation specifies ports 465 & 587 for SSL and TLS, respectively. Those apparently don’t apply here)
  • Server Authentication Method: SMTP-AUTH
  • SMTP-AUTH Account Name: Your_@Gmail.com_Address
  • SMTP-AUTH Account Password: app_password
  • Check Verify Server Certificate
  • Device Email Address: Anything_You_Want (that doesn’t have a space character, presumably)

After entering all the above, click Submit and then test the configuration in the following page. You should receive an email at the administrator address you previously configured.

from jdrch

Google Play to F-Droid Migration & Setup of Termux, Termux:Tasker, & Termux:Styling


Situation: you have a bunch of Tasker stuff that depends on Google Play Termux, which is no longer updated. You need migrate to F-Droid Termux. What to do?

If you’re setting up Termux for the 1st time, skip to the next section.

  1. If anything you use Termux for depends on commands that do not ship with the base installation or you have scripts that exist only in Termux’s home folder, back up your Termux. You may have to ask about these at the official subreddit or check their packages list. If all the commands you use are in the base installation, skip this step
  2. Uninstall all your existing Termux apps


  1. Install the F-Droid counterparts of the Google Play Termux apps removed in the previous section
  2. If you want Termux to be able to interact with /sdcard and expandable storage, grant it storage permissions:
    1. Open Termux
    2. Run termux-setup-storage
    3. Tap Allow in the ensuing pop-up
  3. If you previously backed up your Termux, follow the instructions at the backup instructions link above to restore your backup
  4. If you have external scripts you want to run in Tasker, import them by running cp /sdcard/SourceFolder/ ~/.termux/tasker/ in Termux
  5. To allow Tasker to execute Termux commands, enable Tasker’s Termux permission:
    1. Enter Android Settings
    2. Tap Apps
    3. Tap Tasker
    4. Tap Permissions
    5. Tap Additional permissions
    6. Tap the Allow radio button

And that’s it. If you have existing Tasker Termux tasks and toggles they should work now.

More information:

from jdrch

Migrating from WordPress to DEV Community

WHAT? Why?

In addition to what I explained here I’ve been so spoiled writing in Markdown on GitHub and Reddit that WordPress’ syntax was becoming a hindrance.

Also, WordPress’ editor UI changes of late have been, in a word, disastrous. Whereas before you had clearly discoverable features, WordPress now presents the user with a blank slate they must somehow figure how to use, but without any easy syntax like Markdown.^1

WordPress doesn’t understand that minimalism without intrinsic structure (read: a plain text interface with no syntax) actually increases workload and cognitive overhead. And no, I don’t want to hear any nonsense about reducing distractions. If you find editor UIs distracting you need medication, not a new UI.

So anyway, now there’s pretty much no way to tell what the WordPress editor is actually capable of a priori.

OK, so?

Well, I created an IFTTT applet to post everything here to WordPress, so if you want to stay in WordPress, by all means continue to do so.

Everyone else: just pull the RSS feed from my DEV profile. I’ll still get notifications at WordPress you can comment and interact here or there.

^1 FWIW, this is why I never considered Medium as a destination either. Like

from jdrch

What the hell happened to this blog?

To be clear: this blog is NOT being abandoned. I will still respond and interact on here. There are just other places I post more content nowadays.

No posts in over a year? Great job, dude.

Yeah, I know. Trust me, no one is more disappointed in the current state of affairs than myself. But anyway, I owe the 3 people who still follow this feed an explanation.

Here’s what happened

Only my help and how-to posts were getting traction

Yeah apparently no one cares about your opinion (on WordPress, at least) unless you’re a celebrity or sufficiently connected in the tech industry for people to automatically reshare every remotely profound thing you post. I was in tech for 4 years and never achieved that status – through no lack of trying – so there’s that.

Most of my traffic comes from search engines

I mean, that makes sense. But it also means I have to write for people who are asking questions. This severely limits what I can write about.

I get more engagement on other mediums (read: Reddit)

Y’ALL AREN’T COMMENTING ENOUGH I get more comments, upvotes, etc. on Reddit.

Honestly, though, I could have lived with all of the above. Here’s the biggest reason this blog went dormant:

My workplace started blocking WordPress domains

Kinda hard to reference stuff that you can’t get to. Once this started happening, I didn’t really have a choice. Reddit and GitHub aren’t blocked, however.

I needed all my links and info in one well organized location

Turns out GitHub is pretty good at that. In fact, I’d say it’s the easiest way to post public, frequently updated information online.

Having now established that I’m a card carrying member of the Never Were Celebrities group, I feel I am qualified to do a Where Are They Now? for myself:

The answer to that is:

  • DEV Community Profile – The replacement for this blog
  • Reddit – I use this for my tech opinions, tips, and advice
  • GitHub
  • MeWe – I joined this to fill the void left by Google+. Unlike Reddit, MeWe doesn’t have rate limits, and I don’t like being one of those Twitter users who posts nothing but links. I use MeWe to just link to stuff I’ve been reading lately (which tends to be a lot of things)
  • Twitter – Occasionally a raw thought stream, but now mostly sports, gaming, as well as strategic communication about causes and issues I care about
  • Telegram – Wanna chat? Find me there

How to uninstall dnscrypt-proxy and revert to previous DNS settings on the Raspberry Pi 3 Model B+

Oh, you thought this was gonna be easy? This is Linux.

Writing this because while there’s a lot of documentation about installing dnscrypt-proxy, there’s very little about removing it.

This guide assumes a few things:

  • Raspbian Stretch or later with default desktop environment
  • dnscrypt-proxy was manually installed (read: not installed via a package manager or from a repository)
  • resolvconf was not uninstalled and/or removed from Raspbian
  • The DNS server for the LAN is determined via a router setting or a separate DHCP server (such as a Pi-hole instance running on a separate machine)

Here’s how you do it:

  1. Open a terminal command prompt at /opt/dnscrypt-proxy
  2. Run ./dnscrypt-proxy -service stop
  3. Run ./dnscrypt-proxy -service uninstall
  4. Delete the /dnscrypt-proxy folder
  5. In the taskbar, right-click the network icon
  6. Click Wireless & Wired Network Settings
  7. Ensure the 1st dropdown next to Configure is set to interface
  8. Set the 2nd dropdown to eth0
  9. Check the Automatically configure empty options box
  10. Clear the DNS Servers and DNS Search fields
  11. Click Apply
  12. Click Close
  13. In the terminal, run sudo service resolvconf start
  14. Run sudo systemctl enable resolvconf
  15. Reboot the Raspberry Pi

Upon reboot your network connection and DNS functionality should be returned to its previous normal state.


dnscrypt-proxy Github (see Steps 4 & 6)


Project Trident/FreeBSD/TrueOS beginner tips and tricks

Fun with “that other OS” paradigm

I recently set up my 1st Unix machine running Project Trident (based on TrueOS, which is in turn based on FreeBSD.) Here, in no particular order, are some things you might need to know.

All commands are to be entered into QTerminal and followed with an Enter keystroke, and it’s assumed you’re running (Project) Trident.

BSD is not Linux

If you have Linux experience, it’s tempting to think BSD is more of the same. It isn’t. For one, while Linux emphasizes performance and modularity, BSD emphasizes monolithic technical correctness and consistency (read: on the OS scale, not just at the kernel level.)

How to prepare your PC’s BIOS for BSD installation

  1. Enter your PC’s BIOS.
  2. Disable Secure Boot.
  3. Switch boot mode from UEFI to Legacy.
  4. Enable booting from external devices.
  5. Change your boot order so that the PC boots from the external device first.
  6. Check that your BIOS is set to the correct time. If it’s wrong, the time in BSD will be wrong too.
  7. If your PC currently runs Windows, install the latest BIOS version before you replace it with BSD. Technically you may be able to update the BIOS via USB later, but it’s a major PITA in comparison.

How to create an a Project Trident USB installer disk in Windows

  1. Download the installation ISO.
  2. Change the downloaded ISO’s extension from .iso to .img.
  3. Write the .img file to the USB disk using Win32 Disk Imager.

Shell selection

Just stick with the default shell, as most documentation is written assuming you’re using it. zsh is pretty good.

SWAP partition creation

When given the option during installation, enable it at the default size.


The canonical documentation for any BSD flavor is the main type of BSD it’s based on. So, for example, since Project Trident ultimately descends from FreeBSD, FreeBSD’s documentation is canonical for it.

How to set your timezone correctly

  1. Enter the PC’s BIOS and set the correct time there manually.
  2. Boot into Trident.
  3. Open QTerminal, then execute the following commands:
    1. sudo tzsetup
    2. sudo service ntpdate restart

The command for the Lumina text editor

… is lte. If you need to start it as root, use sudo lte.

The command for the Lumina file manager

… is lumina-fm. If you need to start it as root, use sudo lumina-fm. You can also start it as root from within the file mangaer GUI itself.

How to set up Resilio Sync in Project Trident

  1. Open AppCafe. You may have to open it twice and/or click on the TrueOS logo in the middle for the dropdown at the top center to change from local to trident.
  2. In the Browse tab, search for “Resilio.”
  3. Click the download icon beside the Resilio Sync search result. This will add the installation to the Pending tab, which you can then switch to follow the progress.
  4. Start Resilio Sync by entering rslsync in QTerminal.
  5. Access Resilio sync by going to localhost:8888 in your browser.

There are a few quirks about running Resilio Sync on BSD. The first is that the documentation in the package and in the .conf files is rather misleading. Although most of it talks about Resilio running under the rslsync user, it’s installed to run under the the account that installed it (read: yours.) I still haven’t figured out exactly how to get it to run as a service, but when I do I’ll probably write a separate post about it.

How to list all the hardware the OS can see right now

sudo pciconf -lv

If you want to search the output of the above for a particular item, e.g. “bcm”, you can do so via:

sudo pciconf -lv | grep bcm

How to load something into the kernel

Using bwn as an example:

sudo kldload bwn

How to search output strings from a given command

Just add | grep searchterm to the end of the command. You can also sort the search results by adding | sort to the preceding. For example, to search the output of dmesg for bwn and sort the results:

sudo dmesg | grep bwn | sort

You can also use | tail -n to get the last n lines of a command’s string output.

How to check whether BSD detects a hardware component at all

sudo dmesg

The above is basically a printout of everything that scrolls down the display at boot. It’s pretty long, which is where the grep and sort commands come in: they help you filter it for what you want to find.

To fix flickering desktop graphics elements

Delete ~/.config/lumina-desktop/compton.conf.

How to set up SSH

  1. Open the terminal
  2. Type sudo service sshd start
  3. Hit Enter
  4. Type sudo rc-update add sshd
  5. Hit Enter
  6. Click the Start button
  7. Enter “SysAdm”
  8. Click on SysAdmin Client
  9. In the window that follows, click on Firewall
  10. Under the Open a Port heading, in the Open by Service label, click the Select a Service… dropdown
  11. Select ssh. 2 entries for port 22, 22/udp and 22/tcp, should appear above the Open a Port heading
  12. Click Restart

SSH should now be set up. Try logging in from another machine.

Deletion is a permanent operation

Unlike nearly every other OS type out there, BSD (and non-macOS Unix at large, apparently) assumes deleting something means you don’t want it anymore ever again.

The ways to get around this are to:

  1. Use snapshots.OR
  2. Make absolutely sure you want to get rid of something before you do.

How to set up ZFS snapshots

Instructions here.

Where to find Project Trident and/or TrueOS support

Project Trident Telegram

TrueOS Telegram



How to get the Windows 10 Samsung Notes app to sync with Samsung Cloud

In a stroke of absolute brilliance, Samsung ships a working app whose primary feature is disabled by default

You got Samsung Android device, took a few notes in Samsung Notes, then installed and signed in to the Samsung Notes Windows 10 app. Now none of your notes are showing up in the Windows 10 app. WTH is going on?

Answer: Samsung Notes’ default settings pretty much guarantee sync failure for desktop use cases. Here’s now to fix it:

  1. Ensure you’re signed in to Samsung Cloud in both the Android and Windows 10 app. The remaining steps take place entirely in the latter.
  2. Enter the app’s settings.
  3. Click on Samsung Cloud.
  4. Toggle “Sync via Wi-Fi only” (the fact that a setting is literally in quotes in the app may be a red flag here) off.
  5. Toggle Sync with Samsung Cloud off and then on.
  6. Click Sync now.

The app should now sync and pull all your notes from Samsung Cloud.

Users whose Windows devices are frequently between mobile and Wi-Fi data connections might want to leave the setting in #4 above enabled to save data, but pretty much everyone else should disable it.

Thanks u/Act1v1si0n for this solution.