Commits

Ulrich Hansen  committed 01c01d4

Improved the KDM theme to share the look of the Plymouth and the Grub theme.

  • Participants
  • Parent commits 7315f6e

Comments (0)

Files changed (14)

File kdm-theme/theme/KdmGreeterTheme.desktop

 [KdmGreeterTheme]
 Encoding=UTF-8
-Greeter=growing.xml
-Name=growing
-Description=Growing-Theme by Franz Gratzer
-Author=Ulrich Hansen, Franz Gratzer
-Copyright=(c) 2012 Ulrich Hansen <uhansen@debianart.org> and Franz Gratzer <franz.gratzer@fsfe.org> (GNU GPL2 or later)
+Greeter=desktop-theme-package.xml
+Name=desktop-theme-package
+Description=KDM Meta theme for theme packages
+Author=Ulrich Hansen
+Copyright=(c) 2012 Ulrich Hansen <uhansen@debianart.org>, (c) 2010 Roman Shtylman <shtylman@gmail.com>
 Screenshot=screenshot.png

File kdm-theme/theme/boundingbox.png

Removed
Old image

File kdm-theme/theme/desktop-theme-package.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE greeter SYSTEM "greeter.dtd">
+
+<greeter id="theme">
+	<style font="Sans 12" window-text-color="#bfd9ff"
+	       base-color="#bfd9ff" alternate-base-color="#666666"
+	       text-color="#555555" disabled-text-color="#999999"
+	       base-alpha="0" 
+	       disabled-base-color="#ff0000"
+	       disabled-base-alpha="0.25" 
+	       disabled-highlight-alpha="0"
+	       frame="false" />
+	       
+	<item type="pixmap" id="background" background="true">
+		<normal file="/usr/share/images/desktop-base/desktop-login" scalemode="scale"/>
+		<pos x="0" y="0" width="100%" height="100%"/>
+	</item>
+        <!-- The system name -->
+	<item type="pixmap" id="system-session">
+	  <normal file="rectangle.png"/>
+	  <pos anchor="c" x="50%" y="50%" width="338" height="219"/>
+	  <fixed>
+            <item type="label" id="welcome">
+	      <pos anchor="nw" x="90" y="36"/>
+	      <normal font="Cantarell 16" color="#767677"/>
+	      <text>%h</text>
+            </item>
+	  </fixed>
+	</item>
+    
+	
+	<item type="rect">
+        <pos anchor="c" x="50%" y="50%" width="328" height="100"/>
+		<box orientation="vertical" spacing="10" homogeneous="true">
+            
+		<item type="rect" id="user-field">
+			<pos anchor="c" x="50%" y="70%" width="328" height="box"/>
+			<fixed>
+                
+                    <item type="pixmap">
+                        <pos anchor="w" x="42" y="50%"/>
+                        <normal file="lineedit_normal.png"/>
+                    </item>
+                    
+                    <item type="entry" id="user-entry">
+                        <pos anchor="w" x="52" y="50%" width="200" height="20"/>
+			<style edit-font="Cantarell 12"/>
+                    </item>
+
+                    <item type="pixmap">
+                        <pos anchor="w" x="250" y="50%"/>
+                        <normal file="user_icon.png"/>
+                    </item>
+
+                </fixed>
+            </item>
+            
+            <item type="rect" id="user-field2">
+                <pos anchor="c" x="50%" y="47%" width="328" height="box"/>
+                <fixed>
+                
+                    <item type="pixmap">
+                        <pos anchor="w" x="42" y="50%"/>
+                        <normal file="lineedit_normal.png"/>
+                    </item>
+                    
+                    <item type="entry" id="pw-entry">
+                        <pos anchor="w" x="52" y="50%" width="200" height="20"/>
+			<style edit-font="Cantarell 12"/>
+                    </item>
+
+                    <item type="pixmap" button="true">
+                        <pos anchor="w" x="250" y="50%"/>
+                        <normal file="lock.png"/>
+                    </item>
+
+
+                </fixed>
+            </item>
+		</box>
+	</item> 
+	
+	<item type="rect" id="system-session">
+        <pos anchor="c" x="50%" y="50%" width="338" height="219"/>
+        <fixed>
+            <!-- Here comes the time and date -->
+            <item type="label">
+                <pos anchor="se" x="-15" y="-2"/>
+                <normal font="Cantarell 8" color="#767677"/>
+                <text>%c</text>
+            </item>
+            
+            <!-- The button for shutdown and reboot -->
+            <item type="pixmap" id="system_button" button="true">
+                <normal alpha="0.8" file="system_normal.png"/>
+                <prelight file="system_active.png"/>
+                <active file="system_active.png"/>
+                <pos anchor="nw" x="24" y="11"/>
+            </item>
+
+            <!-- The button for switching to KDE/Gnome etc. -->
+            <item type="pixmap" id="session_button" button="true">
+                <normal alpha="0.8" file="session_normal.png"/>
+                <prelight file="session_active.png"/>
+                <active file="session_active.png"/>
+                <pos anchor="sw" x="29" y="-10"/>
+            </item>
+	</fixed>
+    </item>
+
+
+	<item type="rect" id="caps-lock-warning">
+        <pos anchor="c" x="50%" y="50%" width="650" height="274"/>
+        <fixed>
+                <item type="label" id="mes3age">  
+                <normal color="#f29d9a" font="Cantarell Bold 10"/>
+                <pos anchor="s" x="48%" y="80%"/>
+                <stock type="caps-lock-warning" />  
+            </item>	
+        </fixed>
+	</item>
+
+<!--
+	<item type="rect" id="caps-lock-warning">
+	  <pos anchor="c" x="50%" y="50%" width="338" height="219"/>
+	  <fixed>
+            <item type="label" id="messsage">
+	      <pos anchor="nw" x="90" y="36"/>
+	      <normal font="Cantarell 10" color="#f29d9a"/>
+	      <stock type="caps-lock-warning"/>
+      <text>%h</text> 
+            </item>
+	  </fixed>
+	</item>
+-->
+
+
+	<item type="rect" id="pam-error-paceholder">
+	<pos anchor="c" x="50%" y="98%" widht="615" height="200"/>
+		<item type="label" id="dummy1">
+			<normal alpha="0" color="#f2d89a" font="Cantarell 10"/>
+			<!-- </text> -->
+		</item>
+		
+		<item type="label" id="pam-error">
+			<pos anchor="c" x="50%" y="50%" expand="true"/>
+			<normal alpha="0" color="#f2d89a" font="Cantarell 10"/>
+			<!-- </text> -->
+		</item>
+
+	</item>
+
+</greeter>

File kdm-theme/theme/growing.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE greeter SYSTEM "greeter.dtd">
-<greeter>
-
-<!-- main pic, login pic -->
-<item type="pixmap">
-	<normal file="/usr/share/images/desktop-base/desktop-login" scalemode="scale"/>
-	<pos x="0" y="0" width="100%" height="100%"/>
-
-	<fixed>
-	<item type="pixmap">
-		<normal file="boundingbox.png"/>
-		<pos anchor="c" x="50%" y="50%" width="400" height="282"/>
-
-		<!-- Welcome -->
-		<fixed>
-		<item type="label">
-			<pos anchor="nc" x="50%" y="18%"/>
-			<normal color="#ffffff" font="URW Gothic L 18"/>
-			<stock type="welcome-label"/>
-		</item>
-		</fixed>
-
-		<fixed>
-		<item type="rect">
-			<normal color="#ffff00" alpha="0.0"/>
-			<pos anchor="e" x="50%" y="50%" width="190" height="180"/>
-
-			<!-- username-label -->
-			<fixed>
-			<item type="label">
-				<pos anchor="ne" x="84%" y="36%"/>
-				<normal color="#ffffff" font="URW Gothic L 12"/>
-				<stock type="username-label"/>
-			</item>
-			</fixed>
-
-			<!-- password-label -->
-			<fixed>
-			<item type="label">
-				<pos anchor="ne" x="84%" y="56%"/>
-				<normal color="#ffffff" font="URW Gothic L 12"/>
-				<stock type="password-label"/>
-			</item>
-			</fixed>
-		</item>
-		</fixed>
-
-		<fixed>
-		<item type="rect">
-			<normal color="#00ffff" alpha="0.0"/>
-			<pos anchor="w" x="50%" y="50%" width="190" height="180"/>
-
-			<!-- username-entry -->
-			<fixed>
-			<item type="entry" id="user-entry">
-				<pos anchor="n" x="30%" y="35%" height="25" width="126"/>
-				<style edit-font="URW Gothic L 12"/>
-			</item>
-			</fixed>
-
-			<!-- password-entry -->
-			<fixed>
-			<item type="entry" id="pw-entry">
-				<pos anchor="n" x="30%" y="55%" height="25" width="126"/>
-				<style edit-font="URW Gothic L 12"/>
-			</item>
-			</fixed>
-		</item>
-		</fixed>
-	</item>
-	</fixed>
-
-	<!-- capslock-warning -->
-	<fixed>
-	<item type="rect" id="caps-lock-warning">
-		<pos anchor="c" x="50%" y="50%" width="box" height="box"/>
-		<box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
-			<item type="label">
-				<normal color="#ffffff" font="URW Gothic L 12"/>
-				<pos anchor="n" x="50%" y="90"/>
-				<stock type="caps-lock-warning"/>
-			</item>
-		</box>
-	</item>
-	</fixed>
-
-	<!-- Login-Error -->
-	<fixed>
-	<item type="rect" id="pam-error">
-		<pos anchor="c" x="50%" y="50%" width="box" height="box"/>
-		<box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
-			<item type="label">
-				<normal color="#ffffff" font="URW Gothic L 12"/>
-				<pos anchor="n" x="50%" y="60"/>
-				<text>Login failed.</text>
-			</item>
-		</box>
-	</item>
-	</fixed>
-
-</item>
-
-<!-- icons and text in bottom bar -->
-<item type="rect">
-	<pos x="0" y="-60" width="100%" height="60"/>
-
-	<fixed>
-	<item type="pixmap" id="session_button" button="true">
-		<normal file="icon-session.png"/>
-		<pos x="20" y="20"/>
-	</item>
-	</fixed>
-
-	<!-- session-button -->
-	<fixed>
-	<item type="rect" id="session_button" button="true">
-		<pos x="60" y="30" width="110" height="100%"/>
-		<fixed>
-		<item type="label">
-			<normal color="#ffffff" font="URW Gothic L 12"/>
-			<prelight color="#bbbbbb" font="URW Gothic L 12"/>
-			<active color="#bbbbbb" font="URW Gothic L 12"/>
-			<pos y="0" x="0"/>
-			<stock type="session"/>
-		</item>
-		</fixed>
-	</item>
-	</fixed>
-
-	<fixed>
-	<item type="pixmap" id="system_button" button="true">
-		<normal file="icon-reboot.png"/>
-		<pos x="180" y="20"/>
-	</item>
-	</fixed>
-
-	<!-- menu-button -->
-	<fixed>
-	<item type="rect" id="system_button" button="true">
-		<show modes="console" type="system"/>
-		<pos x="215" y="30" width="50" height="100%"/>
-		<fixed>
-		<item type="label">
-			<normal color="#ffffff" font="URW Gothic L 12"/>
-			<prelight color="#bbbbbb" font="URW Gothic L 12"/>
-			<active color="#bbbbbb" font="URW Gothic L 12"/>
-			<pos y="0" x="0"/>
-			<stock type="system"/>
-		</item>
-		</fixed>
-	</item>
-	</fixed>
-
-	<!-- clock -->
-	<fixed>
-	<item type="label" id="clock">
-		<normal color="#ffffff" font="URW Gothic L 12"/>
-		<pos anchor="se" x="-20" y="-10"/>
-		<text>%c</text>
-	</item>
-	</fixed>
-</item>
-</greeter>

File kdm-theme/theme/icon-reboot.png

Removed
Old image

File kdm-theme/theme/icon-session.png

Removed
Old image

File kdm-theme/theme/lineedit_normal.png

Added
New image

File kdm-theme/theme/lock.png

Added
New image

File kdm-theme/theme/rectangle.png

Added
New image

File kdm-theme/theme/session_active.png

Added
New image

File kdm-theme/theme/session_normal.png

Added
New image

File kdm-theme/theme/system_active.png

Added
New image

File kdm-theme/theme/system_normal.png

Added
New image

File kdm-theme/theme/user_icon.png

Added
New image