Neverwinter Nights Enhanced Edition produces black screen on Linux

I decided I wanted to start playing the new release of the classic game Neverwinter Nights, on my Chromebook using my Ubuntu Linux chroot. My download comes from GOG. While my install worked great on my Windows desktop and Fedora laptop, the game isn’t starting on my Chromebook. It just produces a black screen instead of the game’s main menu.

Another Beamdog re-release, Baldur’s Gate, works great on here. The solution for NWN should be pretty simple: turn off full screen mode. But how can you do that without entering the game?!


  • Navigate to /home/<your user>/.local/share/Neverwinter Nights
  • Edit nwn.ini
  • Change the following:

You’re done! The game won’t run in true full screen, but it will be a full-screen borderless window.

Possible missing firmware for module tg3

When recently updating my Debian 9 Stretch’s boot image, it produced the following warning:

W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3

That doesn’t look good! Without this module, I suspect my network card will not work after reboot. What’s needed is the package firmware-linux-nonfree but it’s not available in the standard Debian free repos – you need the nonfree repo.

Edit your /etc/apt/sources.list and add the following:

deb stretch main non-free

You can install firmware-linux-nonfree with apt-get, which will allow your adapter requiring the tg3 module to continue working.

Pi-hole logrotate parent directory has insecure permissions

My Pi-hole was producing this error every day:

Cron test -x /usr/sbin/anacron || ( cd / && run-parts –report /etc/cron.daily )

/etc/cron.daily/logrotate: error: skipping “/var/log/lighttpd/access.log” because parent directory has insecure permissions (It’s world writable or writable by group which is not “root”) Set “su” directive in config file to tell logrotate which user/group should be used for rotation.
error: skipping “/var/log/lighttpd/error.log” because parent directory has insecure permissions (It’s world writable or writable by group which is not “root”) Set “su” directive in config file to tell logrotate which user/group should be used for rotation.
run-parts: /etc/cron.daily/logrotate exited with return code 1

The solution to this was pretty easy:

  • sudo vi /etc/logrotate.d/lighttpd
  • Under /var/log/lighttpd/*.log { add the following line:

su www-data www-data

That’s it! You may want to do sudo systemctl restart cron to make it reload, and now the error should not reoccur.

Have root send as a different address using postfix

If you have scripts or other services that run as root that need to send to outside email addresses, via postfix, without being root@hostname, this is what you need to do:

    1.  sudo vi /etc/postfix/generic


    2. sudo vi /etc/postfix/

      smtp_generic_maps = hash:/etc/postfix/generic

    3. sudo postmap /etc/postfix/generic
    4. sudo systemctl restart postfix

Done! Now root will send as instead. Substitute whatever you want for

Setting NTP settings on Windows Server

Here’s how to set your Windows server to sync its time with an NTP server.

  1. Open a Command Prompt as Administrator
  2. Enter: w32tm /config / /syncfromflags:MANUAL
  3. Enter: net stop w32time
  4. Enter: net start w32time
  5. Initiate a sync: w32tm /resync
  6. Check the status: w32tm /query /status

You’re done! You can also now use this server as a time server for other devices on your network. Just follow the above steps and replace with your server’s IP address.

If your server is a VM, you may need to disable time syncing from your hypervisor. Otherwise, your sync efforts will be for naught, as the VM will keep syncing with its hardware host.

Camera and July security update for LG G7 ThinQ

My LG G7 ThinQ just received the camera update that delivers 4K 60fps and a more responsive camera app. Included in the update is the July security update for Android.

My G7 is the unlocked version, G710ULM. It brings my device to software version G710ULM10f.

Keep it up, LG!


Home Assistant: Unable to find service

In my Home Assistant setup, I created an SMTP notification that would email my phone’s SMS gateway when certain conditions were met. Except it didn’t work.

When monitoring the log file, I found the following when the condition was supposed to trigger:

WARNING (MainThread) [homeassistant.core] Unable to find service notify/txt_smeg

When I did additional digging in the log file, I found this:

ERROR (Thread-6) [homeassistant.components.notify.smtp] Login not possible. Please check your setting and/or your credentials
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/notify/", line 120, in connection_is_valid
    server = self.connect()
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/notify/", line 113, in connect
    mail.login(self.username, self.password)
  File "/usr/lib/python3.5/", line 729, in login
    raise last_exception
  File "/usr/lib/python3.5/", line 720, in login
  File "/usr/lib/python3.5/", line 641, in auth
    raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b'5.7.8 Error: authentication failed:')
 ERROR (MainThread) [homeassistant.components.notify] Failed to initialize notification service smtp

But everything in my configuration looked OK. I checked and the password works. Restarting the Home Assistant service resulted in the same error.

After seeing this discussion where a machine restart magically fixes this problem, I restarted my entire device. After it booted back up, the notification worked correctly. My only guess is that smtplib must keep a cache somewhere, or holds something in memory across application re-loads.

LG G7 ThinQ Review

I ordered the LG G7 ThinQ from Google’s Project Fi as part of their $300 account credit promotion, making the total price for the phone, after trade-in and eventual account credit, less than $400.

I’ve had this phone for a little less than two days. I’m not a professional reviewer, just a techy schmuck. I’m also not a professional photographer, I am a point-and-shoot dummy whose primary subject is a 3.5ft tall blur that will ruin a good photo opportunity if I can’t take the photo fast enough. Coming from a Nexus 6P, my concerns were battery life, camera quality, and software support. Survivors of the Nexus 5X will probably be concerned about quality control from LG, and that’s fair, but realize that ~2015 was an especially bad time for LG phones and their reputation before and since, while not pristine, is comparable to other manufacturers. With that out of the way, I’ll get started.


The camera in low-light, that all the reviewers complained about, is fine. It lets in more light than my 6P, so it doesn’t catch the contrast of the shadows as well, and the resolution of night mode photos is lower because it combines pixels, but overall it’s fine. Wide angle is potato-quality in the dark. Here is a photo sampling:


Nexus 6P night photo
Nexus 6P night photo

LG G7 ThinQ night photo
LG G7 ThinQ night photo

LG G7 ThinQ night photo - wide angle camera
LG G7 ThinQ night photo – wide angle camera






Below, I’ve provided some sample shots for a comparison. I also added in samples from my work-issued iPhone 8.


Nexus 6P

G7 Standard Camera

G7 Wide Angle

iPhone 8


Nexus 6P

G7 Standard Camera

G7 Wide Angle

iPhone 8


Nexus 6P

G7 Standard Camera

G7 Wide Angle

iPhone 8


Nexus 6P

G7 Standard Camera

G7 Wide Angle

iPhone 8


Nexus 6P

G7 Standard Camera

G7 Wide Angle

iPhone 8


Nexus 6P

G7 Standard Camera

G7 Wide Angle

iPhone 8


Nexus 6P

G7 Standard Camera

G7 Wide Angle

iPhone 8













































The camera can be launched quickly with a double tap of the down-volume button. I find that it launches faster than my Nexus 6P’s camera, it focuses just as quickly if not faster, and its automatic point-and-shoot behavior is comparable. The Portrait mode works decently, but occasionally blurs things it shouldn’t; it’s better for ‘staged’ photos than the candid shots I usually do. I like that the record button is right there next to the shutter button, so I don’t have to wait a second or two for the camera app to transition to video mode. An update should bring, or have already brought, 4K 60fps video recording, depending on carrier approval.


I love the size and form factor. Nearly as tall as the 6P, but not as wide, so I can operate it with one hand easily. Very thin, very light. Pocket friendly! Fingerprint sensor is a bit lower than the 6P, so at first I kept tapping my finger on the camera, but I’ve gotten used to it. Notch doesn’t really bother me, except I wish I could see more notifications at once. Button placement is good, no accidental presses, and you’re confident that button presses are registered. I don’t love the headphone jack being on the bottom, but I can live with it because it has one. A lot of the promotional images out there make the phone look like it’s made of cheap, shiny plastic, so here is a photo of the blue matte finish.


Charges absurdly fast, 40->85% while I shower (15 minutes or so), and topping off in the car, with the same 2.4a charger (maybe supports QC?) I used with my 6P, makes a big difference. I never see myself leaving it on the charger overnight. Battery lasted a full day yesterday with me downloading a lot and setting it up. I rarely charge my phone to over 90% (better for long-term battery health), and I started today at ~85%. With 5 hours off the charger, listening to a podcast in the car for 20 minutes, and 1.5hr SOT, it’s down to 71%. A lot of phones seem to have a “learning” period, and if that’s the case here then I don’t think I’m going to have battery anxiety like I did with my 6P.


Screen looks crisp, very pretty. Lots of customization with a Flux-like night mode feature, game resolution and fps options, and its outdoor brightness is great. Putting it on auto mode, it keeps the brightness a little dimmer than I would like. Not being AMOLED means dark mode in apps is pointless (beyond aesthetics), and AOD (Always-On Display) feels like a waste of battery- the notification light will do for my needs. The screen’s lowest brightness isn’t quite as dark as the 6P, which makes sense because it’s LCD rather than OLED. Screen rotation is lightning fast. You can change the tone of the screen to suit your color palette preference.

LG Software and Skin

The LG skin, once you turn on the app drawer, will behave like a conventional Android home screen. I like how the app groups/folders can be given colors to differentiate them, and I like how a group has a little ‘add’ button that gives you the full app list and you can tick which app you want to add to the group. No more hunting for apps and dragging into groups… or maybe I need to remove some apps (300+ isn’t too many, right?).

You can change the grid dimensions for apps, change icon shapes, the provided widgets aren’t atrocious, and bind the keyboard to one side or the other for easier one-handed use. I have my Home screen setup where dragging up brings up the app drawer, and dragging down brings up a recent activity type screen showing my latest texts, upcoming appointments, latest emails, most recent browser tabs and apps, etc.

The LG skin makes theming easy, provides access to an online catalog of skins (some are paid), and with a lot of options to theme based on your favorite K-pop star (there’s no Brown Eyed Girls 😢). They have 360 wallpapers, AOD customizations, blah blah blah. I don’t really care about this crap. You can make the “Second Screen” a.k.a. area around the notch a solid color, like black, if you don’t like it trying to blend in with your apps.

If some apps don’t natively support the aspect ratio of the screen, there’s a button at the bottom-left to re-launch them to fit. That might be because I transferred the apps from my old phone. This same spot is also home to a button that you can long-press to make the screen’s back/home bar go away entirely (swipe up from the bottom to get it back).

LG doesn’t pre-load this thing with too much garbage, just a few items beyond the basics. It came with Facebook and Instagram, but I disabled them right away.

  • LG Health is a lightweight step tracker for those of us who aren’t really committed enough to fitness to buy a fitness tracker or bother with Google Fit.
  • LG Mobile Switch worked very well to transfer my apps and settings from my 6P.
  • Quick Memo (launchable from double-tap of volume up) is pretty nice writing pad but doesn’t sync anywhere.
  • Smart Cleaning is actually pretty cool: it clears up temp files/cache and closes background apps. It’s in the Settings menu, too.
  • SmartWorld is their store for themes, icon packs, wallpapers, AOD skins, and most of them are free.
  • Update Center is obvious.
  • HD Audio Recorder is obvious. High quality recordings that work with no setup required.
  • Music player – This is stupid. It has a “Boombox Show” that brings up early 2000s style visualizations while you play music, while also making the flashlight and vibration blink/vibrate to the tune of your music. It only works when your music is played from the app, as far as I can tell. It’s dumb.
  • Smart Bulletin – phone context setting screen to the left of the home screen. It’s like Google Now but phone-only and useless. Can be disabled in the settings.
  • NextRadio – an Internet radio app, but most importantly: it lets you use the phone’s FM Tuner. I had glossed over the fact that this phone has a built-in FM tuner (only usable when headphones are plugged in). Being a data-conscious Project Fi customer, having the option to tune into local radio instead of stream it sounds great. My only qualm is that this app is just a free app normally available on Google Play, and it’s ad-supported. As far as I can tell, there’s not much of a market for good FM tuner apps, so this will have to do.

My one major complaint: I wish I could make the bottom navbar black, or adjust to the current app’s color. Having a dark app up with that light-grey bar at the bottom is ugly. I could hide it, but I’m a notorious multitasker.

My one minor complaint: by default, the share button tries to find nearby devices to beam to, as well as bring up the usual share options. This slows down the share menu and probably unnecessarily wastes battery. It can be toggled off in the Share menu settings.

Hidden gem: the Capture+ tool. Its interface looks like Quick Memo, but it’s something available as an Action icon in the status bar. It’s a quick screenshot tool that can also make short gifs, quickly crop a screenshot, or mark on it.

The LG keyboard is actually really nice. The number row is on by default, you can swap around the positioning of some of the characters, it learns very quickly, and it’s suggestions and autocorrect, even on its aggressive setting, is not as aggressive as Gboard’s autocorrect.


The ring is loud and crisp, you can’t miss it. When playing music while sitting the phone on a table, the speaker is impressively loud. Better than a cheap portable Bluetooth speaker. The vibration is fantastic, especially compared to the Nexus 6P where vibration might as well mean silent. Haptic feedback is solid.

There’s been a lot of positive commentary made about its Quad DAC and DTS 3D Surround, but I mostly listen to podcasts, audiobooks, and audio dramas in the car. They definitely seem louder and clearer. After tweaking the digital filter, voices are crisper and easier to hear. Nifty.

AI button

“OK Google” or other keywords have always been difficult because, at least on my old phone, there was such a delay between saying the keyword and the ‘ding’ to start talking that my small human being would often start talking and botch my search query. And it would usually want me to unlock the phone, which defeats the purpose of voice search (I don’t use Smart Unlock). Now, I can pick my phone up, tap the fingerprint reader, press the button and start talking. It’s definitely more convenient, but I still find voice search to be more of a gimmick than legitimately useful.

micro SD slot

Since this phone comes with 64GB of storage, the same that my 6P had, I knew the ability to use external storage was going to be a necessity, so I popped in a 64GB UC3 micro SD card. While not every app supports it, and those that give you options to save into directories sometimes complain they can’t write to it, the biggest storage hogs can take full advantage of it: Camera, Google Play Music, Netflix, Plex, Amazon Video, Pocketcasts, LibriVox, Audible, and Google Maps. Some apps can be moved to External Storage, too.


This is just my hot take, but this phone exceeded my expectations. I ordered with a bit of apprehension, not sure if I was making the right choice, but 2 days with this phone have made me feel confident that it should last another 2+ years like the 6P did, despite its flaws. With Project Fi’s recent $300 account credit promotion, and with doing a trade-in, I now have a new flagship-tier phone for less than $400, beating that classic Nexus price point with a powerhouse of features. I just popped it into a Spigen Rugged Armor case and it feels like I’m continuing to own a phone that does what I want.

If you do order this phone, register for the LG Second Year Promise within 90 days of purchase. It’s a free warranty extension for your second year of ownership. While I decided to get Device Protection from Google (well, Assurant), there’s no harm in having an extra layer of warranty from LG. It also helps reinforce to LG that providing long-term support is a great way to earn customers.

Comparing night photos of the LG G7 ThinQ to a Nexus 6P

Professional reviews of the LG G7 ThinQ often mention that the LG G7 ThinQ can produce mediocre low-light photos. Having one in hand, I decided to make a quick comparison with a Nexus 6P.

Nexus 6P night photo
Nexus 6P night photo

LG G7 ThinQ night photo
LG G7 ThinQ night photo

LG G7 ThinQ night photo - wide angle camera
LG G7 ThinQ night photo – wide angle camera

The LG G7’s standard camera produces comparable night photos to the Nexus 6P.  The G7’s photos are brighter and catch more detail, however they tend to lose the contrast between the light and the shadows. They also have a lower resolution, which makes sense given that the G7’s low-light camera mode, which is on by default in low-light, combines pixels to produce a better image.

The G7’s wide-angle camera performs very poorly in low light, but considering that many other phones don’t have this camera to begin with, it’s still a beneficial option for daylight shots.