Skip to main content
Associate III
Oct 6, 2023 12:55 PM UTC
Solved

Target selection: STM32 target or STM32Cube example selection is required

Running on Ubuntu

STM32CubeIDE

Version: 1.13.2

Build: 18220_20230914_1601 (UTC).

Fresh installation but just getting blank page saying "Target selection: STM32 target or STM32Cube example selection is required".

I've:

1. Checked for target selector device database updates

2. Checked for Embedded Software Packages Updates

3. Managed Embedded Software Packages and installed latest package for STMG0

Rebooted etc, but still getting this message and can't get past.

PS: STM32CubeIDE runs fine on Windows 11 connected to target board (Nucleo-64 G071RB)

DabboBest answer
Associate III
Oct 12, 2023 12:05 PM UTC

I have found solution. I am not expert, but it appears to be a x11/Wayland problem.

Solved by creating the below file which I called EDS_STM32CubeIDE_1.13.2.desktop and putting it in /usr/share/applications (and using CHMOD +x to make it executable). The key part being "Exec=env GDK BACKEND=x11"

[Desktop Entry]
Name=EDS_STM32CubeIDE
Exec=env GDK_BACKEND=x11 /opt/st/stm32cubeide_1.13.2/stm32cubeide
Type=Application
Icon=/usr/share/applications/teapot.xpm
Categories=Development;

26 replies

Associate II
Jan 5, 2024 7:22 AM UTC

Hello,

yes this hidden directory contains very sensitive data that sometimes make the whole thing unstable.

I had to delete some parts of it regularly to overcome issues at start.

Please someone at ST can confirm this will be fixed ?

And I repeat, there is no mention in the documentation about the specific install script for Wayland. Someone at ST can confirm this will be documented ?

Associate II
Jan 19, 2024 7:21 AM UTC

Any update about this topic ?

Associate
Aug 9, 2024 9:57 AM UTC

I use "stm32cubeide_wayland" instead of "stm32cubeide", and it works

(linux installation (1.16.0) on an Ubuntu 24.04LTS)