From 9dbd6f40493e1fb71071f3b4d934765e54f0a806 Mon Sep 17 00:00:00 2001 From: Thomas Gohle Date: Tue, 21 Apr 2026 21:09:07 +0200 Subject: [PATCH] some corrections --- Nordic_PPK2_Ubuntu_Install_Manual_blog.md | 38 +++++++++++++++++++---- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/Nordic_PPK2_Ubuntu_Install_Manual_blog.md b/Nordic_PPK2_Ubuntu_Install_Manual_blog.md index 0484ee0..062831d 100644 --- a/Nordic_PPK2_Ubuntu_Install_Manual_blog.md +++ b/Nordic_PPK2_Ubuntu_Install_Manual_blog.md @@ -62,6 +62,17 @@ sudo dpkg -i JLink_Linux_V876_x86_64.deb cd ~/Downloads chmod +x nrfutil sudo mv nrfutil /usr/bin/ +``` + +or, as mentioned at the nordic page, use curl with nRF Util product download page + +```bash +curl https://files.nordicsemi.com/artifactory/swtools/external/nrfutil/executables/x86_64-unknown-linux-gnu/nrfutil -o nrfutil +``` +Move the nRF Util executable file to a directory in the system $PATH (for example /usr/bin). Give nrfutil execute permissions by typing chmod +x nrfutil in terminal. Check version, will also test if path ok. + + +```bash nrfutil --version ``` @@ -135,10 +146,10 @@ chmod +x nrfconnect-5.2.1-x86_64.AppImage #### 4.2 Install shell completion for `nrfutil` (optional) -For `nrfutil` v7+, the correct command is: +For `nrfutil` v7+, the command as user is: ```bash -nrfutil completion install bash +nrfutil install completion ``` #### 4.3 Start nRF Connect for Desktop @@ -147,6 +158,7 @@ nrfutil completion install bash cd "$HOME/Desktop/AppImage" ./nrfconnect-5.2.1-x86_64.AppImage --no-sandbox ``` +Update the apps you want Equivalent absolute-path form: @@ -156,12 +168,22 @@ Equivalent absolute-path form: #### 4.4 Create `.desktop` launcher -Create the launcher file: +Create the launcher file, if not exist: ```bash mkdir -p "$HOME/.local/share/applications" +cd $HOME/.local/share/applications +``` +and create the *.desktop file there with your preferred editor, in my case nano: -cat > "$HOME/.local/share/applications/nrf-connect.desktop" <<'EOF_DESKTOP' +```bash +nano nrf-connect.desktop +``` +with this content. + +**Attention:** Adjust the `Icon=` line to your own icon path. + +```bash [Desktop Entry] Version=1.0 Type=Application @@ -173,8 +195,11 @@ Icon=$HOME/path/to/icons/nRF-Connect_desktop.png Terminal=false Categories=Development;Electronics; StartupNotify=true -EOF_DESKTOP +``` +safe and close and make executable: + +```bash chmod +x "$HOME/.local/share/applications/nrf-connect.desktop" ``` @@ -191,6 +216,7 @@ ln -sf "$HOME/.local/share/applications/nrf-connect.desktop" "$HOME/Desktop/nRF- --- ### 5. Inside nRF Connect for Desktop +if not done yet (after test start) 1. Install the **Power Profiler** app. 2. Connect the **PPK2**. @@ -257,7 +283,7 @@ mkdir -p "$HOME/Desktop/AppImage" cd "$HOME/Desktop/AppImage" chmod +x nrfconnect-5.2.1-x86_64.AppImage -nrfutil completion install bash +nrfutil install completion ./nrfconnect-5.2.1-x86_64.AppImage --no-sandbox ```