当前位置:网站首页>【ARM】讯为rk3568开发板buildroot添加桌面应用
【ARM】讯为rk3568开发板buildroot添加桌面应用
2022-06-26 05:15:00 【凉开水白菜】
讯为rk3568开发板buildroot添加桌面应用
硬件准备
开发板:讯为rk3568
根文件系统:buildroot
系统:Linux
添加桌面应用需要准备三个文件:桌面图标文件、xxx.desktop文件、可执行应用文件
桌面图标文件
推荐使用阿里巴巴矢量图网站进行下载,图标的尺寸为128x128
链接直达:https://www.iconfont.cn/
xx.desktop文件
该文件内容如下:
[Desktop Entry]
Name=Touch
Exec=/usr/bin/Touch
Icon=/usr/share/icon/ico_touch.png
Type=Application
Name参数表示桌面图标下的文字显示
Exec表示可执行程序应用路径
Icon是桌面应用图标文件
Type表示应用程序(是否有其他类型暂时未知详细可以去buildroot路径下的QT桌面程序下分析)
下面的可执行程序这里直接使用上一章的画图程序进行试验。
开发板上的准备
三个文件准备齐全过后讲文件拷贝到nfs文件夹,然后讲三个文件分别拷贝到下面路径
图标文件
cp /mnt/QDesktop/ico_touch.png /usr/share/icon
应用程序
cp /mnt/QDesktop/Touch /usr/bin/
配置文件
cp /mnt/QDesktop/touch.desktop /usr/share/applications/
然后我们重启开发板就可以看到我们的桌面应用已经添加上了,最终效果:
PS:
如果我们不想使用这个桌面也可以通过下面的方式将桌面禁用,也可以修改这个脚本来启动我们自己编写的QT桌面,buildroot这个桌面缺少了很多动画确实做的不是很完美,等有时间做一个桌面移植到这个板子上。
边栏推荐
- CMakeLists. txt Template
- cartographer_ pose_ graph_ 2d
- Ad tutorial series | 4 - creating an integration library file
- Douban top250
- One of token passing between microservices @feign's token passing
- Sentimentin tensorflow_ analysis_ layer
- Implementation of IM message delivery guarantee mechanism (II): ensure reliable delivery of offline messages
- cartographer_ local_ trajectory_ builder_ 2d
- Mise en œuvre du routage dynamique par zuul
- app 应用安装到手机,不显示图标,引发的思考
猜你喜欢

Image translation /gan:unsupervised image-to-image translation with self attention networks

Tensorflow and deep learning day 3

Ai+ remote sensing: releasing the value of each pixel

Serious hazard warning! Log4j execution vulnerability is exposed!

cartographer_pose_graph_2d

cartographer_ local_ trajectory_ builder_ 2d

Codeforces Round #802 (Div. 2)(A-D)

ModuleNotFoundError: No module named ‘numpy‘

创建 SSH 秘钥对 配置步骤

【上采样方式-OpenCV插值】
随机推荐
Chapter 9 setting up structured logging (I)
[geek] product manager training camp
ECCV 2020 double champion team, take you to conquer target detection on the 7th
Codeforces Round #800 (Div. 2)
date_ Range creation date range freq parameter value table and creation example
RESNET in tensorflow_ Train actual combat
Lstms in tensorflow_ Cell actual combat
Two step processing of string regular matching to get JSON list
AD教程系列 | 4 - 创建集成库文件
瀚高数据库自定义操作符‘!~~‘
Guanghetong and anti international bring 5g R16 powerful performance to the AI edge computing platform based on NVIDIA Jetson Xavier nx
Practical cases | getting started and mastering tkinter+pyinstaller
What is UWB in ultra-high precision positioning system
Ad tutorial series | 4 - creating an integration library file
cartographer_ pose_ graph_ 2d
Computer Vision Tools Chain
Difference between return and yield
[unity3d] collider assembly
Happy New Year!
Thoughts triggered by the fact that app applications are installed on mobile phones and do not display icons