当前位置:网站首页>【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这个桌面缺少了很多动画确实做的不是很完美,等有时间做一个桌面移植到这个板子上。
边栏推荐
- [greedy college] recommended system engineer training plan
- Sentimentin tensorflow_ analysis_ cell
- C# 40. Byte[] to hexadecimal string
- How to select the data transmission format of instant messaging application
- PHP one sentence Trojan horse
- Use to_ Numeric to numeric type
- Resample
- 【上采样方式-OpenCV插值】
- Guanghetong and anti international bring 5g R16 powerful performance to the AI edge computing platform based on NVIDIA Jetson Xavier nx
- Secondary bootloader about boot28 Precautions for ASM application, 28035
猜你喜欢

-Discrete Mathematics - Analysis of final exercises

Setting pseudo static under fastadmin Apache

86. (cesium chapter) cesium overlay surface receiving shadow effect (gltf model)

The first gift of the project, the flying oar contract!

The localstorage browser stores locally to limit the number of forms submitted when tourists do not log in.

AD教程系列 | 4 - 创建集成库文件

红队得分方法统计

【Unity3D】人机交互Input

cartographer_local_trajectory_builder_2d

cartographer_ backend_ constraint
随机推荐
FastAdmin Apache下设置伪静态
【Unity3D】人机交互Input
Douban top250
Schematic diagram of UWB ultra high precision positioning system
Experience of reading the road to wealth and freedom
Second day of deep learning and tensorfow
ThreadPoolExecutor实现文件上传批量插入数据
二次bootloader关于boot28.asm应用的注意事项,28035的
Pycharm package import error without warning
Machine learning final exercises
The wechat team disclosed that the wechat interface is stuck with a super bug "15..." The context of
Technical past: tcp/ip protocol that has changed the world (precious pictures, caution for mobile phones)
Transport layer TCP protocol and UDP protocol
6.1 - 6.2 Introduction à la cryptographie à clé publique
cartographer_backend_constraint
The beautiful scenery is natural, and the wonderful pen is obtained by chance -- how is the "wonderful pen" refined?
thread priority
Tensorflow visualization tensorboard "no graph definition files were found." error
2021年OWASP-TOP10
[geek] product manager training camp