<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-05-17 9:39 GMT+02:00 Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi all,<br><br></div>I've made a custom boot splash theme for Plymouth (see attached .tar.gz).<br><br></div>It shows our logo and a progress bar underneath.<br><br></div>The theme works great on my laptop (Thinkpad T440s), but when installed on the target machine, a stationary PC with an LCD panel (embedded application), the boot splash is shown in the top-left corner of the screen.<br><br></div>It's as if Plymouth (or something else involved?) is not getting the screen size/extents right.<br><br></div>Anyone bumped into this and know what the problem might be?<br><br></div>The graphics card used during booting is from Intel, and KMS is enabled.<br><br></div><div>I'll take a photograph of the bootup ASAP and send here.<br></div></div></div></blockquote><div><br></div><div>I've noticed one thing in the Kubuntu default theme now, it has these two functions defined:<br><br>Window.GetMaxWidth = fun() {<br>    width = 0;<br>    for (i = 0; Window.GetWidth(i); i++) {<br>        width = Math.Max(width, Window.GetWidth(i));<br>    }<br>    return width;<br>};<br><br>Window.GetMaxHeight = fun() {<br>    height = 0;<br>    for (i = 0; Window.GetHeight(i); i++) {<br>        height = Math.Max(height, Window.GetHeight(i));<br>    }<br>    return height;<br>};<br><br></div><div>This leads me to think that I need to do something similar. I didn't know Window.GetHeight/GetWidth could take a parameter. These functions don't seem to be used in the Kubuntu theme though.<br><br></div><div>Anyone who could shed some light on this? What is the parameter for? Will it give the width/height of the given screen (for multi-screen setups?).<br><br></div><div>Our machine has just one screen, but perhaps Plymouth somehow thinks it has several?<br><br></div><div>I'll experiment some with this later.<br><br></div><div>Elvis<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div></div><div><br></div>Many thanks in advance,<br></div>Elvis<br></div>
</blockquote></div><br></div></div>