|
楼主 |
发表于 2018-6-27 14:43:49
|
显示全部楼层
这个是qt新建工程后自带的设置,我去掉后还是有这个标题栏,如上图(test2是工程名字),感觉和matchbox-window-manager这个有关,但是试过一些方法不知道怎么去掉,我的/etc/matchbox/session得配置如下:(matchbox-desktop 和matchbox-panel我都注释掉了)
#!/bin/sh
. /etc/formfactor/config
if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
SHOWCURSOR="no"
else
SHOWCURSOR="yes"
fi
if [ "$HAVE_KEYBOARD" = "1" ]; then
KEYBOARD_APPLET=""
else
KEYBOARD_APPLET="keyboard"
fi
# Tell GTK+3 we really want server side decorations, even with
# GtkHeaderBar using applications: Without that mb-panel will render
# on top of the client side decorations.
export GTK_CSD=0
#matchbox-desktop &
/pul/test2 &
# Lines containing feature-[foo] are removed at build time if the machine
# doesn't have the feature "foo".
START_APPLETS=showdesktop,windowselector
END_APPLETS=clock,battery,$KEYBOARD_APPLET,systray,startup-notify,notify
#matchbox-panel --titlebar --start-applets $START_APPLETS --end-applets $END_APPLETS &
exec matchbox-window-manager
#exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@ |
|