summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm8
-rwxr-xr-xos-plugins/plugins/desktop/themes/kdm/openslx/GdmGreeterTheme.desktop8
-rwxr-xr-xos-plugins/plugins/desktop/themes/kdm/openslx/KdmGreeterTheme.desktop8
3 files changed, 20 insertions, 4 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm b/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm
index a37b42f9..a85329f7 100644
--- a/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm
+++ b/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm
@@ -154,7 +154,7 @@ sub setupGDMScript
if [ -n "\$desktop_theme" ]; then
thdir=/opt/openslx/plugin-repo/desktop/themes/gdm
theme=\$desktop_theme
- if [ -e /mnt\$thdir/\$theme/theme.xml ]; then
+ if [ -e /mnt\$thdir/\$theme/*.xml ]; then
sed -i "s,\\[greeter\\],[greeter]\\nGraphicalThemeDir=\$thdir," \\
/mnt$configFile
sed -i "s,\\[greeter\\],[greeter]\\nGraphicalTheme=\$theme," \\
@@ -316,9 +316,9 @@ sub setupKDMScript
# (otherwise fall back to default theme of vendor-OS)
if [ -n "\$desktop_theme" ]; then
theme=\$desktop_theme
- thfile=/opt/openslx/plugin-repo/desktop/themes/kdm/\$theme/theme.xml
- if [ -e /mnt\$thfile ]; then
- sed -i "s,\\[X-\\*-Greeter\\],[X-*-Greeter]\\nTheme=\$thfile," \\
+ thdir=/opt/openslx/plugin-repo/desktop/themes/kdm/\$theme
+ if [ -e /mnt\$thdir/*.xml ]; then
+ sed -i "s,\\[X-\\*-Greeter\\],[X-*-Greeter]\\nTheme=\$thdir," \\
/mnt$configFile
sed -i "s,\\[X-\\*-Greeter\\],[X-*-Greeter]\\nUseTheme=true," \\
/mnt$configFile
diff --git a/os-plugins/plugins/desktop/themes/kdm/openslx/GdmGreeterTheme.desktop b/os-plugins/plugins/desktop/themes/kdm/openslx/GdmGreeterTheme.desktop
new file mode 100755
index 00000000..da63ec08
--- /dev/null
+++ b/os-plugins/plugins/desktop/themes/kdm/openslx/GdmGreeterTheme.desktop
@@ -0,0 +1,8 @@
+[GdmGreeterTheme]
+Encoding=UTF-8
+Greeter=theme.xml
+Name=OpenSLX KDM theme
+Description=KDM Port of Daemonic KDM theme for FreeBSD
+Author=MJanc / KDM by aceph <aceph@ventcore.net>
+Copyright=Creative Commons
+Screenshot=screenshot.png
diff --git a/os-plugins/plugins/desktop/themes/kdm/openslx/KdmGreeterTheme.desktop b/os-plugins/plugins/desktop/themes/kdm/openslx/KdmGreeterTheme.desktop
new file mode 100755
index 00000000..da63ec08
--- /dev/null
+++ b/os-plugins/plugins/desktop/themes/kdm/openslx/KdmGreeterTheme.desktop
@@ -0,0 +1,8 @@
+[GdmGreeterTheme]
+Encoding=UTF-8
+Greeter=theme.xml
+Name=OpenSLX KDM theme
+Description=KDM Port of Daemonic KDM theme for FreeBSD
+Author=MJanc / KDM by aceph <aceph@ventcore.net>
+Copyright=Creative Commons
+Screenshot=screenshot.png