Replace Login Screen Background in Leopard

FHKE has posted an image on Flickr showing his customized Leopard login. To accomplish this, simply replace /System/Library/CoreServices/DefaultDesktop.jpg.

1783114316 749309D2D6



Don’t worry Tiger users, to accomplish this same thing you have to edit the following file: /Library/Preferences/com.apple.loginwindow

Open Terminal and type sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture '/Path/To/Picture.jpg'. Enter your password, log out and you should see the changes.

Technorati Tags: , ,

Similar Posts:

I Like This Tip!


18 Responses to “Replace Login Screen Background in Leopard”

  1. 4Avatars
    Berg527
    I am using Tiger and I can't seem to make this work. Is there anything else I need to know. I had help from a friend he knows HTML pretty good but we couldn't make this work. If someone knowns more in depth information about this please post another comment. Thanks

  2. First of all, you'll want to launch the Terminal application, located in the Utilities folder of the Applications folder. Then, enter the command "sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture '/Path/To/Picture.jpg'".

    What yo might have misunderstood is the part that says '/Path/To/Picture.jpg'. You do not actually type that in, but instead replace it with the path for where the picture you want to use is located. For example, '/System/Library/NewDesktop/'.

  3. 4Avatars
    Berg527
    I typed in the sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture/ and added the path to the picture then I entered my password and it came up with a new command that said logout and below that [Process Complete] so I logged out and the picture didn't show up. Is there something I am doing wrong? I got the path from getting the info of the picture and so I copied the path and put it in where it belongs. I don't know why its not working. I am sure I am doing something wrong. Do I have to restart my computer?

  4. @Berg527, Let's try this another way:

    Open terminal and type: sudo /Developer/Applications/Utilities/Property\ List\ Editor.app/Contents/MacOS/Property\ List\ Editor

    This opens the Property List Editor as root, allowing you to make the necessary changes to the file.

    Open /Library/Preferences/com.apple.loginwindow and make the necessary changes to DesktopPicture.

    Save and log out--it should be working now.

  5. 4Avatars
    Deuz Augustine
    I did this in Tiger and now my login screen is a plain blue. :(

  6. @Deuz, I think that's because it can't find the image. Make sure the path is correct.

  7. 4Avatars
    Deuz Augustine
    It appears to be correct to me. /Users/GacktBook/Pictures/space-desktop.png

    :S

  8. 4Avatars
    myc
    When I type the command it comes up with this
    Rep argument is not a dictionary
    Defaults have not been changed.

  9. 4Avatars
    ruth
    I got the same thing as deus up there. I did it in leopard and now I have a blue screen at log in im typing
    sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture '/Users/Ruthie/Desktop/Art/portfolio/Sketchbook Cover 2007.jpg'

    what im i doing wrong? argh!!!!!!

  10. Ruth, I think it may have to do with the spaces in your image. Try removing the spaces or the following command:

    sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture '/Users/Ruthie/Desktop/Art/portfolio/Sketchbook\ Cover\ 2007.jpg'

  11. 4Avatars
    ruth
    i copied and pasted and nothing.
    sketchbook cover 2007 has no spaces on the path name.
    i still get the blue screen
    I even wrote sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture '/Users/Ruthie/Desktop/Art/portfolio/SketchbookCover2007.jpg' nothing I think I am giving up. How do I make it the default stupid aurora leopard crap again? and is there any way I can change the login background the same way II did to my apple logo change, through finding the resources folder in finder?

  12. Ruth,

    When you tried it without spaces did you rename the file?

    Let's try it a way I suggested to another user.

    Open terminal and type: sudo /Developer/Applications/Utilities/Property\ List\ Editor.app/Contents/MacOS/Property\ List\ Editor

    This opens the Property List Editor as root, allowing you to make the necessary changes to the file.

    Open /Library/Preferences/com.apple.loginwindow and make the necessary changes to DesktopPicture.

    Save and log out--it should be working now.

  13. 4Avatars
    ruth
    ruthscomputer:~ Ruthie$ sudo /Developer/Applications/Utilities/Property\ List\ Editor.app/Contents/MacOS/Property\ List\ Editor
    sudo: /Developer/Applications/Utilities/Property List Editor.app/Contents/MacOS/Property List Editor: command not found

    nope

  14. Ruth,

    I'm sorry--I didn't read carefully enough that you were using Leopard. I was at work and only able to glance at it for a few seconds.

    To accomplish this with Leopard you only need to replace /System/Library/CoreServices/DefaultDesktop.jpg with the image you want.

    That should do it for you.

    - Brad

  15. 4Avatars
    ruth
    thank you very much
    bye bye terminal
    Im off to promote your site.
    thanks for your patience!
    yay!

    All I found the folder and replaced the picture it was great!
    thanks

  16. Ruth, glad to hear it worked out for you :)

  17. 4Avatars
    Fred
    The defaults write command works in Leopard, too, but it seems the image can't be in the /Users hierarchy. I got it to work by putting the image in the root of the hard drive.

  18. 4Avatars
    James
    This is really awesome, just had to make sure my image was a .jpg or it wouldn't work.

    Would be ace to see if you can edit the login window as well?

Post a comment to "Replace Login Screen Background in Leopard"



MacTips Newsletter


Twitter MacTips

  • Stay up to date with the latest Mac tips, tricks and news by following us on twitter: MacintoshTips.

AppleGazette Headlines

Most Popular Tips (30 Days)

Most Commented (30 Days)

Good Tips

Recent Discussions

MacTips Poll

What level of tips would you like to see?

View Results

Loading ... Loading ...

Friends of MacTips

Subscribe to MacTips

Site Links