jay's some development note
linux
driver
- ramfs、initrd
display
tools
others
jay's some development note
linux
driver
display
tools
others
/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-launch --exit-with-session x-session-manager
\_ openbox --config-file /home/pi/.config/openbox/lxde-rc.xml
\_ lxpolkit
\_ lxpanel --profile LXDE-pi
\_ pcmanfm --desktop --profile LXDE-pi
\_ xscreensaver -no-splash
\_ /usr/lib/chromium-browser/chrome-sandbox /usr/lib/chromium-browser/chromium-browser --type=zygote --user-data-dir=/tmp
| \_ chromium-browser --type=zygote --user-data-dir=/tmp
| \_ chromium-browser --type=zygote --user-data-dir=/tmp
| \_ /usr/lib/chromium-browser/chromium-browser --type=r
\_ chromium-browser --type=gpu-process --channel=30466.0.23259935 --user-data-dir=/tmp --supports-dual-gpus=false --gpu-driver-bu
./cat_fb.sh &&sz fb0.bmp
尝试直接将 chromium F11 全屏,无效。
$xdotool key F11
尝试设置chromium 窗口大小。
$xdotool search chromium-browser
$xdotool getwindowname 31457281
$xdotool windowsize 31457281 480 800
直接杀死chromium 窗口确定这里灰边为桌面背景。
$xdotool windowkill 29360131
直接启动chromium也确定未全屏。
$chromium-browser --start-maximized &
原来,chromium 有一个kiosk-mode专门用以全屏模式,尝试任然无效,所以推测很有可能是桌面环境设置的问题。
对比了正常和异常的桌面环境配置~/.config
对比,找到了/home/pi/.config/lxsession/LXDE/desktop.conf
不一致,同时也验证了窗口管理器openbox
未启动。
window_manager=openbox-lxde
windows_manager/command=openbox
windows_manager/session=LXDE
~/.config/lxsession/LXDE/desktop.conf
文件是来自于/etc/xdg/lxsession/LXDE/desktop.conf
拷贝。通过~/.cache/lxsession/LXDE/run.log
日志可以确定。
Message: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
Message: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/desktop.conf
Message: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/desktop.conf
Message: settings.vala:527: Key file does not have key 'iGtk/ColorScheme'
(lxsession:6879): WARNING **: settings.vala:889: Failed to create file '/etc/xdg/lxsession/LXDE/desktop.conf.LQE0UZ': Permission denied