当前位置:网站首页>[arm] add desktop application for buildreoot of rk3568 development board
[arm] add desktop application for buildreoot of rk3568 development board
2022-06-26 05:21:00 【Boiled cabbage】
The message is rk3568 Development board buildroot Add desktop app
Hardware preparation
Development board : The message is rk3568
The root file system :buildroot
System :Linux
To add a desktop application, you need to prepare three files : Desktop icon file 、xxx.desktop file 、 Executable application file
Desktop icon file
It is recommended to use Alibaba vector map website for downloading , The size of the icon is 128x128
Link directly to :https://www.iconfont.cn/
xx.desktop file
The contents of the document are as follows :
[Desktop Entry]
Name=Touch
Exec=/usr/bin/Touch
Icon=/usr/share/icon/ico_touch.png
Type=Application
Name Parameter indicates the text display under the desktop icon
Exec Represents the executable application path
Icon Is a desktop application icon file
Type Represents an application ( Whether there are other types of unknown details can go to buildroot The next path QT Analysis under desktop program )
The following executable program here directly uses the drawing program in the previous chapter to test .
Preparation on the development board
After the three documents have been prepared, the documents will be copied to nfs Folder , Then, copy the three files to the following path
Icon file
cp /mnt/QDesktop/ico_touch.png /usr/share/icon
Applications
cp /mnt/QDesktop/Touch /usr/bin/
The configuration file
cp /mnt/QDesktop/touch.desktop /usr/share/applications/
Then we restart the development board to see that our desktop application has been added , Final effect :
PS:
If we don't want to use this desktop, we can disable it in the following ways , You can also modify this script to start our own QT desktop ,buildroot This desktop lacks a lot of animation, and it is not perfect , When you have time to do a desktop transplant to this board .
边栏推荐
- The beautiful scenery is natural, and the wonderful pen is obtained by chance -- how is the "wonderful pen" refined?
- Beidou navigation technology and industrial application of "chasing dreams in space and feeling for Beidou"
- 瀚高数据库自定义操作符‘!~~‘
- Codeforces Round #800 (Div. 2)
- Henkel database custom operator '~~‘
- 百度API地图的标注不是居中显示,而是显示在左上角是怎么回事?已解决!
- app 应用安装到手机,不显示图标,引发的思考
- Excellent learning ability is your only sustainable competitive advantage
- Could not get unknown property ‘*‘ for SigningConfig container of type org.gradle.api.internal
- C# 39. Conversion between string type and byte[] type (actual measurement)
猜你喜欢

创建 SSH 秘钥对 配置步骤

Mongodb image configuration method

Codeforces Round #800 (Div. 2)

SOFA Weekly | 开源人—于雨、本周 QA、本周 Contributor

cartographer_ pose_ graph_ 2d

Baidu API map is not displayed in the middle, but in the upper left corner. What's the matter? Resolved!
Protocol selection of mobile IM system: UDP or TCP?

小小面试题之GET和POST的区别

Yunqi lab recommends experience scenarios this week, free cloud learning

Replacing domestic image sources in openwrt for soft routing (take Alibaba cloud as an example)
随机推荐
递归遍历目录结构和树状展现
Practical cases | getting started and mastering tkinter+pyinstaller
LeetCode 19. Delete the penultimate node of the linked list
Happy New Year!
PHP one sentence Trojan horse
FastAdmin Apache下设置伪静态
6.1 - 6.2 Introduction à la cryptographie à clé publique
cartographer_pose_graph_2d
Recursively traverse directory structure and tree presentation
百度API地图的标注不是居中显示,而是显示在左上角是怎么回事?已解决!
How to ensure the efficiency and real-time of pushing large-scale group messages in mobile IM?
Status of processes and communication between processes
[upsampling method opencv interpolation]
慢慢学JVM之缓存行和伪共享
The beautiful scenery is natural, and the wonderful pen is obtained by chance -- how is the "wonderful pen" refined?
Introduction to GUI programming to game practice (I)
[unity3d] human computer interaction input
PHP 2D / multidimensional arrays are sorted in ascending and descending order according to the specified key values
Douban top250
Serious hazard warning! Log4j execution vulnerability is exposed!