ConnectIQ SDK On Arch Linux

Quickly documenting before my laptop runs out of battery.

I have a little bit of a bee in my bonnet about using VSCode, so I rebuilt my old gaming laptop to use i3 and plan to get back into developing with Vim. I’ve opted for nvim to try it out, and have the confs synced, which I should also document, but I digress.

Download the SDK, extract it and run it.

This will install the SDK to ~/.Garmin.

Add the following line to your ~/.bashrc:

PATH="${PATH}:~/.Garmin/ConnectIQ/Sdks/connectiq-sdk-lin-4.0.7-2021-11-29-437ff4cc4/bin"

Now the tricky part…

Webkit dependency: larchtop% yay -S webkitgtk2
Or maybe: larchtop% yay -S webkitgtk-bin

pacman -S qt5-base pacman -Sl multilib java-runtime

There may be more but that’s what I’ve been able to gleem from my bash/zsh history.

Once you have installed the dependencies and resourced your shell, you should be able to run the ConnectIQ SDK commands such as monkeyc.

As for actually buildling a boilerplate in a directory, I am lost. A lot of the integrations are done through Visual Studio so I don’t know if the commands are even published. I’ll update this post if I ever find them.


Ignore the above, you’ll find the SDK inside your home directory. Inside of there, you’ll find a ‘samples’ directory. On linux, you’ll find it under ~/.Garmin/ConnectIQ\Sdks\connectiq-sdk-win-4.0.7-2021-11-29-437ff4cc4\, but I can’t give the exact location right now as I dont have my machine handy.

One of the folders will have an EmptyWatchface and there may also be one with settings?

The Windows command to execute:

java -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar ~\.Garmin\ConnectIQ\Sdks\connectiq-sdk-win-4.0.7-2021-11-29-437ff4cc4\bin\monkeybrains.jar -o bin\fxce.prg -f /full/path/to/monkey.jungle -y /full/path/to/developer_key -w -d fenix6pro_sim <

I understand that this page isn’t neat, however anytime I find a system/setup related thing, I just dump it in here. I’ll clean up one day, but not today.