some corrections

This commit is contained in:
2026-04-21 21:09:07 +02:00
parent b6611dd4f3
commit 9dbd6f4049

View File

@ -62,6 +62,17 @@ sudo dpkg -i JLink_Linux_V876_x86_64.deb
cd ~/Downloads cd ~/Downloads
chmod +x nrfutil chmod +x nrfutil
sudo mv nrfutil /usr/bin/ 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 nrfutil --version
``` ```
@ -135,10 +146,10 @@ chmod +x nrfconnect-5.2.1-x86_64.AppImage
#### 4.2 Install shell completion for `nrfutil` (optional) #### 4.2 Install shell completion for `nrfutil` (optional)
For `nrfutil` v7+, the correct command is: For `nrfutil` v7+, the command as user is:
```bash ```bash
nrfutil completion install bash nrfutil install completion
``` ```
#### 4.3 Start nRF Connect for Desktop #### 4.3 Start nRF Connect for Desktop
@ -147,6 +158,7 @@ nrfutil completion install bash
cd "$HOME/Desktop/AppImage" cd "$HOME/Desktop/AppImage"
./nrfconnect-5.2.1-x86_64.AppImage --no-sandbox ./nrfconnect-5.2.1-x86_64.AppImage --no-sandbox
``` ```
Update the apps you want
Equivalent absolute-path form: Equivalent absolute-path form:
@ -156,12 +168,22 @@ Equivalent absolute-path form:
#### 4.4 Create `.desktop` launcher #### 4.4 Create `.desktop` launcher
Create the launcher file: Create the launcher file, if not exist:
```bash ```bash
mkdir -p "$HOME/.local/share/applications" 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] [Desktop Entry]
Version=1.0 Version=1.0
Type=Application Type=Application
@ -173,8 +195,11 @@ Icon=$HOME/path/to/icons/nRF-Connect_desktop.png
Terminal=false Terminal=false
Categories=Development;Electronics; Categories=Development;Electronics;
StartupNotify=true StartupNotify=true
EOF_DESKTOP ```
safe and close and make executable:
```bash
chmod +x "$HOME/.local/share/applications/nrf-connect.desktop" 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 ### 5. Inside nRF Connect for Desktop
if not done yet (after test start)
1. Install the **Power Profiler** app. 1. Install the **Power Profiler** app.
2. Connect the **PPK2**. 2. Connect the **PPK2**.
@ -257,7 +283,7 @@ mkdir -p "$HOME/Desktop/AppImage"
cd "$HOME/Desktop/AppImage" cd "$HOME/Desktop/AppImage"
chmod +x nrfconnect-5.2.1-x86_64.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 ./nrfconnect-5.2.1-x86_64.AppImage --no-sandbox
``` ```