diff options
author | Jonathan Bauer | 2016-12-23 13:12:09 +0100 |
---|---|---|
committer | Jonathan Bauer | 2016-12-23 13:12:09 +0100 |
commit | 6806ae4a850fc7785a8c05304237cf53b5b8f951 (patch) | |
tree | b1dd8413d6c7b9a250251da7f0d49bb52b4ddc57 /core/modules/kdm-theme-bwlp | |
parent | wrong kernel version variable used (diff) | |
download | mltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.tar.gz mltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.tar.xz mltk-6806ae4a850fc7785a8c05304237cf53b5b8f951.zip |
merge with latest dev version (tm-scripts commit f5a59daf8d70a9027118292cd40b18c221897408)
Diffstat (limited to 'core/modules/kdm-theme-bwlp')
15 files changed, 451 insertions, 0 deletions
diff --git a/core/modules/kdm-theme-bwlp/data/etc/kde4/kdm/kdmrc b/core/modules/kdm-theme-bwlp/data/etc/kde4/kdm/kdmrc new file mode 100644 index 00000000..3690c3c6 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/etc/kde4/kdm/kdmrc @@ -0,0 +1,55 @@ +[General] +PidFile=/var/run/kdm.pid +ServerVTs=-7 +# Always spawn :0 (this is the default but it won't hurt) +StaticServers=:0 +GreeterUID=kdm + +[X-*-Greeter] +UseTheme=true +Theme=/usr/share/desktop/themes/kdm/bwlehrpool +UseBackground=false +GreetString=bwLehrpool Workstation (%h) +SelectedUsers= +UserList=false +AuthComplain=true +AntiAliasing=true + +[X-:*-Greeter] +AllowClose=false +UseAdminSession=true + +[X-:0-Greeter] +LogSource=/dev/xconsole +PreselectUser=None +UseAdminSession=false + +[X-*-Core] +AllowRootLogin=true +AllowShutdown=All +AutoLoginEnable=false +AutoLoginAgain=true +AutoLoginDelay=5 +ServerAttempts=2 +# Custom directory so kdm never sees any other sessions - it's up to the vmchooser to list them +SessionsDirs=/opt/openslx/xsessions +TerminateServer=true + +# Session is executed to start the user's session (as the user) +# "One of the keywords failsafe, default or custom, or a string to eval by a Bourne-compatible shell is passed as the first argument." +Session=/etc/X11/Xsession +# Reset is run after a session terminates (as root) +Reset=/etc/X11/Xreset +# Setup is executed once before the greeter starts (as root) +Setup=/etc/X11/Xsetup +# Startup is executed on successful authentication, before the session is opened (as root) +Startup=/etc/X11/Xstartup + +[Shutdown] +AllowFifo=false +HaltCmd=/usr/bin/systemctl poweroff +RebootCmd=/usr/bin/systemctl reboot + +[Xdmcp] +Enable=false + diff --git a/core/modules/kdm-theme-bwlp/data/etc/systemd/system/kdm-hwinfo-warnings.service b/core/modules/kdm-theme-bwlp/data/etc/systemd/system/kdm-hwinfo-warnings.service new file mode 100644 index 00000000..39f101c8 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/etc/systemd/system/kdm-hwinfo-warnings.service @@ -0,0 +1,9 @@ +[Unit] +Description=Patch warnings into KDM theme +After=hardware-stats.service mount-vm-store.service +Before=kdm.service + +[Service] +Type=oneshot +ExecStart=/opt/openslx/scripts/systemd-kdm_hwinfo_warnings +RemainAfterExit=yes diff --git a/core/modules/kdm-theme-bwlp/data/etc/systemd/system/multi-user.target.wants/kdm-hwinfo-warnings.service b/core/modules/kdm-theme-bwlp/data/etc/systemd/system/multi-user.target.wants/kdm-hwinfo-warnings.service new file mode 120000 index 00000000..e6de5e15 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/etc/systemd/system/multi-user.target.wants/kdm-hwinfo-warnings.service @@ -0,0 +1 @@ +../kdm-hwinfo-warnings.service
\ No newline at end of file diff --git a/core/modules/kdm-theme-bwlp/data/opt/openslx/scripts/systemd-kdm_hwinfo_warnings b/core/modules/kdm-theme-bwlp/data/opt/openslx/scripts/systemd-kdm_hwinfo_warnings new file mode 100755 index 00000000..8b37de80 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/opt/openslx/scripts/systemd-kdm_hwinfo_warnings @@ -0,0 +1,66 @@ +#!/bin/ash + +patch_kdm_theme() { + local THEME_FILE="/usr/share/desktop/themes/kdm/bwlehrpool/theme.xml" + [ -s "$THEME_FILE" ] || return 0 + local TMP=$(mktemp) + [ -z "$TMP" ] && TMP="/tmp/kdm-$$-$(whoami)-$?-$!-tmp" + sed '/INFO_START_MARKER/,/INFO_END_MARKER/{//!d};/INFO_START_MARKER/a REPLACE_MARKER' "$THEME_FILE" > "$TMP" + local DATA= + build_replacement_xml + awk -v r="$DATA" '{gsub(/REPLACE_MARKER/,r)}1' "$TMP" > "$THEME_FILE" +} + +build_replacement_xml() { + local TEMPLATE=' +<item type="label"> + <normal color="_COLOR_" font="Sans 11"/> + <text>_TEXT_</text> +</item>' + . "/run/hwinfo" + local CONTACT_RZ= + # Warning: add_replace_xml doesn't escape <>& (XML), and also doesn't escape , and & (sed), so e.g. < should be written as \< + # Also don't use # as it's the sed delimiter + if [ "$HW_KVM" = "DISABLED" ]; then + add_replace_xml "ff0000" "* 64Bit-Gast-Support (VT-x oder AMD-V) ist im BIOS deaktiviert. 64Bit VMs können nicht gestartet werden." + CONTACT_RZ=jau + elif [ "$HW_KVM" = "UNSUPPORTED" ]; then + add_replace_xml "000000" "* CPU hat keinen 64Bit-Gast-Support (VT-x oder AMD-V). 64Bit VMs können nicht gestartet werden." + fi + if [ -n "$HW_MBRAM" ] && [ "$HW_MBRAM" -lt 3400 ]; then + local GB=$(( ( HW_MBRAM + 300 ) / 1024 )) + add_replace_xml "000000" "* Dieser PC hat wenig RAM (${GB}GB). Die Leistung von VM-Sitzungen wird nicht optimal sein." + fi + if [ "$HW_ID44" = "0" ]; then + add_replace_xml "000000" "* Keine ID44-Partition gefunden. VMs bekommen wenig RAM zugewiesen." + if [ "$HW_HDDCOUNT" = "0" ]; then + add_replace_xml "000000" " Keine Festplatte erkannt; eine Festplatte wird empfohlen, wenn Sie VMs nutzen wollen." + elif [ -n "$HW_HDDCOUNT" ]; then + CONTACT_RZ=klar + fi + if [ -n "$HW_MBRAM" ] && [ "$HW_MBRAM" -lt 4500 ]; then + add_replace_xml "ff0000" " Da der PC wenig RAM hat, ist die Einrichtung einer ID44-Partition dringend zu empfehlen." + fi + elif [ -n "$HW_ID44" ] && [ "$HW_ID44" -lt 10000 ]; then + add_replace_xml "000000" "* Die ID44-Partition ist sehr klein. VM-Sitzungen könnten nach einiger Zeit aus Speichermangel abstürzen." + CONTACT_RZ=fjeden + fi + if ! systemctl status mount-vm-store >/dev/null; then + add_replace_xml "ff0000" "* Der VM-Store konnte nicht eingehängt werden. VMs können nicht gestartet werden." + add_replace_xml "ff0000" " Versuchen Sie das Problem zu lösen, indem Sie den Computer neu starten." + fi + if [ -n "$CONTACT_RZ" ]; then + add_replace_xml "000000" " -- " + add_replace_xml "000000" " -- Wenden Sie sich ggf. an den bwLehrpool-Support Ihres Rechenzentrums -- " + fi +} + +add_replace_xml() { + [ -z "$DATA" ] && DATA=$(echo "$TEMPLATE" | sed "s,_COLOR_,#000000,;s,_TEXT_,Hinweise für den Admin/Hardware-Betreuer:,") + DATA="$DATA $(echo "$TEMPLATE" | sed "s,_COLOR_,#$1,;s#_TEXT_#$2#")" +} + + + +patch_kdm_theme + diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/KdmGreeterTheme.desktop b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/KdmGreeterTheme.desktop new file mode 100644 index 00000000..6ebf8249 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/KdmGreeterTheme.desktop @@ -0,0 +1,7 @@ +[KdmGreeterTheme] +Encoding=UTF-8 +Greeter=theme.xml +Name=bwLehrpool KDM theme +Description=Basic bwLehrpool KDM Theme +Author=Base by aceph <aceph@ventcore.net>, modified by MJanc, sr +Copyright=Creative Commons diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/bwLehrpool-white.svg b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/bwLehrpool-white.svg new file mode 100644 index 00000000..f0d1a539 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/bwLehrpool-white.svg @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + version="1.1" + width="149.62437" + height="92.827499" + id="svg2985" + xml:space="preserve"><metadata + id="metadata2991"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs2989"><clipPath + id="clipPath3001"><path + d="M 0,8356.66 0,0 l 4518.7,0 0,8356.66 -4518.7,0 z" + id="path3003" /></clipPath></defs><g + transform="matrix(1.25,0,0,-1.25,-71.388125,593.675)" + id="g2993"><g + id="g3763"><path + d="m 107.979,438.637 -27.1091,0 0,11.032 21.5941,0 0,10.688 11.032,0 0,-16.204 c 0,-3.047 -2.469,-5.516 -5.517,-5.516" + id="path3065" + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 122.466,400.678 -10.537,0 0,25.76 c 0.127,2.954 2.557,5.284 5.513,5.284 l 59.368,0 0,-11.033 -54.08,0 -0.264,-20.011" + id="path3067" + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 104.061,409.795 -11.109,0 -0.109,10.894 -35.7325,0 0,11.033 41.434,0 c 1.4935,0 2.9235,-0.607 3.9645,-1.681 1.038,-1.074 1.597,-2.523 1.549,-4.018 l 0.003,-16.228" + id="path3069" + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 146.076,438.57 -20.455,0 c -3.046,0 -5.517,2.471 -5.517,5.518 l 0,30.852 11.033,0 0,-25.336 14.939,0 0,-11.034" + id="path3071" + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g></g></svg>
\ No newline at end of file diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/bwLehrpool.svg b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/bwLehrpool.svg new file mode 100644 index 00000000..8b6a2308 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/bwLehrpool.svg @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + version="1.1" + width="564.83734" + height="131.315" + id="svg2985" + xml:space="preserve"><metadata + id="metadata2991"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs2989"><clipPath + id="clipPath3001"><path + d="M 0,8356.66 0,0 l 4518.7,0 0,8356.66 -4518.7,0 z" + id="path3003" /></clipPath></defs><g + transform="matrix(1.25,0,0,-1.25,0,1044.5825)" + id="g2993"><g + id="g3598"><path + d="m 71.6785,784.102 -38.1996,0 0,15.545 30.4273,0 0,15.061 15.5458,0 0,-22.834 c 0,-4.294 -3.4786,-7.772 -7.7735,-7.772" + id="path3009" + style="fill:#f9a72b;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 92.0914,730.614 -14.8469,0 0,36.3 c 0.1778,4.161 3.6028,7.444 7.7688,7.444 l 83.6537,0 0,-15.546 -76.2041,0 -0.3715,-28.198" + id="path3011" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 66.1566,743.461 -15.6531,0 -0.1539,15.351 -50.3496,0 0,15.546 58.384,0 c 2.1047,0 4.1203,-0.854 5.5867,-2.369 1.4629,-1.513 2.25,-3.554 2.1816,-5.661 l 0.0043,-22.867" + id="path3013" + style="fill:#f9a72b;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 125.361,784.008 -28.8239,0 c -4.2922,0 -7.7742,3.481 -7.7742,7.775 l 0,43.473 15.5481,0 0,-35.7 21.05,0 0,-15.548" + id="path3015" + style="fill:#f9a72b;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 153.667,815.973 c -7.762,0 -10.206,-7.619 -10.206,-14.159 0,-6.756 1.94,-14.16 10.206,-14.16 7.691,0 10.207,7.404 10.207,14.16 0,6.756 -2.013,14.159 -10.207,14.159 z m -10.35,-32.2 -7.043,0 c 0.143,2.157 0.359,4.313 0.359,5.749 l 0,46.144 6.828,0 0,-20.699 0.144,0 c 2.084,4.312 6.612,5.965 11.213,5.965 11.212,0 16.244,-9.344 16.244,-19.118 0,-9.273 -4.313,-19.119 -15.022,-19.119 -5.248,0 -9.991,1.797 -12.435,6.827 l -0.144,0 0.144,-0.359 -0.288,-5.39" + id="path3017" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 233.448,819.854 -12.722,-36.081 -7.763,0 -8.409,29.684 -0.143,0 -9.344,-29.684 -7.979,0 -11.931,36.081 7.403,0 8.697,-29.038 0.144,0 8.985,29.038 8.84,0 8.122,-28.462 0.144,0 8.984,28.462 6.972,0" + id="path3019" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 239.055,783.773 0,51.893 4.6,0 0,-48.012 17.178,0 0,-3.881 -21.778,0" + id="path3021" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 286.346,804.473 c 0,8.05 -1.294,12.865 -8.193,12.865 -6.9,0 -8.195,-4.815 -8.195,-12.865 l 16.388,0 z m -16.388,-3.45 0,-2.803 c 0,-5.032 1.367,-11.715 8.195,-11.715 5.39,0 8.049,3.449 7.977,8.337 l 4.529,0 c -0.504,-8.769 -5.247,-11.788 -12.506,-11.788 -6.253,0 -12.507,2.516 -12.507,13.512 l 0,8.914 c 0,10.493 4.386,15.308 12.507,15.308 12.506,0 12.506,-8.984 12.506,-19.765 l -20.701,0" + id="path3023" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 298.493,783.773 0,51.893 4.312,0 0,-20.052 0.145,0 c 2.085,3.018 4.887,5.174 8.766,5.174 8.987,0 9.921,-6.683 9.921,-11.428 l 0,-25.587 -4.313,0 0,25.372 c 0,4.241 -1.654,8.193 -6.685,8.193 -3.882,0 -7.834,-2.658 -7.834,-10.78 l 0,-22.785 -4.312,0" + id="path3025" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 335.002,815.183 0.145,0 c 1.797,3.449 5.606,5.605 9.99,5.605 l 0,-4.383 c -6.109,0.502 -10.135,-3.163 -10.135,-9.273 l 0,-23.359 -4.312,0 0,36.297 4.312,0 0,-4.887" + id="path3027" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 354.842,798.723 c 0,-8.266 3.739,-12.218 7.691,-12.218 5.965,0 6.971,3.952 7.331,4.815 0.719,1.797 0.863,8.338 0.863,10.638 0,7.187 0,15.38 -7.689,15.38 -3.307,0 -8.196,-3.162 -8.196,-12.146 l 0,-6.469 z m -0.143,16.963 0.143,0.072 c 2.3,3.521 5.895,5.03 8.768,5.03 11.356,0 11.43,-9.918 11.43,-14.662 l 0,-8.122 c 0,-9.416 -3.236,-14.95 -12.507,-14.95 -2.66,0 -5.318,1.294 -7.547,4.744 l -0.144,0.073 0,-17.826 -4.312,0 0,50.025 4.169,0 0,-4.384" + id="path3029" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 401.2,791.32 c 0.718,1.797 0.863,8.338 0.863,10.638 0,10.708 -1.079,15.38 -8.195,15.38 -7.116,0 -8.195,-4.672 -8.195,-15.38 0,-2.3 0.145,-8.841 0.864,-10.638 0.359,-0.863 1.366,-4.815 7.331,-4.815 5.965,0 6.972,3.952 7.332,4.815 z m -19.839,6.684 0,8.625 c 0,4.6 0.071,14.159 12.507,14.159 12.435,0 12.507,-9.559 12.507,-14.159 l 0,-8.625 c 0,-9.416 -3.235,-14.95 -12.507,-14.95 -9.271,0 -12.507,5.534 -12.507,14.95" + id="path3031" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 433.113,791.32 c 0.718,1.797 0.862,8.338 0.862,10.638 0,10.708 -1.079,15.38 -8.194,15.38 -7.116,0 -8.195,-4.672 -8.195,-15.38 0,-2.3 0.145,-8.841 0.863,-10.638 0.359,-0.863 1.366,-4.815 7.332,-4.815 5.965,0 6.972,3.952 7.332,4.815 z m -19.839,6.684 0,8.625 c 0,4.6 0.071,14.159 12.507,14.159 12.434,0 12.506,-9.559 12.506,-14.159 l 0,-8.625 c 0,-9.416 -3.235,-14.95 -12.506,-14.95 -9.273,0 -12.507,5.534 -12.507,14.95" + id="path3033" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /><path + d="m 447.557,783.773 4.31289,0 0,51.893 -4.31289,0 0,-51.893 z" + id="path3035" + style="fill:#888687;fill-opacity:1;fill-rule:nonzero;stroke:none" /></g></g></svg>
\ No newline at end of file diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/enter.png b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/enter.png Binary files differnew file mode 100644 index 00000000..b646e851 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/enter.png diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/enter_inactive.png b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/enter_inactive.png Binary files differnew file mode 100644 index 00000000..e12cfb8e --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/enter_inactive.png diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/system.png b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/system.png Binary files differnew file mode 100644 index 00000000..4857b941 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/system.png diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/system_inactive.png b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/system_inactive.png Binary files differnew file mode 100644 index 00000000..28f0251f --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/system_inactive.png diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/theme.xml b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/theme.xml new file mode 100644 index 00000000..6aaac6b3 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/theme.xml @@ -0,0 +1,196 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE greeter SYSTEM "greeter.dtd"> +<!-- +KDM-OpenSLX-Theme +--> +<greeter id="theme"> + <style font="Sans 11" window-text-color="#f0f0f0" base-color="#f0f0f0" text-color="#000000"/> + <!-- background --> + <item type="rect" id="background" background="true"> + <normal color="#e3e4e9" alpha="1.0"/> + <pos x="0" y="0" width="100%" height="100%"/> + </item> + <!-- top / welcome, clock and big logo --> + <item type="rect" id="top" background="true"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="n" x="50%" y="0" width="100%" height="45%"/> + <box orientation="vertical" homogeneous="true"> + <item type="pixmap"> + <normal file="top-bar.png"/> + <pos anchor="n" x="50%" y="0" width="80%" height="50"/> + <box orientation="horizontal" homogeneous="true"> + <!-- Welcome on ... --> + <item type="label"> + <pos anchor="w" x="12%" y="11"/> + <normal color="#f0f0f0" font="Sans 11"/> + <stock type="welcome-label"/> + </item> + <!-- clock --> + <item type="label" id="clock"> + <pos anchor="e" x="88%" y="11"/> + <normal color="#f0f0f0" font="Sans 11"/> + <text>%c</text> + </item> + </box> + </item> + <item type="rect" id="logo"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="s" x="50%" y="50%" width="100%" height="100%"/> + <box orientation="vertical" homogeneous="true"> + <item type="pixmap" background="true"> + <normal file="bwLehrpool.svg" scalemode="fit"/> + <pos anchor="c" x="50%" y="50%" height="100%" width="100%"/> + </item> + </box> + </item> + </box> + </item> + <!-- main part / login, session, menu, ... --> + <item type="rect" id="main-runner" background="true"> + <normal color="#757575" alpha="1.0"/> + <pos anchor="c" x="50%" y="50%" width="100%" height="160"/> + <box orientation="horizontal" homogeneous="true"> + <item type="rect" background="true"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="w" x="0%" y="50%" width="100%" height="100%"/> + <box orientation="horizontal" homogeneous="true"> + <!-- left part / login --> + <item type="rect" background="true"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="w" x="0" y="50%" width="100%" height="100%"/> + <box orientation="horizontal"> + <!-- small logo --> + <item type="pixmap"> + <normal file="bwLehrpool-white.svg" scalemode="fit"/> + <pos anchor="w" x="20" y="50%" width="80" height="100%"/> + </item> + <!-- login --> + <item type="rect"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="w" x="40" y="50%" width="box" height="box"/> + <box orientation="horizontal" spacing="10"> + <item type="rect"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="sw" x="0" y="100%" width="box" height="100%"/> + <box homogeneous="true" spacing="10"> + <!-- username-label --> + <item type="label"> + <pos anchor="nw" x="0" y="0"/> + <normal color="#f0f0f0" font="Sans 11"/> + <stock type="username-label"/> + </item> + <!-- password-label --> + <item type="label"> + <pos anchor="sw" x="0" y="-0"/> + <normal color="#f0f0f0" font="Sans 11"/> + <stock type="password-label"/> + </item> + </box> + </item> + <item type="rect"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="nw" x="0" y="0" width="box" height="box"/> + <box homogeneous="true" spacing="10"> + <!-- username-entry --> + <item type="entry" id="user-entry"> + <pos anchor="w" x="0" y="50%" height="20" width="200"/> + </item> + <!-- password-entry --> + <item type="entry" id="pw-entry"> + <pos anchor="w" x="0" y="50%" height="20" width="200"/> + </item> + </box> + </item> + <item type="pixmap" button="true" id="login_button"> + <pos anchor="sw" x="0" y="-0" height="20" width="20"/> + <normal file="enter_inactive.png"/> + <prelight file="enter.png"/> + </item> + </box> + </item> + </box> + </item> + <!-- middle part / errors, caps info, kdm logo --> + <item type="rect"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="c" x="50%" y="50%" width="90%" height="100%"/> + <box orientation="vertical"> + <!-- Login-Error --> + <item type="rect"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="n" x="50%" y="10" width="100%" height="30"/> + <box> + <item type="label" id="pam-error"> + <normal color="#ff8b00" font="Sans 11"/> + <pos anchor="c" x="50%" y="15"/> + <text/> + </item> + </box> + </item> + <!-- capslock-warning --> + <item type="rect" id="caps-lock-warning"> + <normal color="#000000" alpha="0.4"/> + <pos anchor="s" x="50%" y="-10" width="100%" height="30"/> + <box> + <item type="label"> + <normal color="#ff8b00" font="Sans 11"/> + <pos anchor="c" x="50%" y="15"/> + <stock type="caps-lock-warning"/> + </item> + </box> + </item> + </box> + </item> + <!-- right part / sessions, menu --> + <item type="rect"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="e" x="100%" y="50%" width="100%" height="50%"/> + <box orientation="vertical" homogeneous="true" spacing="10"> + <!-- menu-button --> + <item type="rect" id="system_button" button="true"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="e" x="90%" y="50%" width="box" height="box"/> + <box orientation="horizontal"> + <item type="label"> + <normal color="#bbbbbb" font="Sans 11"/> + <prelight color="#f0f0f0" font="Sans 11"/> + <active color="#ff8b00" font="Sans 11"/> + <pos anchor="e" x="100%" y="24"/> + <stock type="system"/> + </item> + <item type="rect" id="system_button" button="true"> + <normal color="#000000" alpha="0.0"/> + <pos anchor="c" x="50%" y="50%" width="10"/> + </item> + <item type="pixmap" id="system_button" button="true"> + <normal file="system_inactive.png"/> + <prelight file="system.png"/> + <pos anchor="ne" x="100%" y="0%"/> + </item> + </box> + </item> + </box> + </item> + </box> + </item> + </box> + </item> + <!-- dynamic info --> + <item type="rect"> + <pos anchor="s" x="50%" y="100%" width="66%" height="30%"/> + <box> + <!-- INFO_START_MARKER --> + <!-- INFO_END_MARKER --> + </box> + </item> + <!-- Icon/Logo of Uni --> + <item type="pixmap" id="branding_logo" button="false"> + <normal file="/etc/branding.svg" scalemode="fit"/> + <pos anchor="sw" x="1%" y="99%" width="13%" height="13%"/> + </item> + <!-- Icon/Logo of Base Distro --> + <item type="pixmap" id="distro_logo" button="false"> + <normal file="/etc/distro.png" alpha="0.8"/> + <pos anchor="se" x="99%" y="99%"/> + </item> +</greeter> diff --git a/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/top-bar.png b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/top-bar.png Binary files differnew file mode 100644 index 00000000..0c89dbef --- /dev/null +++ b/core/modules/kdm-theme-bwlp/data/usr/share/desktop/themes/kdm/bwlehrpool/top-bar.png diff --git a/core/modules/kdm-theme-bwlp/module.build b/core/modules/kdm-theme-bwlp/module.build new file mode 100644 index 00000000..ccb7c4e1 --- /dev/null +++ b/core/modules/kdm-theme-bwlp/module.build @@ -0,0 +1,13 @@ + +fetch_source () { + : +} + +build () { + : +} + +post_copy() { + : +} + diff --git a/core/modules/kdm-theme-bwlp/module.conf b/core/modules/kdm-theme-bwlp/module.conf new file mode 100644 index 00000000..04a7b61d --- /dev/null +++ b/core/modules/kdm-theme-bwlp/module.conf @@ -0,0 +1,2 @@ +REQUIRED_MODULES="kdm" + |