Page 1 of 1

Changeing the MDM login screen

Posted: Sat Aug 25, 2012 3:02 pm
by mintman112
Does anybody have a simple solution to this? ive tried all the guides on the mint forums re changeing the name of the gdm file etc all to no joy.
please can somebody help?
Are there any mdm ready logins available anywhere?.

Re: Changeing the MDM login screen

Posted: Sun Aug 26, 2012 1:01 pm
by mintman112
Ok does anybody have a step by step guide they know definetly works that they can post on here?

Re: Changeing the MDM login screen

Posted: Sun Aug 26, 2012 8:23 pm
by caribriz
This is to convert a GDM theme - this worked for me but ymmv

Download a GDM login theme to Downloads folder.
I chose this simple one for an example: http://gnome-look.org/content/show.php/ ... ent=105866

Open Downloads folder > right-click on tar.gz file > Open with Archive Manager
Your theme folder appears > Right-click folder > Open

Right-click "GdmGreeterTheme.desktop" (desktop configuration file) > open with Gedit
Change the text [GdmGreeterTheme] to [MdmGreeterTheme] and save file, click update if asked, close gedit

In Archive Manager Window list, again right-click "GdmGreeterTheme.desktop", rename it "MdmGreeterTheme.desktop".
Close Archive Manager.

Go to MintMenu > Administration > Login Window (or xfce Menu > System > Login Window), password required
Click Local tab
Click Add
Navigate through Filesystem to /home/username/Downloads
Click on the tar.gz file > click install
It should appear in the Login Window Preferences > Local list ...
Click its radio button to choose it.
Close

Logout/in

I checked the "Show Actions" box, and also changed the Welcome Message at the bottom to "Custom" as the default on my chosen theme was
"Welcome to Ubuntu" :wink:

Hope it works
caribriz

Re: [SOLVED]Changeing the MDM login screen

Posted: Mon Aug 27, 2012 6:34 am
by mintman112
Sometimes i dont know what i would do without you caribriz lol :D many thanks works perfect

Re: Changeing the MDM login screen

Posted: Mon Aug 27, 2012 7:41 am
by caribriz
:lol:
glad to lend a hand .....
caribriz

Re: Changeing the MDM login screen

Posted: Wed Aug 29, 2012 10:26 am
by DeanoUk
This way also worked for me Thank you :D

Re: Changeing the MDM login screen

Posted: Mon Apr 22, 2013 10:45 am
by FlyteUK
Here you go! :D

This script should create a new package with mdm- prepended to the filename containing the above changes.

Call it as follows:

Code: Select all

./convert.sh 105866-Raindrops.tar.gz

Code: Select all

#!/bin/bash
# convert.sh
set -e

pkg="$1"

echo -n "Fetching directory name..."
dir=`tar ztf $pkg |head -n 1`
echo "DONE"

echo -n "Extracting the package..."
tar zxf $pkg
echo "DONE"

cd $dir

echo -n "Replacing Gdm text with Mdm..."
sed -i s/GdmGreeterTheme/MdmGreeterTheme/g GdmGreeterTheme.desktop
echo "DONE"

echo -n "Renaming .desktop file..."
mv GdmGreeterTheme.desktop MdmGreeterTheme.desktop
echo "DONE"

cd ..

echo -n "Making new package..."
tar zcf "mdm-$1" $dir
echo "DONE"

echo -n "Removing working directory..."
rm -rf $dir
echo "DONE"

echo "Package converted successfully."

Re: Changeing the MDM login screen

Posted: Mon Apr 22, 2013 11:52 pm
by FlyteUK
Well that serves me right for dragging up an old thread and not trying it out first.. I don't actually need to convert the GDM theme to MDM on Cinnamon (LM14) :)