how to remove xwayland desktop display in maaxboard zeus yocto image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to remove xwayland desktop display in maaxboard zeus yocto image

1,234 次查看
gonewithwind-peter
Senior Contributor I

hi all,

for our application, we use chromium webpage as GUI for users to operate menu and display.
but there is a time gap between the wayland windows desktop display(the left top  side is terminal Icon, top right side is time) and our chrome page.
 
Can we remove the xwayland  windows desktop display? or remove terminal Icon and time display to make the background as  same color or a picture?
 
Thank you very much.
0 项奖励
回复
2 回复数

1,222 次查看
gonewithwind-peter
Senior Contributor I

@Zhiming_Liu 

thanks

0 项奖励
回复

1,227 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

@gonewithwind-peter 

Yes you can. Remove the top side.

clients\desktop-shell.c

static void
parse_panel_position(struct desktop *desktop, struct weston_config_section *s)
{
	char *position;

	//desktop->want_panel = 1;
          desktop->want_panel = 0;

	weston_config_section_get_string(s, "panel-position", &position, "top");
	if (strcmp(position, "top") == 0) {
		desktop->panel_position = WESTON_DESKTOP_SHELL_PANEL_POSITION_TOP;
	} else if (strcmp(position, "bottom") == 0) {
		desktop->panel_position = WESTON_DESKTOP_SHELL_PANEL_POSITION_BOTTOM;
	} else if (strcmp(position, "left") == 0) {
		desktop->panel_position = WESTON_DESKTOP_SHELL_PANEL_POSITION_LEFT;
	} else if (strcmp(position, "right") == 0) {
		desktop->panel_position = WESTON_DESKTOP_SHELL_PANEL_POSITION_RIGHT;
	} else {
		/* 'none' is valid here */
		if (strcmp(position, "none") != 0)
			fprintf(stderr, "Wrong panel position: %s\n", position);
		desktop->want_panel = 0;
	}
	free(position);
}

 

 

0 项奖励
回复