Make MDM themes

sujitnag
  11 years ago
  6

 

Make your MDM theme

overview-        1) copy exsisting theme  2)rename it   3)modify bg.png and screen.jpg 4) rename .xml file, 5) modify .desktop file 6) compress folder 7) install it 8) logoff to see the effect.            

1) Make a directory / folder under Home:    $ mkdir mdmtheme

2)Goto the location /usr/share/mdm/themes and  copy Arc-Noble  

      (note: you can copy any one)

3)past under youmdmtheme folder

4) Rename the Arc-Noble as my-theme

5) open my-theme (you will see few image file , one xml and a .desktop file)

6) you delete bg.png and screen.jpg

7)

       a) past your image under this dir,

      b) open it with a image ediror.

       c) save as it as bg.png  and screen.jpg

8)OPEN screen.jpg , main_box.png, text.png with GIMP  [you may skip]

9) main_box.png, text.png use tool to copy and past on screen.jpg  and save screen.jpg  only. [you may skip]

(you can modify other image also)

10) Now rename Arc-GDM.xml as my-GDM.xml.

11) open GdmGreeterTheme.desktop 

             a) open gedit / other editor 

             b) then open GdmGreeterTheme.desktop

              (Or  $ gedit GdmGreeterTheme.desktop)

 

                     GdmGreeterTheme.desktop

[GdmGreeterTheme]

Encoding=UTF-8
Greeter=Arc-GDM.xml
Name=Arc-Noble
Description=Smooth looking login screen
Author=perfectska04, Daniel Fore.
Copyright=GPL
Screenshot=screen.jpg
 
  Now change it                        

 

Greeter=Arc-GDM.xml
Name=Arc-Noble
Description=Smooth looking login screen
Author=perfectska04, Daniel Fore.
Copyright=GPL
Screenshot=screen.jpg

[GdmGreeterTheme]

Encoding=UTF-8
Greeter=my-GDM.xml
Name=my-theme
Description=Smooth looking login screen
Author=your name.
Copyright=GPL
Screenshot=screen.jpg
 
              c) then Save  
 
               (don't use save As and after save check the file type .desktop only not .desktop.desktop)
 
12) compress my-theme folder as my-theme.tar.gz 
 
(right click on folder then select compress from manu)
 
13) Install theme
 
        a) open terminal and copy past
 
            $ sudo mdmsetup
            (enter root password)
            (alt:-   menu   -> preference  -> login window)
 
        b)select local-> add -> file system-> home -> user name 
             (select the path where my-theme.tar.gz locate )
 
       c) select  my-theme.tar.gz  and click install
 
Image Hosted by PicturePush
 
14) Now you will see my -theme in the list below you select it.
15)see effect logoff your system.
 
 
                                                                                                                     thanks
Comments
SiddhArta 9 years ago

Thx sujitnag !!! Very good tutorial , was helpfull

... and of course ... promoted ^^^


jahid_0903014 10 years ago

nice tutorial


AshBaby 11 years ago

Good tutorial Sujit..promoted


Hammer459 11 years ago

Nice and crisp


sujitnag 11 years ago

@PiGeek
thanks to point my mistake (typing mistake). I made it correct.
I made two themes and it work perfectly.
I try to explain common error also.


PiGeek 11 years ago

I would check your spelling more thoroughly(such as "past unde your mdmtheme folder" should be under, I think).
Though even I am terrible at it, I would try to clarify and elaborate a bit more.