Skip to main content
Associate II
April 28, 2024
Question

desktop shortcut on stm32mp157F dk2

  • April 28, 2024
  • 1 reply
  • 2037 views

I have a python script. Do I want to launch it when the platform starts or by touching the screen?

how to create a custom desktop shortcut on stm32mp157-dk2?

This topic has been closed for replies.

1 reply

Erwan SZYMANSKI
Technical Moderator
April 30, 2024

Hello @karu2003 ,
If you can see the GTK demo launcher on your board, and you want to add your own one on it, please follow this article : https://wiki.st.com/stm32mpu/wiki/GTK_demo_launcher#How_to_add_a_new_demo_application

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
karu2003Author
Associate II
May 1, 2024

I don't have GTK demo launcher. I need python , scipy , pandas, qt and ... for work.

Erwan SZYMANSKI
Technical Moderator
May 13, 2024

@karu2003 ,
So can you please precise what do you call "a dekstop shortcut" in the context of the STM32MP1 ? 
If you want to automatically launch an application at the start of the board, you can create a service  working with systemd (see systemd documentation).

As another solution, you can also place a launching script in /etc/profile.d/ that is a specific folder where each script inside will be run after the start of the platform. 

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.