Adding i3 support to satellite

There’s a really cool Go application written by avinashbot named satellite, which you can use to update your background from an image downloaded from Himawari-8 or DSCOVR. I was super excited to use it but quickly realized that it didn’t support i3, the window manager I use in Linux.

Now, I have never touched a line of Go until now, but it was a breeze to add i3 support.

All I really needed to do was add these lines to background_linux.go:

Then, down in the switch in Set, add:


[remedios]sina ~ $ satellite -desktop i3
2016/08/20 14:40:45 Starting download…
2016/08/20 14:40:52 Done! Download took 6.906361896s.
2016/08/20 14:40:54 Setting image as background…

The full changes can be seen on the (now closed) Pull Request.

Fix for Deadlock: Planetary Conquest on Steam

This is a fix for the Steam release of Deadlock: Planetary Conquest, in Windows 8 and 10.

Also available as a Steam Guide.

Deadlock: Planetary Conquest is one of my all-time favorite games from my childhood, and when I found it on steam for 97 United States pennies, I couldn’t resist getting it. There is just one gigantic flaw: it does not want to run in Windows 8 or 10 by default. The version does, but Steam’s doesn’t; it just hangs at a black screen after the intro.

Being that I bought it on Steam, I am going to detail how to get it fixed, since there’s a lot of kerfluffle on how to get it to work.

What we will be doing is:

  • Copying the files from the PATCH folder into the game’s main directory, and
  • Creating an ISO from the game and mounting it


Navigate to the Deadlock folder. This is usually:
C:\Program Files (x86)\Steam\steamapps\common\Deadlock

Double-click on PATCH and open, then copy the contents.

Copy the contents of PATCH into this folder. Replace the files in the destination.



For making the ISO, we will use the portable version of CDBurnerXP (to avoid installing anything). You can download it from this link.

When it is downloaded, unzip it into it’s own folder. I usually make a “tmp” folder and unzip it in there.

After it is unzipped, go to where you unzipped it and run cdbxpp.exe and select your language:


Make sure “Data disc” is highlighted and press OK:


This window may look intimidating, but do not worry. Select everything in the Deadlock folder (ctrl+A is a fast way to do it) and drag it to the bottom left panel, like the image below:


Rename “Disc” to “DEADLOCK” (keep it in all caps):


Now on the top menu, click on “File” and then “Save compilation as ISO file…” and choose a destination. The default saves to your Documents folder.


Navigate to where you saved the ISO file and double-click it. This will mount the ISO.

As long as this is mounted, you can play Deadlock without any problems!


If you are still having problems, please leave me a message below or tweet at @silly_sina!

Folder Diff in Windows Command Line

Sometimes I wish I could easily use something like the lovely Linux diff tool in Windows, but am loathe to really want to install anything more than necessary. Today I was surprised to find that my basic Windows command-fu wasn’t totally wasted on previous versions. This is what I came up with (copypasta into Notepad (or anything that isn’t WordPad/Word/etc.) and save as filediff.bat):

As you can see, it is a very minimal script right now, and it should probably be updated for the sake of Sanity to nicely exit when something goes wrong. Like when you try to diff a local folder with a folder on another computer across the network. This script won’t work and it just barfs an error without quitting, creating an unnecessary file.

That was the whole point of writing this little script up, too, which was a bummer.