Background for Login screen?
#1
I love this skin, and I'm looking to bring a little more flavor to the login screen - maybe another viewtype, and a cool background picture as well. Is there a way to do this? Thank you!
I love my Mac Mini :;):
Reply
#2
Anyone?
I love my Mac Mini :;):
Reply
#3
You want to edit LoginScreen.xml

I did a very quick test (It's getting late) and came up with this just to see if it works.

Image

I had previously edited the file to remove the Profile Picture border and make the text bigger so that's a little more complicated but if you just want to add a unique background then remove "<include>Global_Background</include>" on line 6 and then directly below "<!-- Browser -->" add the following code:

Code:
<!-- Custom Login BG -->
        <control type="image">
            <include>Dimensions_Fullscreen</include>
            <texture>LoginBG.png</texture>
        </control>
Now, create a PNG image and place it in your Alaska\Media folder. I made my image 1280x720 but I'm sure it can be smaller.

Happy modding! Big Grin
Reply
#4
Wow that looks great, I will give it a try Big Grin By the way I am very interested in making the text bigger as well... I will fart around with it and see if I can get it to work. Thank you for your time!
I love my Mac Mini :;):
Reply
#5
UnisonRuss Wrote:Wow that looks great, I will give it a try Big Grin By the way I am very interested in making the text bigger as well... I will fart around with it and see if I can get it to work. Thank you for your time!

You're welcome and if it will help you, here are the contents of my LoginScreen.xml file. Note that this does NOT include the custom background code I explained previously. That was just a quick test to see if it would work. You can use WinMerge to compare the original Alaska xml file with this to see what changes I made.

Code:
<!--Alaska-->
<window id="29">
    <defaultcontrol always="true">52</defaultcontrol>
    <allowoverlay>no</allowoverlay>
    <controls>
        <include>Global_Background</include>
        <include>Global_Filter</include>
        <!-- Browser -->
        <control type="fixedlist" id="52">
            <posx>300</posx>
            <posy>90</posy>
            <height>500</height>
            <width>990</width>
            <onup>52</onup>
            <ondown>52</ondown>
            <onleft>7000</onleft>
            <onright>7000</onright>
            <viewtype label="List">list</viewtype>
            <orientation>vertical</orientation>
            <focusposition>2</focusposition>
            <itemlayout width="885" height="75">
                <control type="label">
                    <posx>220</posx>
                    <posy>3</posy>
                    <width>830</width>
                    <height>50</height>
                    <aligny>center</aligny>
                    <font>Font_ListTitleBig</font>
                    <textcolor>Text</textcolor>
                    <selectedcolor>ListSelectedNF</selectedcolor>
                    <label>$INFO
[ListItem.Label]</label>
                </control>
            </itemlayout>
            <focusedlayout width="828" height="224">
<!--
            <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>104</width>
                    <height>104</height>
                    <texture>list/listframe.png</texture>
                    <animation type="Focus" reversible="false">
                        <effect type="zoom" center="52,52" start="50" end="100" time="200" tween="cubic" easing="out" />
                        <effect type="fade" start="40" end="100" time="200" />
                    </animation>
                </control>
-->
                <control type="image">
                    <posx>12</posx>
                    <posy>12</posy>
                    <width>200</width>
                    <height>200</height>
                    <texture fallback="unknown-user.png" diffuse="list/listmatte.png">$INFO
[ListItem.Icon]</texture>
                    <aspectratio scalediffuse="false">stretch</aspectratio>
                    <animation type="Focus" reversible="false">
                        <effect type="zoom" center="52,52" start="50" end="100" time="200" tween="cubic" easing="out" />
                        <effect type="fade" start="40" end="100" time="200" />
                    </animation>
                </control>
                <control type="label">
                    <posx>220</posx>
                    <posy>60</posy>
                    <width>730</width>
                    <height>50</height>
                    <aligny>center</aligny>
                    <font>Font_ListTitleBigger</font>
                    <textcolor>TextFocused</textcolor>
                    <label>$INFO
[ListItem.Label]</label>
                </control>
                <control type="label">
                    <posx>220</posx>
                    <posy>90</posy>
                    <width>730</width>
                    <height>50</height>
                    <aligny>center</aligny>
                    <font>Font_ListTitleBig</font>
                    <textcolor>ListTitleFO</textcolor>
                    <label>$INFO
[ListItem.Label2]</label>
                </control>
            </focusedlayout>
        </control>
        <control type="grouplist" id="7000">
            <width>1100</width>
            <height>80</height>
            <posy>330</posy>
            <posx>140</posx>
            <onup>52</onup>
            <ondown>52</ondown>
            <itemgap>0</itemgap>
            <visible allowhiddenfocus="true">ControlGroup(7000).HasFocus</visible>
            <include>Animation_ZoomInMenu</include>
            <orientation>horizontal</orientation>
            <control type="button" id="104">
                <include>WindowMenuButton</include>
                <label>$LOCALIZE[40176]</label>
                <onclick>XBMC.Quit()</onclick>
                <animation type="conditional" condition="!ControlGroup(7000).HasFocus(104)">
                    <effect type="zoom" center="100,0" start="100" end="70" time="200" tween="cubic" easing="in" />
                    <effect type="fade" start="100" end="75" time="200" />
                </animation>
            </control>
        </control>
        <control type="grouplist">
            <include>WindowMenuVars</include>
            <posy>300</posy>
            <control type="button" id="40">
                <include>WindowMenuLabel</include>
                <label>$LOCALIZE[13012]</label>
                <animation type="conditional" condition="!ControlGroup(7000).HasFocus(104)">
                    <effect type="zoom" center="100,30" start="100" end="70" time="200" tween="cubic" easing="in" />
                    <effect type="fade" start="100" end="75" time="200" />
                </animation>
            </control>
        </control>
        <include>Global_Time</include>
        <include>Global_Heading</include>
        <include>Global_RSS</include>
        <include>Object_DebugGrid</include>
        <control type="group">
            <include>Debug</include>
            <visible>Skin.HasSetting(debugmode)</visible>
        </control>
    </controls>
</window>
Note that the floating Iron Man icon in my previous screenshot is a PNG file with a transparent background.
Reply

Logout Mark Read Team Forum Stats Members Help
Background for Login screen?0