应用背景
平台:飞凌RK3399
系统:Ubuntu18.04 Lubuntu
显示架构:X11
个性化定制
1、修改任务栏为自动隐藏
步骤1: 挂载文件系统镜像
源码解读:
OK3399-desktop-release //飞凌释放的Ubuntu系统源码
OK3399-desktop-release/build_ubuntu.sh //编译Ubuntu的脚本
OK3399-desktop-release/rootfs/ubuntu.img //Ubuntu文件系统镜像
查看build_ubuntu.sh
function release_build()
{
...
sudo mount $TOP_DIR/rootfs/ubuntu.img $TOP_DIR/rootfs/target //挂载文件系统到target目录
...
sudo umount $TOP_DIR/rootfs/target //卸载文件系统
...
}
将卸载文件系统的命令注释掉,方便我们修改文件系统中的文件
#sudo umount $TOP_DIR/rootfs/target
步骤2: 修改任务栏为自动隐藏
修改lxpanel的相关配置,注意要使用root权限
sudo vi rootfs/target/home/forlinx/.config/lxpanel/Lubuntu/panels/panel
修改panel文件,在global字段中添加自动隐藏的属性:
Global {
...
autohide=1
heightwhenhidden=0
...
}

本文指导如何在飞凌OK3399的Ubuntu系统源码中,定制Lubuntu,包括挂载文件系统、修改任务栏设置、桌面背景和配置。重点介绍了如何修改lxpanel和壁纸,以及如何通过脚本重新编译以应用更改。
最低0.47元/天 解锁文章
4719





