分类 ubuntu 下的文章

linux gtk 编程


目录 [隐藏]I. design notesII. troubleshootscannot open display gtk programTop 5 Programming Languages For Developing Linux Desktop Applicationshttps://www.gtk.org/Overview of GTK+ and its LibrariesGTK+ 3 Reference Manual安装开发包和下载源码$sudo apt-get install libgtk-3-dev $sudo apt-get source libgtk-3...

跨平台更新制作rootfs


目录 [隐藏]I. qemu-debootstrapII. arm64 debian jessieIII. chroot 跨平台更新制作rootfs在x64( pc /ubuntu 18.10 )跨平台编译arm64 的debian rootfs完整镜像,通常地,更新rootfs都是直接放在目标机上面,制作更新好rootfs后再拷贝回编译机。对于目标机平台,通常拷贝rootfs需要非运行时环境,所以例如在emmc的rootfs需要通过sd卡系统启动去执行拷贝操作。同时拷贝/压缩还需要关心文件的uid、gid、用户名、组名、执行权限。稍不注意,功亏一篑。这里通过介绍qemu...

docker


目录 [隐藏]I. dockerII. docsimagecontainerIII. dirs I. dockerinstall初次安装;http proxyhttp 代理Get Started详细介绍 images、container、service、stack概念和层次关系,梳理docker基本操作。Docker overviewDockerfile referencedockerfile 语法参考。Compose file version 3 referenceservice 描述文件 compose file语法参考。docker ps 命令https://do...

man bash redirection


目录 [隐藏]I. REDIRECTIONRedirecting InputRedirecting OutputAppending Redirected OutputRedirecting Standard Output and Standard ErrorAppending Standard Output and Standard ErrorHere DocumentsHere StringsDuplicating File DescriptorsMoving File DescriptorsOpening File Descriptors for Reading and Writi...

chromium is‘t full screen


chromium is‘t full screen/usr/sbin/lightdm \_ /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch \_ lightdm --session-child 13 16 \_ /usr/bin/lxsession -s LXDE -e LXDE \_ /usr/bin/unclutter -idle 1 -root \_ /usr/bin/ssh-agent /usr/bin/dbus-l...

shell command


Shell 命令对于Shell命令我们要区分bash 内置(bash built in )和GNU 开源软件包以及三方软件包。对于所有命令我们都可以尝试whereis 确定可执行文件、源码、和手册路径。#man whereis whereis - locate the binary, source, and manual page files for a com- mand # whereis whereis whereis: /usr/bin/whereis /usr/share/man/man1/whereis.1.gz 同时可以可以通过which确定当前环境变量下的命令位置#...

lightdm


目录 [隐藏]I. 什么是DM?II. 设计目标III. DefinitionsIV. RequirementsV. ImplementationVI. Inter-process Relationships LightDM DesignI. 什么是DM?DM(显示管理器)功能如下:启动和管理本地实例化的X Server;用户认证;启动和管理用户回话(常用情景);在boot过程中,单例启动X 服务器和开始一个用户会话((kiosk mode));在boot过程中,单例启动 X服务器,显示用户登录界面,在连接时启动用户会话;支持多用户同时登录,用户选择具体用户登录,...

ramfs


目录 [隐藏]I. What is ramfs?II. ramfs and ramdiskIII. ramfs and tmpfs ramfsI. What is ramfs?Ramfs is a very simple FileSystem that exports Linux's disk cacheing mechanisms (the page cache and dentry cache) as a dynamically resizable ram-based filesystem.ramfs 是一个基于linux缓存机制(page cache and de...

v4l2 driver framework code review


目录 [隐藏]I. 术语解释II. 启动流程III. 驱动框架kernel spaceuserspace v4l2 drvier framework code reviewI. 术语解释术语解释vfevideo front end driverccicamera control interfacecsicamera serial interfaceII. 启动流程$dmesg -T |egrep -i 'vfe|ov5640|v4l|csi|cci'如上启动顺序csi、cci、mipi 等外设初始化;vfe控制 v4l2 启动;vfe在初始化 v4l2-device...

使用VS2017 开发Linux C应用


目录 [隐藏]includelibI. TroubleShootingUnexpected GDB output from commandCannot insert breakpoint -1.Could not find the 'zip' archiverOperation not permittedMicrosoft.Build.Linux.Shared.ExceptionTTYcannot open display 使用VS2017 开发Linux C应用Visual C++ for Linux Development依赖环境sudo apt-get install ...